This is the error I get at the end of the failed build: Processing hints file hints/linux.pl Unable to find a perl 5 (by these names: ../../miniperl miniperl perl perl5 perl5.6.1, in these dirs: ../.. /sbin /usr/sbin /usr/lib/portage/bin /bin /usr/bin /usr/local/bin /usr/X11R6/bin /opt/blackdown-jdk-1.3.1/bin /opt/blackdown-jdk-1.3.1/jre/bin /usr/qt/3/bin /usr/qt/2/bin /usr/kde/3/bin /usr/kde/2/bin /usr/bin) Running '0 -I../../lib ../../lib/ExtUtils/xsubpp -v 2>&1' exits with status 16777215 at (eval 34) line 17. Running '0 ../../lib/ExtUtils/xsubpp temp000 2>&1' exits with status 16777215 at (eval 34) line 43. Writing Makefile for DynaLoader make[1]: Entering directory `/var/tmp/portage/perl-5.6.1-r4/work/perl-5.6.1/ext/DynaLoader' make[1]: 0: Command not found make[1]: *** [../../lib/.exists] Error 127 make[1]: Leaving directory `/var/tmp/portage/perl-5.6.1-r4/work/perl-5.6.1/ext/DynaLoader' make config failed, continuing anyway... make[1]: Entering directory `/var/tmp/portage/perl-5.6.1-r4/work/perl-5.6.1/ext/DynaLoader' make[1]: 0: Command not found make[1]: *** [../../lib/.exists] Error 127 make[1]: Leaving directory `/var/tmp/portage/perl-5.6.1-r4/work/perl-5.6.1/ext/DynaLoader' make: *** [lib/auto/DynaLoader/DynaLoader.a] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 34, Exitcode 2 !!! (no error message)
this seems to be a bug with portage (sandbox lseek thingie)
Antonio, if you could do us a favor, and get the package at: http://www.gentoo.org/~mkennedy/portage-1.9.13.tbz2 put it in /usr/portage/packages/All and then type emerge -k \=portage-1.9.13 and then try to test perl again, that would give us a great deal more information...
I did that & then, not only Perl, but everything in 'system' built with no hitches. I am updating 'world'now & will post a followup to say how that goes.
Ok make sure that you don't recompile portage with gcc-3.1, it breaks sandbox, this is an open bug...
Seems to have been fixed in gentoo 1.4-RC2