Sharan Basappa wrote:
> Rob,
> 
> I replied to Chas' mail with steps I have followed to install the module.
> I have also tried omitting Algorithm to PREFIX, but that does not help.
> 
> perl Makefile.PL PREFIX=/u/basappas/local/perl/iter2/Algorithm-Permute-0.11
> make install
> setenv PERL5LIB /u/basappas/local/perl/iter2/Algorithm-Permute-0.11
> perl Perm2.pl
> Can't locate Algorithm/Permute.pm in @INC (@INC contains:
> /u/basappas/local/perl/onemore/Algorithm-Permute-0.11
> 
> There are few parameters and I sure I am not using one of them properly.
> 1) argument to PREFIX (with or without Algorithm)
> 2) PERL5LIB path
> 3) use lib directive in my script

You don't need both to set PERL5LIB and 'use lib'. One or the other is fine.

My reply said,

> the log from 'make install' will show you where the module has been
> installed to

You still haven't published your installation log, so I can't help you
much further, but it's wrong to include the Algorithm folder in the path
you supply as the value of the PREFIX parameter

Why are you using

  PREFIX=/u/basappas/local/perl/iter2/Algorithm-Permute-0.11

when it could be just

  PREFIX=/u/basappas/local/perl

?

Look in the installation log for where it has put Algorithm/Permute.pm -
i.e. what is the path to the Algorithm folder. Use that path in your
'use lib' statement.

Rob




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to