On Mon, Dec 30, 2002 at 11:34:44PM +1100, Louis Selvon wrote:
> I am downloading some Perl modules via "perl -MCPAN -e shell".
> 
> My problem is when installing using the standard
> 
> perl Makefile.PL 
> make 
> make test 
> make install 
> 
> All the modules are getting installed to "/usr/local/bin/perl/perl5/5.8.0"
> 
> In "Makefile" after "perl Makefile.PL" I can see all the paths are pointing to
> "/usr/local/bin/perl/perl5/5.8.0".
> 
> I want all install(s) to go to "/usr/lib/perl5/5.6.0" base directory. What do
> I have to change to make all CPAN install go to this directory instead ?

Do a 'which perl'. You probably have /usr/local/bin before /usr/bin in your
PATH, so doing the 'perl Makefile.PL' picks up the /usr/local/bin one instead
of the /usr/bin one.

If this looks right, either change your path around or just do 
'/usr/bin/perl -MCPAN -e shell' instead.

Cheers,
Gavin
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to