Following the installation guide and finally doing the emerge system. I get errors with perl-5.6.1-r6 ... First, test: op/stat(35) fails. Solution: suid some program in /bin temporarily (strange, but it fixes it) Second, during src_install it complains about missing lib.pm, Config.pm and Exporter.pm (possibly more) in @INC. Solution: set env PERLLIB=/var/tmp/portage/perl-5.6.1-r6/work/perl-5.6.1/lib I don't think these solutions are nice ... but at least it fixed the problems.
Hmmm ... embarrasing... I forgot to "source /etc/profile" the second time I chrooted to the gentoo partition ... that was why the building failed. It works now (although I have to set LC_ALL="C" to make perl completely happy)