[Israel.pm] PERL5LIB and CPAN installations

Gabor Szabo szabgab at gmail.com
Mon Aug 6 22:04:09 PDT 2007


Whe building the module it is better to use

perl Makefile.PL PREFIX=~/perl  LIB=~/perl/lib

and then you can use PERL5LIB=~/perl/lib

Otherwise some modules will be installed in other directories
as you also noticed.

Gabor

On 8/7/07, Yossi Itzkovich <Yossi.Itzkovich at ecitele.com> wrote:
> Hi,
>
> I work on Solaris, and untill I used the Solaris 10 built in perl 5.8.4
> I had no problems installing and using CPAN modules, and always my
> PERL5LIB pointed to ~/perl  (or was it ~/perl/lib ? I don't remember).
> In the CPAN config file I also used PREFIX as ~/perl.
>
> Now, and I am not sure if it's the newer CPAN module, or the built in
> perl 5.8.4, I have to define PERL5LIB  as something similar to :
>
> ~/perl:~/perl/lib:~/perl/sun4-solaris-64int:~/perl/site_perl:~/perl/lib_
> site_perl
>
> In order to use new modules I install.  Why ?



More information about the Perl mailing list