1822845 Members
4026 Online
109645 Solutions
New Discussion юеВ

perl problem

 
mohammed arafat_2
Frequent Advisor

perl problem

Dears
i have problem when running PERL it gives me this error
((Can't locate FindBin.pm in @INC (@INC contains: /opt/perl5/lib/5.00502/PA-RISC1.1 /opt/perl5/lib/5.00502 /opt/perl5/lib/site_perl/5.005/PA-RISC1.1 /opt/perl5/lib/site_perl/5.005 .) at install.pl line 5.
BEGIN failed--compilation aborted at install.pl line 5.))

i have perl and tested by using perl -v

can anyone hlep me
Arafat
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: perl problem

You can have the Perl that ships with OS working and have trouble with enanced versions.

swlist -l product | grep -i perl

This will tell you what perl you think you have installed via the software distributor.

From that list run swverify commands.

You may find a corrupt installation which you need to swremove and swinstall again.

For all Perl add ins, I recommend http://software.hp.com . Get the depots and install off them. HP tested and approved, saves sysadmins time.


SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
mohammed arafat_2
Frequent Advisor

Re: perl problem

Dear Stevan
i'm already using the default perl which comes with the OS

anything might casing the problem
i've downloded the latest and still have the same problem
Arafat
A. Clay Stephenson
Acclaimed Contributor

Re: perl problem

FindBin.pm should be in /opt/perl5/lib/5.005. I suspect that you have a corrupt install. 5.005 is so old that you should really update to at least 5.6.1. I would remove your version using swtremove and update to 5.6.1 (or 5.8.0) from
http://www.cpan.org/ports/index.html#hpux
If it ain't broke, I can fix that.