Operating System - HP-UX
1751932 Members
4785 Online
108783 Solutions
New Discussion юеВ

perl: Can't locate ExtUtils/MakeMaker.pm

 
SOLVED
Go to solution
Fred Ruffet
Honored Contributor

Re: perl: Can't locate ExtUtils/MakeMaker.pm

I'm not talking about DBI, but really perl itself.

Regards,

Fred
--

"Reality is just a point of view." (P. K. D.)
Ralph Grothe
Honored Contributor

Re: perl: Can't locate ExtUtils/MakeMaker.pm

From your find I gather that you have three different Perl interpreters and your environment got a bit mingled.

Besides, don't use the -M option to load another path that I told you before.
As procura suggested the usual way would be to set the PERL5LIB variable (if you really need to).
I simply forgot about that one.

First find out which of the three interpreters gets invoked.

e.g.
which perl
or
type perl

As said before, to see how this Perl was built (i.e. which compiler etc) post the output from
"perl -V"
Alternatively you could post us the dump from

perl -MConfig -e 'map{printf "%s => %s\n",$Config{$_},$_} sort keys %Config'

(no, just kidding, this would be overkill)
Madness, thy name is system administration
Ralph Grothe
Honored Contributor

Re: perl: Can't locate ExtUtils/MakeMaker.pm

Presumably it's just a symlink pointing to the wrong directory.
If so, where is it pointing to?

# ll $(which perl)
lrwxr-xr-x 1 root sys 19 Jul 6 2003 /usr/bin/perl -> /opt/perl5/bin/perl

If your Perl isn't a very special custom built Perl that contains special modules,
go and download the build from procura, or if you're adventuous get the sources and build your own.

(Outch, by accident I swapped key and value, and the formatting yields clutter,
maybe this works better?

perl -MConfig -e 'map{printf "%-20s => %s\n",$_,$Config{$_}} sort keys %Config'
Madness, thy name is system administration
Carme Torca
Super Advisor

Re: perl: Can't locate ExtUtils/MakeMaker.pm

Hi,

Finally I have do one link between
/project/iASv2/src/pdc_perl/bin/HPUX/Opt/lib
and /Serveis/oas10g/perl/lib/5.6.1

and then it has works ok.

Thanks everyone.
Carmen.


Users are not too bad ;-)