All,
I am trying to install a perl module on HP-UX. So when I run the following
command I am getting an error as shown below. I know that perl is looking under
wrong dir for this module. I am trying to use my own perl under my home dir.
There is also another perl installation directory under /opt which is owned by
root. This is the directory perl complains abt in the error message. The perl
executable I use in this command is from my own installation. My question is,
where do I change the path so that this command picks the MakeMaker.pm from my
own installation directory. I 've tried changing my path env variable with no
luck. I want to make perl look under my installation directory for any modules
rather than /opt.
$ perl Makefile.PL
Can't locate ExtUtils/MakeMaker.pm in @INC (@INC contains:
/opt/perl5/lib/5.6.1/PA-RISC1.1 /opt/perl5/lib/5.6.1
/opt/perl5/lib/site_perl/5.6.1/PA-RISC1.1 /opt/perl5/lib/site_perl/5.6.1
/opt/perl5/lib/site_perl .) at Makefile.PL line 2.
BEGIN failed--compilation aborted at Makefile.PL line 2.
The contents of make file.
$ cat Makefile.PL
#! - perl -
use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
WriteMakefile
(
'NAME' => 'Archive::Tar',
'VERSION_FROM' => 'Tar.pm', # finds $VERSION
'EXE_FILES' => ['ptar'],
'dist' => { COMPRESS => 'gzip -9f', SUFFIX => 'gz' },
$] >= 5.005 ? ('AUTHOR' => 'Stephen Zander <[EMAIL PROTECTED]>',
'ABSTRACT' => 'Manipulates TAR archives') : ()
);
I would greatly appreciate any help.
Thx
Kailash