Operating System - HP-UX
1752376 Members
5501 Online
108787 Solutions
New Discussion юеВ

Re: perl intallation problem

 
John_912
Occasional Advisor

perl intallation problem

Dear all,
I would be very much obliged if you could help me with following case in an HP-UX 11i I casn see the following perl installed:
swlist | grep -i perl
perl D.5.8.0.B Perl Programming Language
Perl5 B.5.6.1.E Perl for HP-UX


When I run perl -V I get the following:
# 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-multi /opt/perl/lib/site_perl/5.6.1 /opt/perl/lib/site_perl .).
BEGIN failed--compilation aborted.

One of my applications that uses perl cannot run with the following error:
Can't locate lib.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-multi /opt/perl/lib/site_perl/5.6.1 /opt/perl/lib/site_perl .)

Do yoy have any ideas?
Thank you in advance.
Rs,
John

2 REPLIES 2
H.Merijn Brand (procura
Honored Contributor

Re: perl intallation problem

Many ideas. One of them is conflicting versions. Another is that you have rather old versions.

1. Get rid of the old 5.6.1 version

# swremove perl5

2. Find which perl is now first in your $PATH

# whereis perl
# which perl

3. Make sure that the version you want is found first, and then check that

# perl -v

# perl -V

with a capital V should tell you where it looks for the modules, but if it cannot find Config.pm, you're lost there too

4. Last, consider installing a more recent version.

In the 5.8.x track (stable releases), we're now at 5.8.7
In the 5.6.x track, we're now at 5.6.2

If you want the official HP port, you should scan the rearranged HP software site. Other options include my site (see below) or the HP Porting center, e.g. http://hpux.connect.org.uk/hppd/hpux/Languages/perl-5.8.6/

My HP ITRC site pages can be found at (please use LA as primary choice):

USA Los Angeles http://mirrors.develooper.com/hpux/
SGP Singapore https://www.beepz.com/personal/merijn/
USA Chicago http://ww.hpux.ws/merijn/
NL Hoofddorp http://www.cmve.net/~merijn/

Enjoy, have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
John_912
Occasional Advisor

Re: perl intallation problem

Thank you very much!!
Rs, John