After a successful emerge gentoo-stats, from a freshly installed gentoo, it seems that there is a bad dependecy with perl : root@guinness /etc$ gentoo-stats Can't locate LWP/UserAgent.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 /usr/sbin/gentoo-stats line 6. BEGIN failed--compilation aborted at /usr/sbin/gentoo-stats line 6.
Can you check if you get output from qpkg -f /usr/lib/site_perl. If so can you send it, I think this is the effect of an earlier bug on MakeMaker which caused perl to misfile some of it's modules. Thanks, Bart
This is what i got : root@guinness /usr/bin$ qpkg -f /usr/lib/site_perl dev-perl/Digest-MD5 * dev-perl/gtk-perl * dev-perl/HTML-Parser * dev-perl/HTML-Tagset * dev-perl/libnet * dev-perl/libwww-perl * dev-perl/MIME-Base64 * dev-perl/Parse-RecDescent * dev-perl/URI * dev-perl/XML-Parser * dev-perl/XML-Writer * net-print/foomatic *
You'll need to re-emerge all of those to fix them. You can do this either manually or with a one line hack like: for pkg in `qpkg -nc -f /usr/lib/site_perl`; do emerge $pkg; done After this perl should work ok and thus also gentoo-stats. Best regards, Bart
I've done this, but it don't fix gentoo-stats :-(( I've also found the file perl is looking for, but in the file:/usr/lib/site_perl/5.6.1/LWP directory (where perl doesn't look).
Can you send the output of "emerge libwww-perl"? The previous re-emerge should have corrected this unless if you havent updated perl yet... what does "emerge -pu --deep perl" say (after an emerge rsync of course)?
It now works. What did I do ? Just removed perl, then "emerge perl" then reemerging all packets which were in wrong place.
it was a problem of perl ... it needed to be re-emerged before the modules