install perl module to the local directory.
http://servers.digitaldaze.com/extensions/perl/modules.html
(Here it is for perl5. As to perl 5.8.8, it is the same, just replacing perl5 with perl.)
Normally, the Perl5 module installation procedure includes commands something like these:
% perl5 Makefile.PL
% make
% make test
% make install
% make clean
The first command, perl5 Makefile.PL, directs perl5 to create a makefile for the new module you are installing. When installing a perl5 module locally you must designate the home directory of your perl5 installation on the command line. That information is used by perl5 to create the makefile. Substitute the following command for perl5 Makefile.PL:
% perl5 Makefile.PL PREFIX=/usr/home/USERNAME/usr/local
The value USERNAME above should be replaced with your Virtual Private Server primary user account name. So the complete installation process is:
% perl5 Makefile.PL PREFIX=/usr/home/USERNAME/usr/local
% make
% make test
% make install
% make clean
http://www.ncode.ch/papers/Perl-Library-Mechanics.pdf
No comments:
Post a Comment