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
In reply to Re: Installing modules in personal lib directory - Just canīt make it work
by vishi83
in thread Installing modules in personal lib directory - Just canīt make it work
by Andre_br
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |