-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wed, 2 May 2001 [EMAIL PROTECTED] wrote:
>
>
>
> 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.
This is weird!!! I get the impression that "root"'s perl is still
executing...
Instead of changing your PATH variable, try specifying where your perl is
on the command line, like so:
$ ~/perl5/perl Makefile.PL
(or wherever your own perl is)
If that doesn't work, write back.
- --Curtis
- --
Curtis Jewell http://curtis.livejournal.com/
[EMAIL PROTECTED] http://web.missouri.edu/~csjc05/
[EMAIL PROTECTED] http://new-york.utica.mission.net/
Public Key: http://web.missouri.edu/~csjc05/curtis.key.txt
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE68HeLNGcErwayIw4RAroOAKCFdEET02ZbZI/tEzVb/GL0irytcQCgqDBa
7gFUBxjAUWwN6TwJZ9CTvc4=
=fwpk
-----END PGP SIGNATURE-----