2008/11/13 Sharan Basappa <[EMAIL PROTECTED]>: > Just an update. I have installed to a new location and can see the > following files > > /u/basappas/local/perl/Algorithm-Permute-0.06/ > Algorithm Changes Makefile.PL Perm2.pl Permute.o pm_to_blib typemap > bench lib MANIFEST Permute.bs Permute.pm share > blib Makefile META.yml Permute.c Permute.xs test.pl > > I put this path in my code use lib > "/u/basappas/local/perl/Algorithm-Permute-0.06" > and still see the error: > Can't locate loadable object for module Algorithm::Permute in @INC > (@INC contains: /u/basappas/local/perl/Algorithm-Permute-0.06 > /hwnet/activestate/perl-5.6/lib/5.6.1/i686-linux-thread-multi > /hwnet/activestate/perl-5.6/lib/5.6.1 > /hwnet/activestate/perl-5.6/lib/site_perl/5.6.1/i686-linux-thread-multi > /hwnet/activestate/perl-5.6/lib/site_perl/5.6.1 > /hwnet/activestate/perl-5.6/lib/site_perl .) at Perm2.pl line 4 > Compilation failed in require at Perm2.pl line 4. > BEGIN failed--compilation aborted at Perm2.pl line 4 > > Am I missing something really? (like setting path to perl_lib)
Yes you would need to set @INC to include '/u/basappas/local/perl/' not /u/basappas/local/perl/Algorithm-Permute-0.06 But this doesn't look right! You have downloaded the source to /u/basappas/local/perl/Algorithm-Permute-0.06 but you need to build it. I can't see a README or INSTALL file in that distribution listing. That's odd. You may have to edit the Makefile manually to install it in a path you have access to. Good luck, Dp. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/