Just another Perl shrine | |
PerlMonks |
Every time I add a module and try to use i get can't find module in @INC, Why?by scottstef (Curate) |
on Feb 25, 2001 at 03:39 UTC ( [id://60691]=perlquestion: print w/replies, xml ) | Need Help?? |
scottstef has asked for the wisdom of the Perl Monks concerning the following question:
I have added modules using: perl Makefile.pl make make test and not had any errors when I went to install. When I try to run scripts that use the newly installed module, I get Can't locate NET/FTP.pm in @INC (@INC contains: /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl .) at ./ftp.pl line 4. Is there a way to change the @INC get the script to use the module which is located in /usr/lib/perl5/site_perl/5.6.0/i386-linux/libnet-1.0703/Net? Or is there a better way to install the module?
Back to
Seekers of Perl Wisdom
|
|