PERLAIX
NAME DESCRIPTION AUTHOR DATE
README .aix - Perl version 5 on IBM Unix ( AIX ) systems
This document describes various features of IBM 's Unix operating system ( AIX ) that will affect how Perl version 5 (hereafter just Perl) is compiled and/or runs.
Compiling Perl 5 on AIX
When compiling Perl, you must use an ANSI C compiler. AIX does not ship an ANSI compliant C-compiler with AIX by default, but binary builds of gcc for AIX are widely available.
At the moment of writing, AIX supports two different native C compilers, for which you have to pay: xlc and VAC . If you decide to use eiter of these two (which is quite a lot easier than using gcc), be sure to upgrade to the latest available patch
vac.C 4.4.0.3 (5.0 is already available) Perl can be compiled with either IBM 's ANSI C compiler or with gcc. The former is recommended, as not only can it compile Perl with no difficulty, but also can take advantage of features listed later that require the use of IBM compiler-specific command-line flags.
If you decide to use gcc, make sure your installation is recent and complete, and be sure to read the Perl README file for more gcc-specific details.
OS level
Before installing the patches to the IBM C-compiler you need to know the level of patching for the Operating System. IBM 's command 'oslevel' will show the base, but is not always
4.3.0.0
bos.rte 4.3.2.1 COMMITTED Base Operating System Runtime bos.rte 4.3.2.0 COMMITTED Base Operating System Runtime #
Building Dynamic Extensions on AIX
AIX supports dynamically loadable libraries (shared libraries). Shared libraries end with the suffix .a, which is a bit misleading, because all libraries are shared ;-).
The IBM ANSI C Compiler
All defaults for Configure can be used.
If you've chosen to use vac 4, be sure to run 4.4.0.3. Older versions will turn up nasty later on.
Here's a brief lead of how to upgrade the compiler to the latest level. Of course this is subject to changes. You can only upgrade versions from ftp-available updates if the first three digit groups are the same (in where you can skip intermediate unlike the patches in the developer snapshots of perl), or to one version up where the `base' is available. In other words, the AIX compiler patches are cumulative.
vac.C.4.4.0.1 =
- ftp ftp.software.ibm.com
Connected to service.boulder.ibm.com. : welcome message ... Name (ftp.software.ibm.com:merijn): anonymous 331 Guest login ok, send your complete e-mail address as password. Password: ... accepted login stuff ftp
xlC.C 3.1.4.9 COMMITTED C for AIX Compiler xlC.C 3.1.4.0 COMMITTED C for AIX Compiler
#
vac.C 4.4.0.2 COMMITTED C for AIX Compiler vac.C 4.4.0.0 COMMITTED C for AIX Compiler
# Then execute the following command, and fill in its choices
- Follow the messages ... and you're done.
Using GNU 's gcc for building perl
... ?
Using Large Files with Perl
... ?
Threaded Perl
... ?
64-bit Perl
... ?
GDBM and Threads
... ?
NFS filesystems and utime__(2)?__
... ?
H.Merijn Brand
Structure copied from README .hpux
Version 0.0.1: 16-10-2000
One page links to perlaix(1):