When emerging perl, apache, python (and probably others) they stop right after the configure-part. Apache-1.3.28: * Using /home/httpd as apache's default data directory. * Using /etc/apache/apache-builtin-mods for builtins. Configuring for Apache, Version 1.3.28 configure:Error: invalid option '' !!! ERROR: net-www/apache-1.3.28 failed. !!! Function src_compile, Line 131, Exitcode 1 !!! bad ./configure Python-2.2.3: creating ./config.status Usage: ./config.status [--recheck] [--version] [--help] !!! ERROR: dev-lang/python-2.2.3-r1 failed. !!! Function econf, Line 320, Exitcode 1 !!! econf failed Perl-5.8.0: gcc -L/usr/local/lib -o miniperl \ miniperlmain.o opmini.o libperl.a -lpthread -lnsl -ldl -lm -lc -lcrypt -lutil ./miniperl -w -Ilib -MExporter -e '<?>' || make minitest make: [extra.pods] Error 1 (ignored) ./miniperl -Ilib configpm configpm.tmp sh mv-if-diff configpm.tmp lib/Config.pm ./miniperl -Ilib lib/lib_pm.PL Extracting lib.pm (with variable substitutions) make: *** [preplibrary] Error 1 !!! ERROR: dev-lang/perl-5.8.0-r12 failed. !!! Function src_compile, Line 192, Exitcode 2 !!! Unable to make I'm not sure whether this is a bug in portage the ebuilds or something else... Reproducible: Always Steps to Reproduce: 1. 2. 3. emerge info: Portage 2.0.48-r5 (default-1.0, gcc-2.95.3, glibc-2.2.5-r4,2.2.5-r8) ================================================================= System uname: 2.4.21 i686 AMD Athlon(tm) Processor GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/ http://www.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /opt/tomcat/conf" 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 arts avi crypt encode jpeg libg++ mikmod mmx mpeg ncurses oggvorbis pdflib quicktime sdl spell svga truetype xml2 xmms xv berkdb esd gdbm gif gnome-libs gpm gtk imlib java libwww motif mozilla mysql nls opengl pam perl png postgres python readline slang ssl tcltk tcpd tetex tiff X innodb -qt -kde -cups -apache2" COMPILER="" CHOST="i686-pc-linux-gnu" CFLAGS="-march=i686 -O3 -pipe" CXXFLAGS="-march=i686 -O3 -pipe" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage/" FEATURES="sandbox ccache"
r7 is out, try that
With -r7 I get exactly the same results.
Ok, this is the weirdest behavior of Linux I've ever had... I ran into other problems (the libtoolize script failed, it just didn't recognize any of its input), a few other shell-scripts (created from various configure-scripts) failed, etc. So I started to suspect something in my bash or bashenvironment. I re-emerged bash (which failed, but it did compile bash so I could copy that to /bin) and logged on again, after that I could re-emerge bash (again, but it didn't fail this time). And appareantly this fixed the above problems... Why, what or when it got wrong? I've no clue...
check for rootkits. use qpkg and chkrootkit.