[bt-devel] trouble with ./configure on Linux Mandrake 8.2

Steven bt-devel@crosswire.org
Mon, 20 May 2002 14:05:21 -0700


On Monday 20 May 2002 13:01, Martin Gruner wrote:
> Stephen,
>
> please post your config.log file.
>
> Martin

Martin, thank you very much for taking the moment to ask. Your request 
prompted me to attempt and see what I could learn from this file too. For 
your reference it appears that the problem is centered around these lines in 
particular:

...
configure:2168: gcc -V </dev/null >&5
gcc: argument to `-V' is missing
configure:2171: $? = 1
configure:2197: checking for C compiler default output
configure:2200: gcc    conftest.c  >&5
gcc: installation problem, cannot exec `cpp0': No such file or directory
...

For complete reference though, here is my config.log file:
(NOTE: Thank you again to all who have taken the time to read and or lend a 
hand with this issue. Best regards to all of you. Steven)

--------------------------------------
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by sword configure 1.5.3, which was
generated by GNU Autoconf 2.53.  Invocation command line was

  $ ./configure --prefix=/usr --enable-debug --disable-shared --without-conf 
--sysconfdir=/etc

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

hostname = poretz
uname -m = i686
uname -r = 2.4.18-6mdk
uname -s = Linux
uname -v = #1 Fri Mar 15 02:59:08 CET 2002

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

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

PATH: /sbin
PATH: /usr/sbin
PATH: /bin
PATH: /usr/bin
PATH: /usr/X11R6/bin
PATH: /usr/local/bin
PATH: /usr/local/sbin


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

configure:1434: checking build system type
configure:1452: result: i686-pc-linux-gnu
configure:1460: checking host system type
configure:1474: result: i686-pc-linux-gnu
configure:1482: checking target system type
configure:1496: result: i686-pc-linux-gnu
configure:1522: checking for a BSD-compatible install
configure:1576: result: /usr/bin/install -c
configure:1587: checking whether build environment is sane
configure:1630: result: yes
configure:1664: checking for gawk
configure:1680: found /bin/gawk
configure:1690: result: gawk
configure:1700: checking whether make sets ${MAKE}
configure:1720: result: yes
configure:1885: checking for gcc
configure:1901: found /usr/bin/gcc
configure:1911: result: gcc
configure:2155: checking for C compiler version
configure:2158: gcc --version </dev/null >&5
2.96
configure:2161: $? = 0
configure:2163: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/specs
gcc version 2.96 20000731 (Mandrake Linux 8.2 2.96-0.76mdk)
configure:2166: $? = 0
configure:2168: gcc -V </dev/null >&5
gcc: argument to `-V' is missing
configure:2171: $? = 1
configure:2197: checking for C compiler default output
configure:2200: gcc    conftest.c  >&5
gcc: installation problem, cannot exec `cpp0': No such file or directory
configure:2203: $? = 1
configure: failed program was:
#line 2174 "configure"
#include "confdefs.h"

#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{

  ;
  return 0;
}
configure:2230: error: C compiler cannot create executables

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

ac_cv_build=i686-pc-linux-gnu
ac_cv_build_alias=i686-pc-linux-gnu
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_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_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-gnu
ac_cv_host_alias=i686-pc-linux-gnu
ac_cv_path_install=$'/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes
ac_cv_target=i686-pc-linux-gnu
ac_cv_target_alias=i686-pc-linux-gnu
lt_cv_sys_path_separator=:

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

#define PACKAGE_NAME "sword"
#define PACKAGE_TARNAME "sword"
#define PACKAGE_VERSION "1.5.3"
#define PACKAGE_STRING "sword 1.5.3"
#define PACKAGE_BUGREPORT "sword-bugs@crosswire.org"
#define PACKAGE "sword"
#define VERSION "1.5.3"

configure: exit 77