While installing Path::Class with g-cpan I got this: ----- Can't locate Module/Build.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/site_perl/5.8.6/i686-linux /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.6/i686-linux /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.6/i686-linux /usr/lib/perl5/5.8.6 /usr/local/lib/site_perl .). BEGIN failed--compilation aborted. * * Please post a bug on http://bugs.gentoo.org assigned to * perl@gentoo.org - Path-Class-0.11 was added without a dependancy * on dev-perl/module-build * * ----- Reproducible: Always Steps to Reproduce: 1. g-cpan Path::Class (without having Module::Build installed) 2. 3.
I'm thinking you're using an old g-cpan - emerge g-cpan and try again (that sounds like a problem from the pre-split g-cpan)
I'm using version 0.13.01, which is the latest stable. Should I better switch to the ~masked 0.13.02? Michele.
No, 01 should have been good. Let me actually take a look at this and get back to you (sorry - first response with this description is "it should work in newer one, you must be using the pre-split version " :) Actually, while i'm thinking of it - does emerge -p module-build say that it is installed? Maybe portage and perl are getting conflicting results here.
No problem for the first responde, it was my fault that I didn't specify the g-cpan version I was using. :-) module-build is now installed, but that doesn't count as I emerged it by hand to ensure proper installation of Path::Class. After doing this, g-cpan worked without a flaw and installed Path::Class. Thanks, Michele.
I agree - it doesn't count, it should have been detected and made a dep :/
Mass re-assign.
Re-assign.
fixed in Gentoo::CPAN - if there's a Build.PL, we add module-build as a dep.