Compiling Perl on AIX (7.1)

rpm -i libiconv-1.14-2.aix5.1.ppc.rpm gmp-5.0.5-1.aix5.1.ppc.rpm mpfr-3.1.2-1.aix5.1.ppc.rpm libmpc-1.0.1-2.aix5.1.ppc.rpm

rpm -U gcc-4.8.1-1.aix7.1.ppc.rpm gcc-cpp-4.8.1-1.aix7.1.ppc.rpm libgcc-4.8.1-1.aix7.1.ppc.rpm

./Configure -d -Dcc=gcc -Duseshrplib -Dprefix=/usr/opt/perl5_32

make

make test

make install

 

// 64bit

export OBJECT_MODE=64

./Configure \
-d \
-Dcc=cc_r \
-Duseshrplib \
-Duse64bitall \
-Dcc=’gcc -maix64′ \
-Dprefix=/usr/opt/perl5_64

 

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.