Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 9194 - perl modules installed in wrong tree (e.g. MIME-Base64)
Summary: perl modules installed in wrong tree (e.g. MIME-Base64)
Status: RESOLVED DUPLICATE of bug 9067
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-16 07:09 UTC by Mike Stok
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Stok 2002-10-16 07:09:19 UTC
I have noticed that a few modules for perl are installed under 
/usr/lib/site_perl rather than a directory searched by perl.  One example is 
MIME::Base64.

I recently started using gentoo and came across this while installing 
gentoo-stats which didn't run after installing its dependencies.

perl -V ends with:

Characteristics of this binary (from libperl): 
  Compile-time options: USE_LARGE_FILES
  Built under linux
  Compiled at Sep  6 2002 00:59:06
  @INC:
    /usr/lib/perl5/5.6.1/i586-linux
    /usr/lib/perl5/5.6.1
    /usr/lib/perl5/site_perl/5.6.1/i586-linux
    /usr/lib/perl5/site_perl/5.6.1
    /usr/lib/perl5/site_perl
    .

and looking at modules under /usr/lib/site_perl (not in @INC) there are a 
lot of modules.

bash-2.05a$ for f in `find /usr/lib/site_perl -type f`; do   qpkg -f $f 
>>/tmp/packages; done
bash-2.05a$ sort /tmp/packages | uniq
dev-perl/Digest-MD5 *
dev-perl/HTML-Parser *
dev-perl/HTML-Tagset *
dev-perl/MIME-Base64 *
dev-perl/URI *
dev-perl/libnet *
dev-perl/libwww-perl *

As a work around I copied the tree over /usr/lib/perl5/site_perl/...

Should these have been installed under /usr/lib/perl5/... in the first place?

These were all emerged over the past day or two (Oct 14 through 16)
The versions installed as reported by qpkg -l are

sys-devel/perl-5.6.1-r6
dev-perl/Digest-MD5-2.20
dev-perl/HTML-Parser-3.26-r1
dev-perl/HTML-Tagset-3.03-r1
dev-perl/MIME-Base64-2.12-r1
dev-perl/URI-1.18
dev-perl/libnet-1.11
dev-perl/libwww-perl-5.64 

There seem to be more recent perl 5.6.1's, but the -r6 was what I got when I 
installed via a stage 3 tarball for a K6-3.

Perl 5.6.1 -r7's @INC is the same as -r6's and now I have to leanr more 
about Portage...
Comment 1 SpanKY gentoo-dev 2002-10-16 07:18:54 UTC
update your system/perl 

*** This bug has been marked as a duplicate of 9067 ***