After emerge gentoo-stats I tried: gentoo-stats --new and got: Can't locate URI.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 (eval 1) line 3. Compilation failed in require at /usr/lib/perl5/site_perl/5.6.1/HTTP/Request.pm line 39. Compilation failed in require at /usr/lib/perl5/site_perl/5.6.1/LWP/UserAgent.pm line 108. BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.6.1/LWP/UserAgent.pm line 108. Compilation failed in require at /usr/sbin/gentoo-stats line 6. BEGIN failed--compilation aborted at /usr/sbin/gentoo-stats line 6. For some reason perl is not looking in /usr/lib/site_perl/5.6.1/URI/URL.pm (which does exist). Maybe this is actually a perl bug?
shouldn't the dependencies for gentoo-stats be installed into /usr/lib/perl5/site_perl/5.6.1/ and not /usr/lib/site_perl/5.6.1/ ? in which case this would not be a perl bug.
There is a mistake in the new eclass I posted yesterday for perl-modules that installs the modules to /usr/lib/site_perl instead of /usr/lib/perl5/site_perl on perl 5.6. systems. I am awaiting word back on a perl 5.8 tester before committing the fix.
Please test again. I'm afraid there was a bug in the perl-modules.eclass I updated this week, I recommited a corrected version last night that should be propagated out by now (unless, I guess, you happen to connect to the very last server in the update chain :) ). emerge rsync (emerge --clean rsync if you haven't upgraded portage lately, clean is now assumed) and let me know if this is still a problem for you. Thanks for your patience, Michael
emerge gentoo-stats gentoo-stats --new still gives errors. However, if I emerge URI then the error disappears. gentoo-stats should depend on a version >= dev-perl/URI-1.18 It seems URI depends on MIME which also is not found in @INC.
One piece at a time: * The ebuild of URI works again (eclass fix was good for you too) * URI, once emerged, shows up in @INC again - gentoo-stats needs to have URI included as an RDEPEND (no prob) Have you upgraded perl versions recently? Does the following code snippet show MIME-Base64 (which is the only depend in URI))? I understand that URI needs to be made a depend in gentoo-stats, what I'm not certain of yet is why MIME- Base64 wasn't installed with URI (unless emerge search MIME-Base64 is showing it as already installed) #!usr/bin/perl use ExtUtils::Installed; my $search = shift; print "checking on $search\n"; my $instmod = ExtUtils::Installed->new(); foreach my $module ($instmod->modules()) { my $version = $instmod->version($module) || "???"; print "$module $version\n"; } Thanks, Mike
The code snippet gives: checking on Perl 5.6.1 Pg 1.9.0 URI 1.18 XML::Parser 2.31 libwww-perl ??? I have not upgraded perl recently. If that is a requirement, then I would expect gentoo-stats to depend on the more recent version (Dont make _me_ work. Make the computer work instead).
Installing a new release of perl should not be necessary. I only asked because when migrating between whole versions of perl (not gentoo releases), the experimental ebuild of perl 5.8 does not yet check and re-install modules from your last version..
libwww-perl is a dependancy of gentoo-stats, and uri is a dependancy of libwww- perl, so URI should install with libwww. I successfully emerged gentoo-stats this morning on a perl 5.6.1 box and a perl 5.8 box and was able to run gentoo - -new and get an ID back each time. Are you still having problems with this?
it seems to work now