Operating System - Linux
1751976 Members
4687 Online
108784 Solutions
New Discussion юеВ

Help in installing perl5.8.0

 
SOLVED
Go to solution
shajes_1
Occasional Advisor

Help in installing perl5.8.0

Hi,

I have an older version of perl running and i want to upgrade it to perl5.8.0. Can anyone tell me which other directories other than /opt/perl is important while installing.

I may need to revert back to old version if perl5.8.0 dont solve my purpose.
6 REPLIES 6
Arunvijai_4
Honored Contributor

Re: Help in installing perl5.8.0

Hello,

You can go for Procura's perl build which can be downloaded from, http://mirrors.develooper.com/hpux/

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Steven E. Protter
Exalted Contributor

Re: Help in installing perl5.8.0

Shalom,

Prior to the install, mv /opt/perl to /opt/perl.old

This should permit you to use PERL5 from http://software.hp.com

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
Solution

Re: Help in installing perl5.8.0

As SEP said, you can move /opt/perl to /opt/perl.old, however

1. different versions of perl can live side-by-side in the same tree, as they each have their own subtree. Just moving the perl binary can already be enough

# cd /opt/perl/bin
# mv perl perl5.6.2
# swinstall -s /tmp/perl-5.8.0.depot perl

... test

if things fail

# cd /opt/perl/bin
# mv perl perl5.8.0
# cp perl5.6.2 perl

Then all should still work.


2. I don't consider moving to 5.8.0 an upgrade, unless you are coming from 5.005_02 or lower. Why not push to 5.8.7 or 5.8.8 while you make the move. A lot of bugs have been fixed since 5.8.0

Choose the perl distribution wisely! Do you need/want a 32bit build or a 64bit build. Do you want threaded perl or not?

All my 5.8.x builds are non-threaded perl binaries with defined-or. The depots for 11.00, 11.11, and 11.23 contain both a 32bit build (installs in /opt/perl) and a 64bit build (installs in /opt/perl64)

Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
shajes_1
Occasional Advisor

Re: Help in installing perl5.8.0

Hi,

The perl version is suggested by our development team for 64 bit. I will just try with this and if needed will use a higher version.
Arunvijai_4
Honored Contributor

Re: Help in installing perl5.8.0

Hello,

Add on, If you want a 64 bit perl, you will get it at the time of installing Perl depot from http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=PERL

You will have a fileset or product named as Perl5-64.PERL-*

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
H.Merijn Brand (procura
Honored Contributor

Re: Help in installing perl5.8.0

The developer team for what?

I am one of the perl CORE developers, and certainly if you are going to use perl5 in 64bit mode do NOT use 5.8.*0*, but *please*, please, please use 5.8.5 or up.
There have been numerous 64bit related fixes to perl5.8 since 5.8.0

I would recommend to just use the latest STABLE release: 5.8.8

Get 5.8.8 from my site (1), or 5.8.7 from the porting center (2).

1) http://mirrors.develooper.com/hpux/#Perl
2) http://hpux.connect.org.uk/hppd/hpux/Languages/perl-5.8.7/

Two excepts from the perldelta's regarding 64bit changes:

5.8.8. "Nicholas Clark changed the string buffer allocation so that it is now rounded up to the next multiple of 4 (or 8 on platforms with 64 bit pointers). This should reduce the number of calls to realloc without actually using any extra memory."
5.8.6. "On platforms with 64 bit pointers numeric comparison operators used to erroneously compare the addresses of references that are overloaded, rather than using the overloaded values. This has been fixed."

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