package users and Perl

Dan Nicholson dbn.lists at gmail.com
Wed Feb 1 07:19:11 PST 2006


On 2/1/06, Luca Dionisi <luca.dionisi at gmail.com> wrote:
> My question is:
>    - what are the commands commonly used in the install phase?

Don't know.  Look at a Makefile from a module.

>    - where are the new files going?

Here's a list from two common modules

Module-Info-0.28
#!paco-1.9.6 1128799676
/usr/lib/perl5/site_perl/5.8.7/Module/Info.pm|20480|-2|-2
/usr/lib/perl5/site_perl/5.8.7/B/Utils.pm|16384|-2|-2
/usr/lib/perl5/site_perl/5.8.7/B/Module/Info.pm|16384|-2|-2
/usr/share/man/man1/pfunc.1|8192|-2|-2
/usr/share/man/man1/module_info.1|8192|-2|-2
/usr/share/man/man3/Module::Info.3|16384|-2|-2
/usr/share/man/man3/B::Utils.3|12288|-2|-2
/usr/bin/pfunc|4096|-2|-2
/usr/bin/module_info|8192|-2|-2
/usr/lib/perl5/site_perl/5.8.7/i686-linux/auto/Module/Info/.packlist|4096|-2|-2
/usr/lib/perl5/5.8.7/i686-linux/perllocal.pod|4096|-2|-2

Compress-Zlib-1.41
#!paco-1.10.2 1134693466
/usr/lib/perl5/site_perl/5.8.7/i686-linux/auto/Compress/Zlib/Zlib.so|49152|-2|-2
/usr/lib/perl5/site_perl/5.8.7/i686-linux/auto/Compress/Zlib/Zlib.bs|0|-2|-2
/usr/lib/perl5/site_perl/5.8.7/i686-linux/Compress/Zlib.pm|36864|-2|-2
/usr/lib/perl5/site_perl/5.8.7/i686-linux/auto/Compress/Zlib/autosplit.ix|4096|-2|-2
/usr/share/man/man3/Compress::Zlib.3|36864|-2|-2
/usr/lib/perl5/site_perl/5.8.7/i686-linux/auto/Compress/Zlib/.packlist|4096|-2|-2
/usr/lib/perl5/5.8.7/i686-linux/perllocal.pod|4096|-2|-2

>    - do I need to be able to modify/overwrite files in the lib/perl

Looks like perllocal.pod gets modifiied, probably with a list of
modueles.  Also, it looks like the modules typically install a
directory in i686-linux{,/auto}.  I don't understand how it decides
between lib/perl5/site_perl and lib/perl5/5.8.7.  Looks like you'll
have to give write privelages on both.

Module-Info is the only one I have installed that put's anything in
/usr/bin.  And then the man pages, of course.

> _AND_ what about CPAN? Can I use "perl -MCPAN -instal..."
> with package users?

I've never used CPAN.  I prefer to have the tarball around.  Probably
it wouldn't be a problem, though, if you have the permissions correct
to start with.

--
Dan



More information about the lfs-support mailing list