$ oslevel -r
5300-06
Nothing special about the Perl 5.10 sources that I know of.
$ csum -h MD5 perl-5.10.0.tar.gz
d2c39b002ebfd2c3c5dba589365c5a71 perl-5.10.0.tar.gz
Here are my xlC lib versions.
$ lslpp -l xlC\*
Fileset Level State Description
----------------------------------------------------------------------------
Path: /usr/lib/objrepos
xlC.adt.include 8.0.0.4 COMMITTED C Set ++ Application
Development Toolkit
xlC.aix50.rte 8.0.0.8 COMMITTED C Set ++ Runtime for AIX 5.0
xlC.cpp 6.0.0.0 COMMITTED C for AIX Preprocessor
xlC.msg.en_US.cpp 6.0.0.0 COMMITTED C for AIX Preprocessor
Messages--U.S. English
xlC.msg.en_US.rte 8.0.0.8 COMMITTED C Set ++ Runtime
Messages--U.S. English
xlC.rte 8.0.0.8 COMMITTED C Set ++ Runtime
I used VAC.
$ lslpp -l vac\*
Fileset Level State Description
----------------------------------------------------------------------------
Path: /usr/lib/objrepos
vac.Bnd 8.0.0.0 COMMITTED IBM XL C Media Defined Bundles
vac.C 8.0.0.0 COMMITTED IBM XL C Compiler
vac.aix50.lib 8.0.0.0 COMMITTED IBM XL C Compiler Libraries
for AIX 5.0
vac.html.common.search 8.0.0.0 COMMITTED IBM XL C Compiler
Documentation Search Common
Files
vac.html.en_US.C 8.0.0.0 COMMITTED IBM XL C Compiler
Documentation (HTML)--U.S.
English
vac.include 8.0.0.0 COMMITTED IBM XL C Compiler Include
Files
vac.lib 8.0.0.0 COMMITTED IBM XL C Compiler Libraries
vac.man.en_US 8.0.0.0 COMMITTED IBM XL C Compiler Man
Pages--U.S. English
vac.msg.en_US.C 8.0.0.0 COMMITTED IBM XL C Compiler Messages -
en_US
vac.ndi 8.0.0.0 COMMITTED IBM XL C Non-Default
Installation Script
vacpp.Bnd 8.0.0.0 COMMITTED IBM XL C/C++ Media Defined
Bundles
vacpp.cmp.aix50.lib 8.0.0.0 COMMITTED IBM XL C/C++ Libraries for AIX
5.0
vacpp.cmp.aix50.tools 8.0.0.0 COMMITTED IBM XL C/C++ Tools for AIX 5.0
vacpp.cmp.core 8.0.0.0 COMMITTED IBM XL C/C++ Compiler
vacpp.cmp.include 8.0.0.0 COMMITTED IBM XL C/C++ Compiler Include
Files
vacpp.cmp.lib 8.0.0.0 COMMITTED IBM XL C/C++ Libraries
vacpp.cmp.rte 8.0.0.0 COMMITTED IBM XL C/C++ Compiler
Application Runtime
vacpp.cmp.tools 8.0.0.0 COMMITTED IBM XL C/C++ Tools
vacpp.html.common 8.0.0.0 COMMITTED IBM XL C/C++ Documentation
(HTML)--Common Files
vacpp.html.en_US 8.0.0.0 COMMITTED IBM XL C/C++ Documentation
(HTML)--U.S. English
vacpp.man.en_US 8.0.0.0 COMMITTED IBM XL C/C++ Compiler Man
Pages--U.S. English
vacpp.memdbg.aix50.lib 8.0.0.0 COMMITTED IBM XL C/C++ User Heap/Memory
Debug AIX 5.0 Libraries
vacpp.memdbg.aix50.rte 8.0.0.0 COMMITTED IBM XL C/C++ User Heap/Memory
Debug AIX 5.0 Runtime
vacpp.memdbg.lib 8.0.0.0 COMMITTED IBM XL C/C++ User Heap and
Memory Debug Static Libraries
vacpp.memdbg.rte 8.0.0.0 COMMITTED IBM XL C/C++ User Heap and
Memory Debug Runtime
vacpp.msg.en_US.cmp.core 8.0.0.0 COMMITTED IBM XL C/C++ Compiler
Messages--U.S. English
vacpp.msg.en_US.cmp.tools 8.0.0.0 COMMITTED IBM XL C/C++ Tools
Messages--U.S. English
vacpp.ndi 8.0.0.0 COMMITTED IBM XL C/C++ Non-Default
Installation Script
vacpp.tnb 8.0.0.0 COMMITTED IBM XL C/C++ Evaluation
Licence Files
Path: /etc/objrepos
vac.C 8.0.0.0 COMMITTED IBM XL C Compiler
vacpp.cmp.core 8.0.0.0 COMMITTED IBM XL C/C++ Compiler
vacpp.tnb 8.0.0.0 COMMITTED IBM XL C/C++ Evaluation
Licence Files
I had to put /usr/vac/bin in my PATH.
My configure command was:
sh Configure -Dprefix=/home/my/perl -Dusethreads
I installed Perl in my own special out of the way place. I certainly did not replace the system Perl. That would be asking for trouble.
And that is all I did special, and it all just worked. The basic directions from INSTALL:
make
make test
make install
All just worked. Amazing on AIX, I know.
My perl is working fine so far.
$ /home/my/perl/bin/perl --version
This is perl, v5.10.0 built for aix-thread-multi
Hi, good job!
ReplyDeleteDid you use AIX make/yacc/... or some GNU tools, 32bit compilation on 64bit kernel?
I will try it after Xmas, perhaps with Power5/6 optimizations?
Did you ever try to tweak MAXDATA to allow >256MB dynamic memory for perl? (check with dump -ov perl_exec_filename)