checking for sh... sh checking for sh... /bin/sh checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip checking for i686-pc-linux-gnu-strip... /usr/bin/i686-pc-linux-gnu-strip checking for a BSD-compatible install... /usr/bin/install -c checking for i686-pc-linux-gnu-cc... i686-pc-linux-gnu-cc checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. !!! ERROR: sys-libs/db-4.3.29-r2 failed. Call stack: ebuild.sh, line 1618: Called dyn_compile ebuild.sh, line 975: Called qa_call 'src_compile' environment, line 4657: Called src_compile db-4.3.29-r2.ebuild, line 109: Called die !!! configure failed !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/sys-libs:db-4.3.29-r2:20070116-210137.log'. !!! When you file a bug report, please include the following information: GENTOO_VM=sun-jdk-1.6 CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0" JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="" and of course, the output of emerge --info Reproducible: Always Portage 2.1.2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r4 i686) ================================================================= System uname: 2.6.19-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System version 1.12.8 Timestamp of tree: Tue, 16 Jan 2007 20:30:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] dev-java/java-config: 1.3.7, 2.0.31-r3 dev-lang/python: 2.4.4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.19.2-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=pentium4 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distcc distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org ftp://ftp.du.se/pub/os/gentoo http://ds.thn.htu.se/linux/gentoo http://mirror.gentoo.no/ http://gentoo.osuosl.org/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.gtlib.gatech.edu/pub/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ ftp://gentoo.mirrors.pair.com/ ftp://gentoo.mirrors.tds.net/gentoo ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ ftp://mirror.datapipe.net/gentoo http://mirror.uni-c.dk/pub/gentoo/ http://trumpetti.atm.tut.fi/gentoo/ http://ftp.club-internet.fr/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://pandemonium.tiscali.de/pub/gentoo/ ftp://files.gentoo.org ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://mirrors.blueyonder.co.uk/mirrors/gentoo ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.planetmirror.com/pub/gentoo/ ftp://mirror.pacific.net.au/linux/Gentoo ftp://mirror.isp.net.au/pub/gentoo/ " LINGUAS="en_US en" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="7zip X a52 aac aim alias alsa amarok amd amr apache2 arts artworkextra asf audiofile autoipd automount autoreplace avahi avi beagle bindist bitmap-fonts bittorrent bluetooth bookmarks bootsplash branding bzip2 c++ cddb cdf cdio cdparanoia cdr cdrom cgi cli connectionstatus cpudetection cracklib crypt css ctype cups dba dbus dedicated dga dhcp directfb divx dlloader dmi dmx dri dts dv dvb dvd dvdr dvdread eds emboss enca encode esd ethereal examples exif expat exscalibar extrafilters extras fame fastbuild fat fbcon fbsplash festival ffmpeg fftw finger firefox flac flash flood font-server foomaticdb force-cgi-redirect fortran fping frontendonly ftp fuse gd gdbm gif gimp gimpprint glade glut glx gmail gmedia gmp gnome gopher gpm grammar graphicsmagick gtalk gtk gtk2 gzip h323 hal history howl html http httpd iconv idn ieee1394 imagemagick imlib insecure-savers ipv6 irmc isdnlog jabber java javascript jbig jingle joystick jpeg jpeg2k kde kdehiddenvisibility lame lcd lcms libg++ libsamplerate libwww live logitech-mouse logrotate lzo lzw mad md5sum memlimit mikmod mjpeg mmx mmxext mng modplug mono motif mouse mozbranding mozilla mp3 mp4 mp4live mpe mpeg mpeg2 mplayer music musicbrainz mysql ncurses net netmeeting network nls nowlistening nptl nptlonly nsplugin ntfs offensive ogg openal openexr opengl openoffice openssh openssl oss pam pccts pci pcmcia pcre pdf pdflib perl png portaudio posix ppds pppd print python qt3 qt4 quicktime rar rdesktop readline real realmedia recode recursor reflection reiser4 reiserfs samba scanner screen sdl session setup-plugin silc simplexml slang smp sndfile soap sockets sound sounds spell spl sse sse-filters sse2 ssl statistics stream subtitles svg syslog taglib tcltk tcp tcpd texteffect theora tiff timidity toolbar transcode translator truetype truetype-fonts type1-fonts udev usb userlocales v4l v4l2 vcd vidix visualization vnc vncviewer voice vorbis wifi win32codecs wma wma123 wmf wmp wordexp wordperfect wv wxgtk1 wxwindows x11vnc x264 x86 xanim xcomposite xine xml xorg xprint xscreensaver xsl xv xvid xvnc yahoo yv12 zeroconf zip zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics joystick" KERNEL="linux" LINGUAS="en_US en" USERLAND="GNU" VIDEO_CARDS="fglrx radeon" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
> See `config.log' for more details. Attach the log and reopen then.
(In reply to comment #1) > > See `config.log' for more details. > > Attach the log and reopen then. > I can't find config.log. Slocate turns up nothing even after updating the database.
I can't find config.log
And we can't guess.
the problem is comfigure seems not to find the correct compiler it checks for *-cc but with current gcc and gcc-config versions there's no *-cc installed, so configure should detect gcc checking for i686-pc-linux-gnu-cc... i686-pc-linux-gnu-cc checking for C compiler default output file name... configure: error: C compiler cannot create executables i found two possible solutions, whether to define the CC=gcc variable when emergeing sys-libs/db or i.e. in /usr/local/bin create a cc script that redirects the cc calls to gcc: fry /usr/lib # cat /usr/local/bin/cc #!/bin/bash gcc "${@}"
You have a stale symlink to i686-pc-linux-gnu-cc in /usr/lib/distcc/bin which shouldn't exist; delete it.