Infact now I changed the perl installation directory to the one under
/opt, but now I am getting another error.
/home/xena/vobadm/PERL/perl/perl-RUN/opt/perl5/bin/perl Makefile.PL
Checking if your kit is complete...
Looks good
Can't locate loadable object for module File::Glob 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 .)Compilation
failed in require at (eval 73) line 7.
BEGIN failed--compilation aborted at (eval 73) line 7.
at /opt/perl5/lib/5.6.1/ExtUtils/MakeMaker.pm line 507
But I see the module.
$ ls -l /opt/perl5/lib/5.6.1/PA-RISC1.1/File
total 26
-rw-r----- 1 vobadm nfsgroup 12808 Apr 14 07:48 Glob.pm
Thx
Kailash
From: [EMAIL PROTECTED] (Curtis Jewell) AT INTERNET on 05/02/2001
05:09 PM
To: Kailash Subramanian/ATL/ALLTELCORP
cc: [EMAIL PROTECTED] AT INTERNET@CCMAIL
Subject: Re: problem with PATH
-----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 followin
g
> command I am getting an error as shown below. I know that perl is
looking unde
r
> 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-----