1833304 Members
2818 Online
110051 Solutions
New Discussion

Re: Perl: Upgrading

 
Tim_125
Occasional Contributor

Perl: Upgrading

I would like to upgrade to the latest version of Perl.

How do I go about uninstalling the version that was installed with the OS (HPUX 11.11)?

I'm assuming I must do this as the newer version that I downloaded is v5.8.5 from perl.com and the depot wants to install it to a different location in the filesys than the current version...
8 REPLIES 8
Steven E. Protter
Exalted Contributor

Re: Perl: Upgrading

I was not aware that perl.com had depot versions of perl for HP-UX.

I suggest you take the following course:

1) back up the system so you can get back to where you started
2) swremove the old version of perl
3) swinstall the new version of perl

This should work well, though you may need to modify the search PATH and SHLIB_PATH variables based on the new location.

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
H.Merijn Brand (procura
Honored Contributor

Re: Perl: Upgrading

If you want to build perl yourself, you'd have to fetch the sources from perl.org, not from perl.com, which indeed does not have depot's for as far as I know

Easiest way is to just leave whatever perl is installed on your system in place (except when it's perl4, which can be removed anyway) and then make a choice of the available binary ports for perl

The HP-Porting center has pretty recent builds in depot's, which install, depending on the version you fetch, in either /opt/perl or /usr/local

My binariy ports are compressed archives that I expect to be installed on /opt/perl or /opt/perl64

Whatever method you choose, just make sure that your $PATH is set up so that the perl version you want to use can be found in your $PATH prior to any other version

My most recent build is 5.8.6 and includes DBI-1.46 and Tk-804.027

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
Enjoy, Have FUN! H.Merijn
Stanimir
Trusted Contributor

Re: Perl: Upgrading

The simpliest way to do what you want is SAM:

SAM -> Software Management
and using appropriated options.

The latest version of perl could be find:

www.perl.com/CPAN/src/latest.tar.gz

or if you dont want to compile it:

hpux.connect.org.uk/hppd/hpux/Languages/perl-5.8.5/

Regards
H.Merijn Brand (procura
Honored Contributor

Re: Perl: Upgrading

Just for the record, if you download that CPAN source file, you will get 5.8.6, which is the most recent stable today.

There's nothing wrong with 5.8.5, I still use that myself.

Both 5.8.5 and 5.8.6 are available from my site for all HP-UX

Enjoy, Have FUN! H.Merijn [ who finds compiling with HP C-ANSI-C a good reason to start from scratch ]
Enjoy, Have FUN! H.Merijn
Tim_125
Occasional Contributor

Re: Perl: Upgrading

Thanks all.

I went witht the depot from perl.com and everything is working fine.
H.Merijn Brand (procura
Honored Contributor

Re: Perl: Upgrading

Can you please tell me where you found the depot on perl.com, so I might add that to the standard HPUX documentation in Perl. That would help people in the future.

Enjoy, Have FUN! H.Merijn [ Who silently hopes it's not the ActiveState build ... ]
Enjoy, Have FUN! H.Merijn
Patrick Wallek
Honored Contributor

Re: Perl: Upgrading

Merijn,

http://www.perl.com/CPAN/ports/index.html#hpux

It appears that for 5.8.5 that merely point to the HP-UX porting centre.
H.Merijn Brand (procura
Honored Contributor

Re: Perl: Upgrading

Ahh, OK. That's Jarkko's page. He was perl-5.8.[01]'s pumpking. Indeed these refer to the porting center and my own site. Thanks.

No points here please.

Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn