kepler has asked for the wisdom of the Perl Monks concerning the following question:
Before everything, I put in the scripts - which gives no error:#!/usr/local/bin/perl use 5.008007; use ExtUtils::MakeMaker; # See lib/ExtUtils/MakeMaker.pm for details of how to influence # the contents of the Makefile that is written. WriteMakefile( NAME => 'Kepler', VERSION_FROM => 'lib/Kepler.pm', # finds $VERSION PREREQ_PM => {}, # e.g., Module::Name => 1.1 ($] >= 5.005 ? ## Add these new keywords supported since 5.005 (ABSTRACT_FROM => 'lib/Kepler.pm', AUTHOR => 'Kepler <me@me.com>') : ()), LIBS => ['-L/home/username/usr/local/lib -lskepler'], # LIBS => ['-lskepler'], # e.g., '-lm' DEFINE => '', # e.g., '-DHAVE_SOMETHING' INC => '-I/home/username/usr/local/include', # INSTALL_BASE => '/home/username/usr/local', PREFIX => '/home/username/usr/local/lib/perl5/site_perl +/5.6.1', INSTALLMAN3DIR => '/home/username/usr/local/lib/perl5/man/man3' +, # DISTVNAME => 'perl_kepler', # # Un-comment this if you add C files to link with later: # OBJECT => '$(O_FILES)', # link all the C files too );
I get the error - in the test.pl script:use lib qw(/home/username/usr/local/lib/perl5/site_perl/5.6.1);
like the module isn't there. Can you help me out? Kind regards, KeplerCan't locate Kepler.pm in @INC (@INC contains: /home/username/usr/loca +l/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.8.8/i386-linux +-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl + /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/pe +rl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8 +/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at test.pl line 6.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Installing local Perl module
by moritz (Cardinal) on Feb 07, 2011 at 13:37 UTC | |
|
Re: Installing local Perl module
by CountZero (Bishop) on Feb 07, 2011 at 13:53 UTC | |
|
Re: Installing local Perl module
by Anonymous Monk on Feb 07, 2011 at 14:21 UTC | |
by kepler (Scribe) on Feb 07, 2011 at 14:40 UTC | |
by Anonymous Monk on Apr 24, 2011 at 15:26 UTC | |
by Anonymous Monk on Apr 24, 2011 at 15:37 UTC | |
by Anonymous Monk on Apr 24, 2011 at 19:10 UTC |