02-06-2007 03:04 AM
# perl Makefile.PL
Can't locate ExtUtils/MakeMaker.pm in @INC
Anyone can tell me how to begin addressing this?
Solved! Go to Solution.
02-06-2007 03:11 AM
# perl -V
...should show your @INC contents and 'ExtUtils/MakeMaker.pm' ought to be in one of the paths! I'd do:
# find /usr -name MakeMaker.pm
...for example, using the root level directory to make sure you have the module (you should).
02-06-2007 04:27 AM
Thanks for the prompt reply.
Ok, I've actually got the MakeMaker library in /opt/perl/lib/5.8.3... HOWEVER, there is also /opt/perl/lib/5.6.1 (which doesn't have it). Whenever I run perl, it always runs the 5.6.1 version...
And, when I run "perl -V" I get :
$ perl -V
Can't locate Config.pm in @INC (@INC contains: /opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi /opt/perl/lib/5.6.1 /opt/perl/lib/site_perl/5.6.1/PA-RISC1.1-thread-mu
BEGIN failed--compilation aborted.
BUT, /opt/perl/bin/perl-dynamic -V returns:
... all of the good stuff we'd all expect about version 5.8.3... whoopee!
So, How do I make perl start using the 5.8.3 version and not the 5.6.1 version when both are loaded in the server? Because, when I run /opt/perl/bin/perl-dynamic Makefile.pm - it actually returns me the makefile that I needed.
Is this just simply a case of fixing the symbolic links for "/usr/bin/perl" that eventually land in /opt/perl/bin/ to run the dynamic version (which is 5.8.x) instead of the static version (which is 5.6.x)???
02-06-2007 04:41 AM
> Is this just simply a case of fixing the symbolic links for "/usr/bin/perl" that eventually land in /opt/perl/bin/ to run the dynamic version (which is 5.8.x) instead of the static version (which is 5.6.x)???
Yes, that's what I'd do. Afterall, 5.8 has so many more nice things than 5.6.
It is recommended that '/usr/bin/perl' and '/usr/local/bin/perl' be symbolic links to the actual perl binary.
02-06-2007 05:49 AM
I appreciate the help.
I totally screwed up on that last point assignment, I meant to put 10 pts, and now... it's too late. Sorry...
If I ever actually run into you at a conference, etc. - I owe you two beers in exchange for those missing two points.