Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 55143

Summary: emerge net-www/apache-2.0.49-r3 fails with 'configure: error: C compiler cannot create executables'
Product: Gentoo Linux Reporter: Erlend Simonsen <mr>
Component: [OLD] ServerAssignee: Apache Team - Bugzilla Reports <apache-bugs>
Status: VERIFIED INVALID    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Erlend Simonsen 2004-06-25 05:00:03 UTC
When I try to emerge apache, it fails in srclib/apr. Might be a db4 problem, and I wasn't sure of where to file this. 

Reproducible: Always
Steps to Reproduce:
1.emerge apache

Actual Results:  
checking for C compiler default output file name... configure: error: C 
compiler cannot create executables 


from config.log: 
 
configure:2959: $? = 0 
configure:2961: gcc -v </dev/null >&5 
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/specs 
Configured with: /var/tmp/portage/gcc-3.3.3-r6/work/gcc-3.3.3/configure 
--prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3 
--includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include 
--datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3 
--mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3/man 
--infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3/info --enable-shared 
--host=i686-pc-linux-gnu --target=i686-pc-linux-gnu --with-system-zlib 
--enable-languages=c,c++ --enable-threads=posix --enable-long-long 
--disable-checking --disable-libunwind-exceptions --enable-cstdio=stdio 
--enable-version-specific-runtime-libs 
--with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/g++-v3 
--with-local-prefix=/usr/local --enable-shared --enable-nls 
--without-included-gettext --disable-multilib --enable-__cxa_atexit 
--enable-clocale=generic 
Thread model: posix 
gcc version 3.3.3 20040412 (Gentoo Linux 3.3.3-r6, ssp-3.3.2-2, pie-8.7.6) 
configure:2964: $? = 0 
configure:2966: gcc -V </dev/null >&5 
gcc: `-V' option must have argument 
configure:2969: $? = 1 
configure:2992: checking for C compiler default output file name 
configure:2995: gcc -O2 -march=athlon-xp -fomit-frame-pointer   -ldb4 
conftest.c  >&5 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../../i686-pc-linux-gnu/bin/ld: 
cannot find -ldb4 
collect2: ld returned 1 exit status 
configure:2998: $? = 1 
configure: failed program was: 
| /* confdefs.h.  */ 
| 
| #define PACKAGE_NAME "" 
| #define PACKAGE_TARNAME "" 
| #define PACKAGE_VERSION "" 
| #define PACKAGE_STRING "" 
| #define PACKAGE_BUGREPORT "" 
| /* end confdefs.h.  */ 
| 
| int 
| main () 
| { 
| 
|   ; 
|   return 0; 
| } 
configure:3037: error: C compiler cannot create executables 
See `config.log' for more details. 
 
----- 
 
emerge info: 
Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 
2.6.5-gentoo-r1) 
================================================================= 
System uname: 2.6.5-gentoo-r1 i686 AMD Athlon(tm) XP 3000+ 
Gentoo Base System version 1.4.16 
Autoconf: sys-devel/autoconf-2.59-r4 
Automake: sys-devel/automake-1.8.5-r1 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache sandbox" 
GENTOO_MIRRORS="ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ 
http://trumpetti.atm.tut.fi/gentoo/ http://ds.thn.htu.se/linux/gentoo 
http://ftp.du.se/pub/os/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="3dnow X aalib alsa apm arts avi berkdb crypt cups encode esd foomaticdb 
gdbm gif gnome gpm gtk gtk2 imlib java jpeg kde libg++ libwww mad mikmod mmx 
motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png 
postgres python qt quicktime readline sdl slang spell ssl svga tcpd tetex 
truetype x11 x86 xml2 xmms xv zlib" 
 
-------
Comment 1 Erlend Simonsen 2004-06-25 05:03:38 UTC
Forgot to mention that my db4 version is sys-libs/db-4.1.25_p1-r4
Comment 2 Chuck Short (RETIRED) gentoo-dev 2004-06-25 06:10:38 UTC
This has already been fixed in cvs. Please resync.
Comment 3 Elfyn McBratney (beu) (RETIRED) gentoo-dev 2005-04-23 20:00:17 UTC
Closing.