On 2/1/06, Luca Dionisi <[EMAIL PROTECTED]> wrote: > > I've used, since the beginning and up to now, the package users system. > I've got a user (perl) that is the owner of the Perl package.
During installation of perl, I add the option -Dotherlibdirs=/usr/lib/perl-addons to Configure. This allows me to keep the perl package and perl modules separate. Perl Modules are installed in /usr/lib/perl-addons. See <http://linuxfromscratch.org/~tushar/build-scripts/perl/data/perl.build> for my build script for perl. > > As I understand, to install a module, or even a program written in Perl, > the common practise is to run > perl Makefile.PL > make > make test > make install I install each module as mentioned in the build file <http://linuxfromscratch.org/~tushar/build-scripts/xml-parser/data/XML-Parser.build>. I have two utility functions that allow a shared perlocal.pod file. These two functions are available at <http://linuxfromscratch.org/~tushar/downloads/ttPM-2005-07-15/buildFunctions/>. Though note that I use the fakeroot approach, so it is easier for me to modify files before they are installed. If you are installing to / then you may just provide pkg users write permissions to /usr/lib/perl-addons/perllocal.pod and /usr/lib/perl-addons. -- Tushar Teredesai mailto:[EMAIL PROTECTED] http://www.linuxfromscratch.org/~tushar/ -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
