in reply to Installing modules in personal lib directory - Just canīt make it work
Hi Andre !!
If you wanna install modules from CPAN to the lib directory of your choice, then i would suggest , install them manually without using the CPAN Shell...
As, tantaklus mentioned, you can run the MakeFile.PL with PREFIX and lib. That would be better and avoids confusion.
.. Ok, suppose you want to install a module , say HTML::Template from CPAN,
download the tar.gz file from CPAN and extract it, then you do the following,
perl Makefile.PL PREFIX=/home/andre INSTALLPRIVLIB=/home/andre/lib/per +l5 INSTALLSCRIPT=/home/andre/bin INSTALLSITELIB=/home/andre/l +ib/perl5/site_perl INSTALLBIN=/home/andre/bin INSTALLMAN1DIR= +/home/andre/lib/perl5/man INSTALLMAN3DIR=/home/andre/lib/perl5/m +an3 All these in a single line ..ok
As far as i know, I had given these lines
in bashrc .. Then giveexport PERL5LIB=/home/andre/lib
Thank you ppl !!
vishi83
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Installing modules in personal lib directory - Just canīt make it work
by Andre_br (Pilgrim) on Nov 21, 2005 at 02:31 UTC |