33
33
This will not build a threaded Perl, but a thread-enabled Perl. See
34
34
also L<Threaded Perl> later on.
36
As of writing (2010-05) only the I<IBM XL C for AIX> or I<IBM XL C/C++
37
for AIX> compiler is supported by IBM on AIX 5L/6.1.
36
As of writing (2010-09) only the I<IBM XL C for AIX> or I<IBM XL C/C++
37
for AIX> compiler is supported by IBM on AIX 5L/6.1/7.1.
39
39
The following compiler versions are currently supported by IBM:
41
IBM XL C and IBM XL C/C++ V8, V9, V10
41
IBM XL C and IBM XL C/C++ V8, V9, V10, V11
43
43
The XL C for AIX is integrated in the XL C/C++ for AIX compiler and
44
44
therefore also supported.
50
50
The PTF for APAR IZ35785 which solves this problem is available
51
51
from IBM (April 2009 PTF for XL C/C++ Enterprise Edition for AIX, V9.0).
53
If you choose XL C/C++ V11 you need the April 2010 PTF installed
54
otherwise you will not get a working Perl version.
53
If you choose XL C/C++ V11 you need the April 2010 PTF (or newer)
54
installed otherwise you will not get a working Perl version.
56
56
Perl can be compiled with either IBM's ANSI C compiler or with gcc.
57
57
The former is recommended, as not only it can compile Perl with no
73
73
detected. If you want to build Perl with GDBM support then please install
74
74
at least gdbm-devel-1.8.3-5 (or higher).
76
=head2 Perl 5.12 was successfully compiled and tested on:
76
=head2 Perl 5 was successfully compiled and tested on:
78
AIX Level | Compiler Level | w th | w/o th
79
---------------------+---------------------------+------+-------
80
5.1 TL9 32 bit | XL C/C++ V7 | OK | OK
81
5.1 TL9 64 bit | XL C/C++ V7 | OK | OK
82
5.2 TL10 SP8 32 bit | XL C/C++ V8 | OK | OK
83
5.2 TL10 SP8 32 bit | gcc 3.2.2 | OK | OK
84
5.2 TL10 SP8 64 bit | XL C/C++ V8 | OK | OK
85
5.3 TL8 SP8 32 bit | XL C/C++ V9 + IZ35785 | OK | OK
86
5.3 TL8 SP8 32 bit | gcc 4.2.4 | OK | OK
87
5.3 TL8 SP8 64 bit | XL C/C++ V9 + IZ35785 | OK | OK
88
5.3 TL10 SP3 32 bit | XL C/C++ V11 + April 2010 | OK | OK
89
5.3 TL10 SP3 64 bit | XL C/C++ V11 + April 2010 | OK | OK
90
6.1 TL1 SP7 32 bit | XL C/C++ V10 | OK | OK
91
6.1 TL1 SP7 64 bit | XL C/C++ V10 | OK | OK
78
Perl | AIX Level | Compiler Level | w th | w/o th
79
-------+---------------------+-------------------------+------+-------
80
5.12.3 |5.1 TL9 32 bit | XL C/C++ V7 | OK | OK
81
5.12.3 |5.1 TL9 64 bit | XL C/C++ V7 | OK | OK
82
5.12.3 |5.2 TL10 SP8 32 bit | XL C/C++ V8 | OK | OK
83
5.12.3 |5.2 TL10 SP8 32 bit | gcc 3.2.2 | OK | OK
84
5.12.3 |5.2 TL10 SP8 64 bit | XL C/C++ V8 | OK | OK
85
5.12.3 |5.3 TL8 SP8 32 bit | XL C/C++ V9 + IZ35785 | OK | OK
86
5.12.3 |5.3 TL8 SP8 32 bit | gcc 4.2.4 | OK | OK
87
5.12.3 |5.3 TL8 SP8 64 bit | XL C/C++ V9 + IZ35785 | OK | OK
88
5.12.3 |5.3 TL10 SP3 32 bit | XL C/C++ V11 + Apr 2010 | OK | OK
89
5.12.3 |5.3 TL10 SP3 64 bit | XL C/C++ V11 + Apr 2010 | OK | OK
90
5.12.3 |6.1 TL1 SP7 32 bit | XL C/C++ V10 | OK | OK
91
5.12.3 |6.1 TL1 SP7 64 bit | XL C/C++ V10 | OK | OK
92
5.13 |7.1 TL0 SP1 32 bit | XL C/C++ V11 + Jul 2010 | OK | OK
93
5.13 |7.1 TL0 SP1 64 bit | XL C/C++ V11 + Jul 2010 | OK | OK
93
95
w th = with thread support
94
96
w/o th = without thread support
124
126
=head2 Threaded Perl
126
Should yield no problems with AIX 5.1 / 5.2 / 5.3 and 6.1.
128
Should yield no problems with AIX 5.1 / 5.2 / 5.3 / 6.1 / 7.1.
128
130
IBM uses the AIX system Perl (V5.6.0 on AIX 5.1 and V5.8.2 on
129
AIX 5.2 / 5.3 and 6.1; V5.8.8 on AIX 5.3 TL11 and AIX 6.1 TL4) for
130
some AIX system scripts. If you switch the links in /usr/bin from the
131
AIX system Perl (/usr/opt/perl5) to the newly build Perl then you
132
get the same features as with the IBM AIX system Perl if the threaded
131
AIX 5.2 / 5.3 and 6.1; V5.8.8 on AIX 5.3 TL11 and AIX 6.1 TL4; V5.10.1
132
on AIX 7.1) for some AIX system scripts. If you switch the links in
133
/usr/bin from the AIX system Perl (/usr/opt/perl5) to the newly build
134
Perl then you get the same features as with the IBM AIX system Perl if
135
the threaded options are used.
135
137
The threaded Perl build works also on AIX 5.1 but the IBM Perl
136
138
build (Perl v5.6.0) is not threaded on AIX 5.1.
138
Perl 5.12 is not compatible with the IBM fileset perl.libext.
140
Perl 5.12 an newer is not compatible with the IBM fileset perl.libext.
140
142
=head2 64-bit Perl
155
157
The -1 removes this limit. If the "make test" fails please change
156
158
your /etc/security/limits as stated above.
158
=head2 Recommended Options AIX 5.1/5.2/5.3 and 6.1 (threaded/32-bit)
160
=head2 Recommended Options AIX 5.1/5.2/5.3/6.1 and 7.1 (threaded/32-bit)
160
162
With the following options you get a threaded Perl version which
161
163
passes all make tests in threaded 32-bit mode, which is the default
172
174
The -Dprefix option will install Perl in a directory parallel to the
173
175
IBM AIX system Perl installation.
175
=head2 Recommended Options AIX 5.1/5.2/5.3 and 6.1 (32-bit)
177
=head2 Recommended Options AIX 5.1/5.2/5.3/6.1 and 7.1 (32-bit)
177
179
With the following options you get a Perl version which passes
178
180
all make tests in 32-bit mode.
187
189
The -Dprefix option will install Perl in a directory parallel to the
188
190
IBM AIX system Perl installation.
190
=head2 Recommended Options AIX 5.1/5.2/5.3 and 6.1 (threaded/64-bit)
192
=head2 Recommended Options AIX 5.1/5.2/5.3/6.1 and 7.1 (threaded/64-bit)
192
194
With the following options you get a threaded Perl version which
193
195
passes all make tests in 64-bit mode.
204
206
-Dprefix=/usr/opt/perl5_64
206
=head2 Recommended Options AIX 5.1/5.2/5.3 and 6.1(64-bit)
208
=head2 Recommended Options AIX 5.1/5.2/5.3/6.1 and 7.1 (64-bit)
208
210
With the following options you get a Perl version which passes all
209
211
make tests in 64-bit mode.