Recent updates to perl & Makemaker-6.05-r1 (Oct 24 date) suggested by 'emerge rsync;emerge -p -u system' result in a perl package which puts new packages into the '/usr/lib/site_perl' tree. However, when 'use'-ing packages, perl doesn't ever look there. It looks in /usr/lib/perl5/... like always. Thus, something like emerge dev-perl/MD5 perl use Digest::MD5; gets MD5.pm not found because it's under /usr/lib/site_perl, not /usr/lib/perl5/site_perl Problem first noticed with ExtUtils-MakeMaker-6.05-r1. I don't care where anything goes, just so long as perl can find it after it puts it someplace.
remerge MD5 please.
I am getting the same issue on my Gentoo 1.2 system. Since installing MakeMaker 6.05-r1 perl packages are not able to be found. eg: Time::HiRes # perl use Time::HiRes; Can't locate Time/HiRes.pm in @INC (@INC contains: /usr/lib/perl5/5.6.1/i686-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i686-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl .) at - line 1. BEGIN failed--compilation aborted at - line 1. # perl use lib '/usr/lib/site_perl/5.6.1'; use Time::HiRes; If I add /usr/lib/site_perl/5.6.1 to the lib it works fine. I have remerged Time::HiRes 2 or 3 times. Also completely removed it and remerged it from clean with the same results. Can you please repair this as it is breaking things.
Well I remerge perl 5.6.1-r7 and MakeMaker then Time-HiRes and it's working now.
I ran into this problem also here is a test case usind dbd-mysql # remove perl stuffs emerge unmerge $(qpkg -I -nc | grep perl) # this fails with @INC DBI.pm not found error, due to /usr/lib/site_perl # being used , actually you get several failure for @INC doing the # dependency installs emerge sys-devel/perl emerge DBD-mysql # clean it again # this will now succeed, installs in /usr/lib/perl5/site_perl emerge sys-devel/perl emerge ExtUtils-MakeMaker emerge DBD-mysql * sys-devel/perl Latest version available: 5.6.1-r7 Latest version installed: 5.6.1-r7 Homepage: http://www.perl.org Description: Larry Wall's Practical Extraction and Reporting Language * dev-perl/ExtUtils-MakeMaker Latest version available: 6.05-r1 Latest version installed: 6.05-r1 Homepage: http://cpan.valueclick.com/modules/by-module/ExtUtils/ExtUtils-MakeMaker-6.05.readme Description: MakeMaker Perl Module
emerge rsync; emerge -p -u world just wanted to update lots of perl modules, so I tried one: The comment on the dev-perl/perl-tk package was that the update was to put it into the correct locations. It put it into /usr/lib/site_perl This is not the correct location on my system. I do not know what change here is intended, so I have not started playing with MM_Unix.pm, but /usr/lib/site_perl does not seem to me to be a good place to put things. ln -s perl5/site_perl site_perl does not seem very elegant...
emerge rsync emerge ExtUtils-MakeMaker This should now be taken care of in two places for you, the default profiles now dep on the MakeMaker update, and the perl modules eclass again DEPEND's on it. With this patch/update, your perl modules should be installing correctly again. For a test, emerge MD5-Digest (it's very small and quick, so good for testing) - you should NOT find it in /usr/lib/site_perl, but in the proper place under /usr/lib/perl5/ Michael
That got it. Thanks, Ferris