Hello:
I am trying to install courier-authlib-0.56 and when I run the ./configure command (as per the INSTALL file), I receive the following:
Code:
[root@strimpglobal courier-authlib-0.56]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gawk... (cached) gawk
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.
This also happened when I tried to install expect, only the error was something along the lines of:
Checking if gcc works... no
The config.log file is as follows:
code:This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by courier-authlib configure 0.56, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = strimpglobal
uname -m = i686
uname -r = 2.6.10-1.771_FC2
uname -s = Linux
uname -v = #1 Mon Mar 28 00:50:14 EST 2005
/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: /usr/kerberos/sbin
PATH: /usr/kerberos/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/X11R6/bin
PATH: /root/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1591: checking for a BSD-compatible install
configure:1646: result: /usr/bin/install -c
configure:1657: checking whether build environment is sane
configure:1700: result: yes
configure:1757: checking for gawk
configure:1773: found /bin/gawk
configure:1783: result: gawk
configure:1793: checking whether make sets $(MAKE)
configure:1813: result: yes
configure:1985: checking for gawk
configure:2011: result: gawk
configure:2067: checking for gcc
configure:2083: found /usr/bin/gcc
configure:2093: result: gcc
configure:2337: checking for C compiler version
configure:2340: gcc --version </dev/null >&5
gcc (GCC) 3.3.3 20040412 (Red Hat Linux 3.3.3-7)
Copyright (C) 2003 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:2343: $? = 0
configure:2345: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --disable-libunwind-exceptions --with-system-zlib --enable-__cxa_atexit --host=i386-redhat-linux
Thread model: posix
gcc version 3.3.3 20040412 (Red Hat Linux 3.3.3-7)
configure:2348: $? = 0
configure:2350: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:2353: $? = 1
configure:2376: checking for C compiler default output file name
configure:2379: gcc conftest.c >&5
/usr/local/bin/ld: unrecognized option `--eh-frame-hdr'
/usr/local/bin/ld: use the --help option for usage information
collect2: ld returned 1 exit status
configure:2382: $? = 1
configure: failed program was:
| /* confdefs.h. */
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2421: error: C compiler cannot create executables
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
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_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_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_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_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
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /usr/local/src/mailserver/courier/courier-authlib-0.56/missing --run aclocal-1.8'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /usr/local/src/mailserver/courier/courier-authlib-0.56/missing --run tar'
AR=''
AUTHPAMCRYPT=''
AUTOCONF='${SHELL} /usr/local/src/mailserver/courier/courier-authlib-0.56/missing --run autoconf'
AUTOHEADER='${SHELL} /usr/local/src/mailserver/courier/courier-authlib-0.56/missing --run autoheader'
AUTOMAKE='${SHELL} /usr/local/src/mailserver/courier/courier-authlib-0.56/missing --run automake-1.8'
AWK='gawk'
CC='gcc'
CCDEPMODE=''
CFLAGS=''
COURIERCONFIG=''
CPP=''
CPPFLAGS=''
CRYPTLIBS=''
CXX=''
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
DBSUBDIR=''
DEFS=''
DEPDIR=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
EXPECT=''
F77=''
FFLAGS=''
HAVE_AUTHMYSQL_FALSE=''
HAVE_AUTHMYSQL_TRUE=''
HAVE_AUTHPGSQL_FALSE=''
HAVE_AUTHPGSQL_TRUE=''
HAVE_CUSTOM_FALSE=''
HAVE_CUSTOM_TRUE=''
HAVE_HMACLIB_FALSE=''
HAVE_HMACLIB_TRUE=''
HAVE_LDAP_FALSE=''
HAVE_LDAP_TRUE=''
HAVE_MD5_FALSE=''
HAVE_MD5_TRUE=''
HAVE_PIPE_FALSE=''
HAVE_PIPE_TRUE=''
HAVE_SGML_FALSE=''
HAVE_SGML_TRUE=''
HAVE_SHA1_FALSE=''
HAVE_SHA1_TRUE=''
HMACLIB=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LDAPLIBS=''
LDFLAGS=''
LIBAUTHCUSTOM=''
LIBAUTHLDAP=''
LIBAUTHMYSQL=''
LIBAUTHPAM=''
LIBAUTHPGSQL=''
LIBAUTHPIPE=''
LIBAUTHPWD=''
LIBAUTHSHADOW=''
LIBAUTHUSERDB=''
LIBAUTHVCHKPW=''
LIBDB=''
LIBDL=''
LIBGDBM=''
LIBLTDL=''
LIBM=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LN_S=''
LTDLINCL=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /usr/local/src/mailserver/courier/courier-authlib-0.56/missing --run makeinfo'
MD5LIB=''
MYSQL_CONFIG=''
MYSQL_LIBS=''
NETLIBS=''
NOWHOLEARCHIVE=''
OBJEXT=''
PACKAGE='courier-authlib'
PACKAGE_BUGREPORT='courier-users@lists.sourceforge.net'
PACKAGE_NAME='courier-authlib'
PACKAGE_STRING='courier-authlib 0.56'
PACKAGE_TARNAME='courier-authlib'
PACKAGE_VERSION='0.56'
PASSWD=''
PATH_SEPARATOR=':'
PERL=''
PGSQL_LIBS=''
PG_CONFIG=''
RANLIB=''
SET_MAKE=''
SHA1LIB=''
SHADOWLIBS=''
SHELL='/bin/sh'
STRIP=''
SYSCONFTOOL=''
SYSCONFTOOL_PERL=''
USE_DB=''
USE_GDBM=''
VERSION='0.56'
VPOPMAILLIBS=''
WHOLEARCHIVE=''
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_F77=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include=''
am__leading_dot='.'
am__quote=''
authProg=''
authdaemonrc=''
authdaemonvar=''
authldaprc=''
authmysqlrc=''
authpgsqlrc=''
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${prefix}/share'
dblibrary=''
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_F77=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include=''
am__leading_dot='.'
am__quote=''
authProg=''
authdaemonrc=''
authdaemonvar=''
authldaprc=''
authmysqlrc=''
authpgsqlrc=''
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${prefix}/share'
dblibrary=''
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/usr/local/src/mailserver/courier/courier-authlib-0.56/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mailgroup=''
mailuser=''
mandir='${prefix}/man'
mkdir_p='mkdir -p -- .'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
shdblibrary=''
subdirs=''
sysconfdir='${prefix}/etc'
target_alias=''
userdb=''
vpopmail_home=''
configure: exit 77
I have reinstalled gcc with hopes of forcing some sense into the situation with no avail. I would appreciate any insight into this issue. Thank you.