- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Perl for 11.0
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
Discussions
Discussions
Forums
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
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
тАО04-18-2001 01:33 PM
тАО04-18-2001 01:33 PM
Perl for 11.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2001 02:18 PM
тАО04-18-2001 02:18 PM
Re: Perl for 11.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2001 02:37 PM
тАО04-18-2001 02:37 PM
Re: Perl for 11.0
After install if I run a perl -V I get a nasty message from @INC saying it cant find the config.pm file.
The reason I was going away from the 5.6.0 version is that it was complied on a 10.20 machine not an 11.0 one (see perl -V).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2001 03:14 PM
тАО04-18-2001 03:14 PM
Re: Perl for 11.0
A version of perl (perl4) is included with HPUX and is located in /usr/contrib/bin. When you install perl5 via swinstall, when downloaded from HPUX porting centre, is installed in /opt/perl5/bin. I made a link from /usr/contrib/bin/perl to /opt/perl5/bin/perl.
You could also solve the problem by making sure that /opt/perl5/bin is included in your PATH and is found BEFORE /usr/contrib/bin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2001 03:20 PM
тАО04-18-2001 03:20 PM
Re: Perl for 11.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2001 03:22 PM
тАО04-18-2001 03:22 PM
Re: Perl for 11.0
new perl; create a link 'ln -s /opt/perl5/bin/perl /usr/bin/perl' and make sure that /usr/bin is before the hp perl in your PATH. I've run 5.6.0 on both an A180c and a K580 w/o problems. I've not tried 5.6.1 or an L box.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2001 03:44 PM
тАО04-18-2001 03:44 PM
Re: Perl for 11.0
It looks like the best way to go is to get the source and compile it ourselves. Has anyone done this successfully? Please advise. Thankou again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-21-2001 03:49 AM
тАО04-21-2001 03:49 AM
Re: Perl for 11.0
Please find the binary here for perl5.6.1.
It worked fine .
URL:http://www.perl.com/CPAN/src/
Thanks.
Manikandan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-22-2001 04:51 AM
тАО04-22-2001 04:51 AM
Re: Perl for 11.0
I successfully installed a compiled version of Perl 5.6 from the sources of CPAN (i.e. stable.tar.gz) on all the HP-UX boxes I have to administer.
But to do this you need to have installed an ANSI-C compiler.
I'm afraid, the usual C compiler for linking a new kernel which is part of the standard HP-UX os is a crippled one which can't be used for building Perl.
Either you get the ANSI-C compliant compiler from HP (which I guess is at a cost of an extra license ;-) or you download the binutils and gnu gcc from the ports collection.
You may find both from
http://hpux.asknet.de
(chose a closer mirror in your vicinity and do a search from there for binutils and gcc)
You first would have to install the binutils.
When I downloaded the binaries of the depots at first I didn't realize that the gz suffix had been detached by my browser. So in case, you may have to rename the download and unzip it before installation.
After having installed binutils and gcc make sure their bin subdirectories are (at least for time of building Perl) in root's PATH before /usr/ccs/bin (e.g. to ensure the Gnu make and archiver etc are invoked instead of HP-UX's).
Then download the Perl sources from CPAN, extract the tarball into a temporary directory for the build and read the READMEs/INSTALLs.
Even though you can enforce the default answers for the configure script (I guess it was the -d flag?) you'd better run configure interactively (which asks many questions and will take some time)
If you are unsure about the answers the suggested defaults are sensible in most circumstances.
After that you'd do the usual
make
make test
make install
The last should install the stuff under the selected PREFIX (usually under /opt)
If you answered no to configure's additional installation suggestion for the Perl binaries you probably also would want to create softlinks to /usr/bin.
This would also ensure that not the obsolete Perl4 interpiler under /usr/contrib/bin gets invoked since usually /usr/bin come first in the PATH.
HTH
Ralph