- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- perl error - can't locate locale.pm
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2004 01:57 AM
11-29-2004 01:57 AM
Can't locate locale.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 /opt/oracle/dba/common/bin/filedate.pl line 3.
He says this same perl program runs on another server, and between the two the only difference I see is the version on the server that it runs on is: D.5.8.0.B and the one that is getting the error is: B.5.6.1.F
Solved! Go to Solution.
- Tags:
- Perl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2004 02:09 AM
11-29-2004 02:09 AM
Re: perl error - can't locate locale.pm
Both versions are old. For the 5.6 range, 5.6.2 is the stable release and 5.8.6 is being released this week.
The error message you post is from an even older perl: 5.005_02 which doesn't (correctly) support locales and unicode at all.
So you should have suspicion for the installed perl being correct. If IT tells you it's 5.6.1, they're wrong.
# perl -v
will show you the version
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2004 02:26 AM
11-29-2004 02:26 AM
Re: perl error - can't locate locale.pm
This is perl, version 5.005_02 built for PA-RISC1.1
The server version where it is running correctly is:
This is perl, v5.8.5 built for 9000/800-hpux
Is the error I am receiving due to the Version ?? or is there something else I need to do ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2004 02:30 AM
11-29-2004 02:30 AM
SolutionThis may occur if programmer is using /usr/contrib/bin/perl (which is perl shipped with HP to run OS scripts) instead of /opt/perl/bin/perl (which may correspond to installation of 5.6.1.
Regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2004 02:35 AM
11-29-2004 02:35 AM
Re: perl error - can't locate locale.pm
the 5.005_02 version is a hppa-risc-1.1 port. You didn't tell me the server types, but if the server that perl is running on is a D370 or newer with HP-UX 11.00 or up, you should consider a 2.0 port. If that system has a (old) PA7xxx processor, you cannot install a 2.0 architecture build.
I have all kinds of perl versions available for HP-UX ranging from perl-5.8.0 for 10.20 (pa-risc-1.1) to perl-5.8.5-dor/64 for 11i/64 on my site
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/
NL Hoofddorp http://www.cmve.net/~merijn/
Enjoy, have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2004 02:45 AM
11-29-2004 02:45 AM
Re: perl error - can't locate locale.pm
Certainly not on pa-risc-1.1 systems
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2004 02:46 AM
11-29-2004 02:46 AM