source: trunk/essentials/dev-lang/perl/README.hpux@ 3210

Last change on this file since 3210 was 3181, checked in by bird, 19 years ago

perl 5.8.8

File size: 23.7 KB
Line 
1If you read this file _as_is_, just ignore the funny characters you see.
2It is written in the POD format (see pod/perlpod.pod) which is specially
3designed to be readable as is.
4
5=head1 NAME
6
7README.hpux - Perl version 5 on Hewlett-Packard Unix (HP-UX) systems
8
9=head1 DESCRIPTION
10
11This document describes various features of HP's Unix operating system
12(HP-UX) that will affect how Perl version 5 (hereafter just Perl) is
13compiled and/or runs.
14
15=head2 Using perl as shipped with HP-UX
16
17Application release September 2001, HP-UX 11.00 is the first to ship
18with Perl. By the time it was perl-5.6.1 in /opt/perl. The first
19occurrence is on CD 5012-7954 and can be installed using
20
21 swinstall -s /cdrom perl
22
23assuming you have mounted that CD on /cdrom. In this version the
24following 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
35The build was a portable hppa-1.1 multithread build that supports large
36files compiled with gcc-2.9-hppa-991112
37
38If you perform a new installation, then Perl will be installed
39automatically.
40
41More recent (preinstalled) HP-UX systems have more recent versions of
42Perl and the updated modules.
43
44=head2 Using perl from HP's porting centre
45
46HP porting centre tries very hard to keep up with customer demand and
47release updates from the Open Source community. Having precompiled
48Perl binaries available is obvious.
49
50The HP porting centres are limited in what systems they are allowed
51to port to and they usually choose the two most recent OS versions
52available. This means that at the moment of writing, there are only
53HP-UX 11.11 (pa-risc 2.0) and HP-UX 11.23 (Itanium 2) ports available
54on the porting centres.
55
56HP has asked the porting centre to move Open Source binaries
57from /opt to /usr/local, so binaries produced since the start
58of July 2002 are located in /usr/local.
59
60One of HP porting centres URL's is http://hpux.connect.org.uk/
61The port currently available is built with GNU gcc.
62
63=head2 Compiling Perl 5 on HP-UX
64
65When compiling Perl, you must use an ANSI C compiler. The C compiler
66that ships with all HP-UX systems is a K&R compiler that should only be
67used to build new kernels.
68
69Perl can be compiled with either HP's ANSI C compiler or with gcc. The
70former is recommended, as not only can it compile Perl with no
71difficulty, but also can take advantage of features listed later that
72require the use of HP compiler-specific command-line flags.
73
74If you decide to use gcc, make sure your installation is recent and
75complete, and be sure to read the Perl INSTALL file for more gcc-specific
76details.
77
78=head2 PA-RISC
79
80HP's current Unix systems run on its own Precision Architecture
81(PA-RISC) chip. HP-UX used to run on the Motorola MC68000 family of
82chips, but any machine with this chip in it is quite obsolete and this