[conspire] Building grub-1.95

John Andrews jla1200 at netzero.net
Thu Nov 15 10:54:33 PST 2007


	Why didn't grub-1.95 build in the following instance?
I see in the config.log that the failed program  was   /*confdefs.h*/.
What does that indicate?


jla at Home:~/grub-1.95/grub-1.95$ ./configure
checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
checking target system type... i686-pc-linux-gnulibc1
checking for cmp... cmp
checking for bison... bison
checking for a BSD-compatible install... /usr/bin/install -c
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for ruby... /usr/bin/ruby
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C 
compiler cannot create executables
See `config.log' for more details.
jla at Home:~/grub-1.95/grub-1.95$ cat conf.log
cat: conf.log: No such file or directory
jla at Home:~/grub-1.95/grub-1.95$ cat config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by GRUB configure 1.95, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure

## --------- ##
## Platform. ##
## --------- ##

hostname = Home
uname -m = i686
uname -r = 2.6.22-14-generic
uname -s = Linux
uname -v = #1 SMP Sun Oct 14 23:05:12 GMT 2007

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1356: checking build system type
configure:1374: result: i686-pc-linux-gnulibc1
configure:1382: checking host system type
configure:1396: result: i686-pc-linux-gnulibc1
configure:1404: checking target system type
configure:1418: result: i686-pc-linux-gnulibc1
configure:1495: checking for cmp
configure:1511: found /usr/bin/cmp
configure:1521: result: cmp
configure:1541: checking for bison
configure:1557: found /usr/bin/bison
configure:1567: result: bison
configure:1596: checking for a BSD-compatible install
configure:1651: result: /usr/bin/install -c
configure:1666: checking for gawk
configure:1695: result: no
configure:1666: checking for mawk
configure:1682: found /usr/bin/mawk
configure:1692: result: mawk
configure:1702: checking whether make sets $(MAKE)
configure:1722: result: yes
configure:1735: checking for ruby
configure:1753: found /usr/bin/ruby
configure:1765: result: /usr/bin/ruby
configure:1823: checking for gcc
configure:1839: found /usr/bin/gcc
configure:1849: result: gcc
configure:2093: checking for C compiler version
configure:2096: gcc --version </dev/null >&5
gcc (GCC) 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2099: $? = 0
configure:2101: gcc -v </dev/null >&5
Using built-in specs.
Target: i486-linux-gnu
Configured 
with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.1.3 --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-checking=release 
i486-linux-gnu
Thread model: posix
gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
configure:2104: $? = 0
configure:2106: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:2109: $? = 1
configure:2132: checking for C compiler default output file name
configure:2135: gcc    conftest.c  >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:2138: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "GRUB"
| #define PACKAGE_TARNAME "grub"
| #define PACKAGE_VERSION "1.95"
| #define PACKAGE_STRING "GRUB 1.95"
| #define PACKAGE_BUGREPORT "bug-grub at gnu.org"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2177: error: C compiler cannot create executables
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i686-pc-linux-gnulibc1
ac_cv_build_alias=i686-pc-linux-gnulibc1
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=i686-pc-linux-gnulibc1
ac_cv_host_alias=i686-pc-linux-gnulibc1
ac_cv_path_RUBY=/usr/bin/ruby
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=mawk
ac_cv_prog_CMP=cmp
ac_cv_prog_YACC=bison
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes
ac_cv_target=i686-pc-linux-gnulibc1
ac_cv_target_alias=i686-pc-linux-gnulibc1

## ----------------- ##
## Output variables. ##
## ----------------- ##

AWK='mawk'
CC='gcc'
CFLAGS=''
CMP='cmp'
CPP=''
CPPFLAGS=''
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
LDFLAGS=''
LIBCURSES=''
LIBLZO=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
NM=''
OBJCOPY=''
OBJEXT=''
PACKAGE_BUGREPORT='bug-grub at gnu.org'
PACKAGE_NAME='GRUB'
PACKAGE_STRING='GRUB 1.95'
PACKAGE_TARNAME='grub'
PACKAGE_VERSION='1.95'
PATH_SEPARATOR=':'
RUBY='/usr/bin/ruby'
SET_MAKE=''
SHELL='/bin/bash'
STRIP=''
TARGET_CC=''
TARGET_CFLAGS=''
TARGET_CPPFLAGS=''
TARGET_LDFLAGS=''
YACC='bison'
ac_ct_CC='gcc'
ac_ct_NM=''
ac_ct_OBJCOPY=''
ac_ct_STRIP=''
ac_ct_TARGET_CC=''
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnulibc1'
build_alias=''
build_cpu='i686'
build_os='linux-gnulibc1'
build_vendor='pc'
datadir='${prefix}/share'
exec_prefix='NONE'
host='i686-pc-linux-gnulibc1'
host_alias=''
host_cpu='i686'
host_os='linux-gnulibc1'
host_vendor='pc'
includedir='${prefix}/include'
infodir='${prefix}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
platform='pc'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='i686-pc-linux-gnulibc1'
target_alias=''
target_cpu='i386'
target_os='linux-gnulibc1'
target_vendor='pc'

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_BUGREPORT "bug-grub at gnu.org"
#define PACKAGE_NAME "GRUB"
#define PACKAGE_STRING "GRUB 1.95"
#define PACKAGE_TARNAME "grub"
#define PACKAGE_VERSION "1.95"

configure: exit 77
jla at Home:~/grub-1.95/grub-1.95$




More information about the conspire mailing list