When emergeing mc with colorgcc, time.h as well as other header files were not detected, resulting in a failed compile. Upon removal of colorgcc, the build was able to resume. USING GCC 3.2.1 compiler.... Reproducible: Always Steps to Reproduce: 1.emerge colorgcc 2.emerge mc 3.see the build fail Actual Results: A failed compile Expected Results: compile cleanly Portage 2.0.47-r2 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r2) ================================================================= System uname: 2.4.19-gentoo-r10 i686 AMD Athlon(tm) XP 1800+ GENTOO_MIRRORS=" http://csociety-ftp.ecn.purdue.edu/pub/gentoo ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo/ http://www.ibiblio.org/pub/Linux/distributions/gentoo"CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config /opt/quake3/cpma/server.cfg" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 oss 3dnow apm avi crypt encode gif jpeg libg++ mikmod mpeg ncurses nls pdflib png qtmt quicktime spell truetype xml2 xmms xv zlib directfb gdbm berkdb slang readline arts tetex aalib nas svga ggi tcltk java guile mysql sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gtk motif opengl mozilla gphoto2 cdr X gtk2 gnome -kde -qt -alsa mmx sse sse2 cups" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-mcpu=athlon-xp -O3 -pipe" CXXFLAGS="-mcpu=athlon-xp -O3 -pipe" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
the url added provides the exact output of configure...
odd, i emerged colorgcc/mc w/out any problems
could you post your $PATH variable ? interesting tidbit from config.log: configure:18163: gcc -c -mcpu=athlon-xp -O3 -pipe -Wall -I$(top_builddir)/intl -I$(top_srcdir)/intl -I$(top_srcdir) -I/usr/X11R6/include conftest.c >&5 /bin/bash: line 1: top_builddir: command not found /bin/bash: line 1: top_srcdir: command not found /bin/bash: line 1: top_srcdir: command not found
$PATH= /bin:/usr/bin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.2:/usr/X11R6/bin:/opt/sun-jdk-1.4.1.01/bin:/opt/sun-jdk-1.4.1.01/jre/bin:/usr/qt/3/bin:/usr/kde/3.1/bin:/usr/games/bin:/opt/vmware/bin
Also: this was discussed on the irc channel, with bcowan helping me out... this was the conclusion that was achieved, and I was asked to submit a bug report.
I forgot to note i was running gcc-config-1.2.7. I then unmerged colorgcc, and remerged the newer gcc-config 1.3.1.
the older gcc-config could have easily been the prob ... have you tried colorgcc + mc + latest gcc-config ?
colorgcc + mc + latest gcc-config did fix the issue. Loks like colorgcc wasn't the problem after all. Rather, it was gcc-config.
sounds good :)