I found this in another thread;
Code: Select all
/usr/lib/portage/bin/g-cpan.pl BerkeleyDB
which creates an ebuild for the perl module and emerges it on the fly, so to speak.
Worked for me, anyway.
According to
this thread there's a policy of not creating ebuilds for CPAN modules, unless they're a dependency for another ebuild, because of the overhead of keeping them up to date.
Far as I can tell, popfile isn't an ebuild. Perhaps we should fix that first!
Oh, and for the record, my perl-BerkeleyDB files ended up in
Code: Select all
/usr/lib/perl5/vendor_perl/5.8.1/i686-linux/
/usr/lib/perl5/vendor_perl/5.8.1/i686-linux/auto/
/usr/lib/perl5/vendor_perl/5.8.1/i686-linux/auto/BerkeleyDB/
/usr/lib/perl5/vendor_perl/5.8.1/i686-linux/auto/BerkeleyDB/autosplit.ix
/usr/lib/perl5/vendor_perl/5.8.1/i686-linux/auto/BerkeleyDB/.packlist
/usr/lib/perl5/vendor_perl/5.8.1/i686-linux/auto/BerkeleyDB/BerkeleyDB.bs
/usr/lib/perl5/vendor_perl/5.8.1/i686-linux/auto/BerkeleyDB/BerkeleyDB.so
/usr/lib/perl5/vendor_perl/5.8.1/i686-linux/BerkeleyDB/
/usr/lib/perl5/vendor_perl/5.8.1/i686-linux/BerkeleyDB/Btree.pm
/usr/lib/perl5/vendor_perl/5.8.1/i686-linux/BerkeleyDB/Hash.pm
/usr/lib/perl5/vendor_perl/5.8.1/i686-linux/BerkeleyDB.pm
/usr/lib/perl5/vendor_perl/5.8.1/i686-linux/BerkeleyDB.pod
Obviously, I'm using perl-5.8.1-r2
It's also worth noting that the BerkeleyDB available from sleepycat.com and the berkeleyDB perl modules are completely different beasties, as far as I can tell; the one you need for popfile is the CPAN perl module, not the other one.
Oh, and if you want your own perl @INC, try