| 1 | If you read this file _as_is_, just ignore the funny characters you see.
|
|---|
| 2 | It is written in the POD format (see pod/perlpod.pod) which is specially
|
|---|
| 3 | designed to be readable as is.
|
|---|
| 4 |
|
|---|
| 5 | =head1 NAME
|
|---|
| 6 |
|
|---|
| 7 | README.hpux - Perl version 5 on Hewlett-Packard Unix (HP-UX) systems
|
|---|
| 8 |
|
|---|
| 9 | =head1 DESCRIPTION
|
|---|
| 10 |
|
|---|
| 11 | This document describes various features of HP's Unix operating system
|
|---|
| 12 | (HP-UX) that will affect how Perl version 5 (hereafter just Perl) is
|
|---|
| 13 | compiled and/or runs.
|
|---|
| 14 |
|
|---|
| 15 | =head2 Using perl as shipped with HP-UX
|
|---|
| 16 |
|
|---|
| 17 | Application release September 2001, HP-UX 11.00 is the first to ship
|
|---|
| 18 | with Perl. By the time it was perl-5.6.1 in /opt/perl. The first
|
|---|
| 19 | occurrence is on CD 5012-7954 and can be installed using
|
|---|
| 20 |
|
|---|
| 21 | swinstall -s /cdrom perl
|
|---|
| 22 |
|
|---|
| 23 | assuming you have mounted that CD on /cdrom. In this version the
|
|---|
| 24 | following modules were installed:
|
|---|
| 25 |
|
|---|
| 26 | ActivePerl::DocTools-0.04 HTML::Parser-3.19 XML::DOM-1.25
|
|---|
| 27 | Archive::Tar-0.072 HTML::Tagset-3.03 XML::Parser-2.27
|
|---|
| 28 | Compress::Zlib-1.08 MIME::Base64-2.11 XML::Simple-1.05
|
|---|
| 29 | Convert::ASN1-0.10 Net-1.07 XML::XPath-1.09
|
|---|
| 30 | Digest::MD5-2.11 PPM-2.1.5 XML::XSLT-0.32
|
|---|
| 31 | File::CounterFile-0.12 SOAP::Lite-0.46 libwww-perl-5.51
|
|---|
| 32 | Font::AFM-1.18 Storable-1.011 libxml-perl-0.07
|
|---|
| 33 | HTML-Tree-3.11 URI-1.11 perl-ldap-0.23
|
|---|
| 34 |
|
|---|
| 35 | The build was a portable hppa-1.1 multithread build that supports large
|
|---|
| 36 | files compiled with gcc-2.9-hppa-991112
|
|---|
| 37 |
|
|---|
| 38 | If you perform a new installation, then Perl will be installed
|
|---|
| 39 | automatically.
|
|---|
| 40 |
|
|---|
| 41 | More recent (preinstalled) HP-UX systems have more recent versions of
|
|---|
| 42 | Perl and the updated modules.
|
|---|
| 43 |
|
|---|
| 44 | =head2 Using perl from HP's porting centre
|
|---|
| 45 |
|
|---|
| 46 | HP porting centre tries very hard to keep up with customer demand and
|
|---|
| 47 | release updates from the Open Source community. Having precompiled
|
|---|
| 48 | Perl binaries available is obvious.
|
|---|
| 49 |
|
|---|
| 50 | The HP porting centres are limited in what systems they are allowed
|
|---|
| 51 | to port to and they usually choose the two most recent OS versions
|
|---|
| 52 | available. This means that at the moment of writing, there are only
|
|---|
| 53 | HP-UX 11.11 (pa-risc 2.0) and HP-UX 11.23 (Itanium 2) ports available
|
|---|
| 54 | on the porting centres.
|
|---|
| 55 |
|
|---|
| 56 | HP has asked the porting centre to move Open Source binaries
|
|---|
| 57 | from /opt to /usr/local, so binaries produced since the start
|
|---|
| 58 | of July 2002 are located in /usr/local.
|
|---|
| 59 |
|
|---|
| 60 | One of HP porting centres URL's is http://hpux.connect.org.uk/
|
|---|
| 61 | The port currently available is built with GNU gcc.
|
|---|
| 62 |
|
|---|
| 63 | =head2 Compiling Perl 5 on HP-UX
|
|---|
| 64 |
|
|---|
| 65 | When compiling Perl, you must use an ANSI C compiler. The C compiler
|
|---|
| 66 | that ships with all HP-UX systems is a K&R compiler that should only be
|
|---|
| 67 | used to build new kernels.
|
|---|
| 68 |
|
|---|
| 69 | Perl can be compiled with either HP's ANSI C compiler or with gcc. The
|
|---|
| 70 | former is recommended, as not only can it compile Perl with no
|
|---|
| 71 | difficulty, but also can take advantage of features listed later that
|
|---|
| 72 | require the use of HP compiler-specific command-line flags.
|
|---|
| 73 |
|
|---|
| 74 | If you decide to use gcc, make sure your installation is recent and
|
|---|
|
|---|