in reply to alternate install directory?

Thanks Abbot crenz,
Will I have to do anything in my Perl scripts
when I "use" modules installed this way?
For example I install URI.pm this way and when I
attempt to build libwww-perl like so ...
$ perl Makefile.PL PREFIX=/home/LameNerd .... $ make .... $ make test .... local/protosub........Can't locate URI.pm in @INC (@INC contains: ../b +l ....
What should I do to correct the make test problem?
update I was able to get libwww-perl to install by doing this ...
$ PERL5LIB=/home/LameNerd/PERL_MODS_INSTALL:/home/LameNerd/PERL_MODS_I +NSTALL/lib/perl5/site_perl/5.8.0 $ export PERL5LIB $ perl Makefile.PL PREFIX=/home/LameNerd .... $ make .... $ make test .... ok 100%! $ make install ...

Replies are listed 'Best First'.
Re: Re: alternate install directory?
by Ineffectual (Scribe) on Mar 11, 2003 at 20:49 UTC
    Add a use lib '/home/LameNerd/';to the test scripts above the use URI.pm or make sure @INC includes the path to the URI.pm.
    HTH
    'Fect