cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Reliving an old compile problem

From: <paul.rockey_at_abbott.com>
Date: Wed, 5 Nov 2003 08:29:39 -0600

I ran in to a similar problem.. Upgrade your version of gcc to 3.x. and
the problem should go away. You might want to also put in the 2.4x kernel.
Its much better.

Fabian <dvda2_at_yahoo.com>
Sent by: curl-users-admin_at_lists.sourceforge.net
11/04/03 09:04 PM
Please respond to curl-users

 
        To: curl-users_at_lists.sourceforge.net
        cc:
        Subject: Reliving an old compile problem

"checking for C compiler default output... configure:
error: C compiler cannot create executables"

I searched the archives for this and have found
results but not that help to much in my account. I was
hoping I can get some help. I have not done source
compile installs in about 2 years so I am
unfortunately a bit out of practice. An old legacy
system I had switched to a system that does curl for
credit card purcahses and the site is up a creek
without a paddle till we get curl to compile

Running redhat 6.2
compiling with curl-7.10.7
eventually compiling with PHP
So here is the problem:

I get this error:
"checking for C compiler default output... configure:
error: C compiler cannot create executables"

From the docs I tried seting the gcc cc environments
with CC but that did not work :(

Below is the configure results followed by the
config.log

 --- configure ---
[root_at_timmy curl-7.10.7]# ./configure
checking whether to enable maintainer-specific
portions of Makefiles... no
checking for sed... /bin/sed
checking for ar... /usr/bin/ar
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 curl version... 7.10.7
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output... configure:
error: C compiler cannot create executables
See `config.log' for more details.

--- 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 curl configure -, which was
generated by GNU Autoconf 2.57. Invocation command
line was

  $ ./configure

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

hostname = timmy
uname -m = i686
uname -r = 2.2.14-5.0smp
uname -s = Linux
uname -v = #1 SMP Tue Mar 7 21:01:40 EST 2000

/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/bin
PATH: /bin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/X11R6/bin
PATH: /usr/local/bin
PATH: /home/getacard/bin
PATH: /usr/local/bin
PATH: /home/getacard/bin

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

configure:1537: checking whether to enable
maintainer-specific portions of Makefiles
configure:1546: result: no
configure:1564: checking for sed
configure:1591: found /bin/sed
configure:1600: result: /bin/sed
configure:1606: checking for ar
configure:1633: found /usr/bin/ar
configure:1642: result: /usr/bin/ar
configure:1685: checking for a BSD-compatible install
configure:1739: result: /usr/bin/install -c
configure:1750: checking whether build environment is
sane
configure:1793: result: yes
configure:1860: checking for gawk
configure:1860: found /usr/bin/gawk
configure:1860: result: gawk
configure:1862: checking whether make sets $(MAKE)
configure:1889: result: yes
configure:2037: checking curl version
configure:2039: result: 7.10.7
configure:2060: checking build system type
configure:2078: result: i686-pc-linux-gnu
configure:2086: checking host system type
configure:2100: result: i686-pc-linux-gnu
configure:2134: checking for style of include used by
make
configure:2162: result: GNU
configure:2269: checking for gcc
configure:2269: found /usr/bin/gcc
configure:2269: result: gcc
configure:2504: checking for C compiler version
configure:2510: gcc --version </dev/null >&5
egcs-2.91.66
configure:2510: $? = 0
configure:2515: gcc -v </dev/null >&5
Reading specs from
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2
release)
configure:2515: $? = 0
configure:2520: gcc -V </dev/null >&5
gcc: argument to `-V' is missing
configure:2520: $? = 1
configure:2543: checking for C compiler default output
configure:2592: gcc conftest.c >&5
../../gcc/gcc.c:2325: Internal compiler error in
function execute
configure:2592: $? = 33
configure: failed program was:
| #line 2525 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "curl-bug_at_haxx.se"
| #define PACKAGE "curl"
| #define VERSION "7.10.7"
| #define OS "i686-pc-linux-gnu"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2592: error: C compiler cannot create
executables
See `config.log' for more details.

## ---------------- ##
## 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_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_host='i686-pc-linux-gnu'
ac_cv_host_alias='i686-pc-linux-gnu'
ac_cv_path_AR='/usr/bin/ar'
ac_cv_path_SED='/bin/sed'
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}
/home/getacard/src/curl-7.10.7/missing --run
aclocal-1.7'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /home/getacard/src/curl-7.10.7/missing
--run tar'
AR='/usr/bin/ar'
ARES_FALSE=''
ARES_TRUE=''
AS=''
AUTOCONF='${SHELL}
/home/getacard/src/curl-7.10.7/missing --run autoconf'
AUTOHEADER='${SHELL}
/home/getacard/src/curl-7.10.7/missing --run
autoheader'
AUTOMAKE='${SHELL}
/home/getacard/src/curl-7.10.7/missing --run
automake-1.7'
AWK='gawk'
CABUNDLE_FALSE=''
CABUNDLE_TRUE=''
CC='gcc'
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CURL_CA_BUNDLE=''
CURL_DISABLE_DICT=''
CURL_DISABLE_FILE=''
CURL_DISABLE_FTP=''
CURL_DISABLE_GOPHER=''
CURL_DISABLE_HTTP=''
CURL_DISABLE_LDAP=''
CURL_DISABLE_TELNET=''
CXX=''
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
DLLTOOL=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
F77=''
FFLAGS=''
HAVE_LIBZ=''
HAVE_LIBZ_FALSE=''
HAVE_LIBZ_TRUE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
IPV6_ENABLED=''
KRB4_ENABLED=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LN_S=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL}
/home/getacard/src/curl-7.10.7/missing --run makeinfo'
NO_UNDEFINED_FALSE=''
NO_UNDEFINED_TRUE=''
NROFF=''
OBJDUMP=''
OBJEXT=''
OPENSSL_ENABLED=''
PACKAGE='curl'
PACKAGE_BUGREPORT='curl-bug_at_haxx.se'
PACKAGE_NAME='curl'
PACKAGE_STRING='curl -'
PACKAGE_TARNAME='curl'
PACKAGE_VERSION='-'
PATH_SEPARATOR=':'
PERL=''
PKGADD_NAME='cURL - a client that groks URLs'
PKGADD_PKG='HAXXcurl'
PKGADD_VENDOR='curl.haxx.se'
PKGCONFIG=''
RANDOM_FILE=''
RANLIB=''
SED='/bin/sed'
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION='7.10.7'
VERSIONNUM='070a07'
YACC=''
ac_ct_AR=''
ac_ct_AS=''
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_DLLTOOL=''
ac_ct_F77=''
ac_ct_OBJDUMP=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include='include'
am__quote=''
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias=''
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
datadir='${prefix}/share'
exec_prefix='NONE'
host='i686-pc-linux-gnu'
host_alias=''
host_cpu='i686'
host_os='linux-gnu'
host_vendor='pc'
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/home/getacard/src/curl-7.10.7/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

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

#define OS "i686-pc-linux-gnu"
#define PACKAGE "curl"
#define PACKAGE_BUGREPORT "curl-bug_at_haxx.se"
#define PACKAGE_NAME "curl"
#define PACKAGE_STRING "curl -"
#define PACKAGE_TARNAME "curl"
#define PACKAGE_VERSION "-"
#define VERSION "7.10.7"

configure: exit 77

=====

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/

-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
Received on 2003-11-05