1848590 Members
3346 Online
104033 Solutions
New Discussion

Which Perl?

 
SOLVED
Go to solution
Mike Nemeth
Advisor

Which Perl?

I have and old hp9000/820/D380, currently running
10.20 that I'm going to rebuilt into a hpux 11.0
internal web server. I'm going to install
the lastest (or near) Perl on it.
Which perl should I use?
The one from HP or from the porting center or
one from https://www.beepz.com/personal/merijn/ ?

I plan DO on add other BINARIES (libpng zlib mrtg etc) from the porting center so am worried about run time dependances.

Thanks for any and all comments.
5 REPLIES 5
Mark Grant
Honored Contributor

Re: Which Perl?

Merijn IS perl. I'd always get his version if I were you. Just a personal opinion.
Never preceed any demonstration with anything more predictive than "watch this"
The Real MD
Valued Contributor

Re: Which Perl?

What version do your apps support it worth looking at what's going to be using perl.

here is the HP verion, which I think is perl 5.6.1

http://www.software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=PERL

Regards

Martin.
Steven E. Protter
Exalted Contributor

Re: Which Perl?

If you are going to do an OS install, go ahead and use 11i.

If you have any support needs, the life cycle is longer,etc.

You can have different versions of perl for different jobs. Merijn's is good. HP provides a choice between 5.6 and 5.8 in depot format.

The apache web server that ships with 11i comes with a version of perl i believe.

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: Which Perl?

Wow Mark, I think that's just too much of credit :)

A D series is one of the last architectures to support 32bit kernels, so if you go for HP-UX 11.00, (not 11i) you can still choose for a 32bit kernel.

Remember that a D series with a 64bit kernel does not support all hardware anymore (X.25 in not available for 64bit HP-UX on a D series). Be sure to check that before you upgrade.

Once you made a decision, you can choose your utilities and applications. If you chose 32bit kernel, all 64bit applications and utilities won't run at all. On a 64bit kernel, both will run fine, but not together: 32bit perl will run fine on 64bit kernel, but will not work with 64bit Oracle. HP-UX simply does not support mixing 32bit and 64bit binaries: for that you will need pipes, files or (more dangerously) shared memory.

In order to extend the Perl binary with XS modules, as you say you want, you need a matching compiler. All the public binaries I know of are built with GNU gcc. Try to get the best match. perl built with gcc-2.95 probably can be extended with gcc-3.x objects, but I doubt if it is possible the other way round. For all my binary distributions the matching compiler is available on the site too.

For 11i it is very important to choose the 11i ports. Since you have a D380, you are running PA-8000 family processors (PA-RISC-2.0), so both 11.00 and 11i ports from my site should work.

The latest stable release of perl at the time of writing is perl-5.8.3 in the 5.8.x range, and 5.6.2 in the 5.6.x range. Choose 5.8 in case you need Unicode, 64bit, or mod_perl. Choose 5.6 if you only need sheer performance and no bindings to any of the above.

Ah, and note that as of 5.8.3, I only ship perl with the defined-or patch in. Read about that on my page.

Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
Mike Nemeth
Advisor

Re: Which Perl?

I Will not running 11i and I just generate a 32 system.

I try not to build any software if I can.
I'll go either with the porting center perl
or Merijn's.
Thanks all.