Compiled Python 2.5.2 on AIX 5.3

Posted on 2008-04-08 15:01  流水  阅读(1088)  评论(1)    收藏  举报
[root@lpar3:/test]#rpm -ivh ncurse*.rpm
ncurses                     ##################################################
ncurses-devel               ##################################################
[root@lpar3:/test]#rpm -ivh tar-1.14-2.aix5.1.ppc.rpm
tar                         ##################################################
[root@lpar3:/test]#/opt/freeware/bin/tar -xjvf Python-2.5.2.tar.bz2
[root@lpar3:/test]# cd /lib
[root@lpar3:/lib]# ln -s libtcl8.3.so libtcl8.3.a
[root@lpar3:/lib]# ln -s libtk8.3.so libtk8.3.a
[root@lpar3:/lib]# cd /test
[root@lpar3:/test]# ./configure CC=cc_r CXX=xlC_r \
        --without-gcc \
        --with-gcc=cc_r \
        --disable-shared \
        --with-thread \
        --disable-ipv6 \
        --mandir=/usr/local/man \
        --infodir=/usr/local/info

[root@lpar3:/test]# lslpp -l |grep vac
  vac.Bnd                    7.0.0.0  COMMITTED  IBM XL C Media Defined Bundles
  vac.C                      7.0.0.6  COMMITTED  IBM XL C Compiler
  vac.C.readme.ibm           7.0.0.0  COMMITTED  IBM XL C iFOR/LS Information
  vac.aix50.lib              7.0.0.6  COMMITTED  IBM XL C Compiler Libraries
  vac.html.common.search     7.0.0.0  COMMITTED  IBM XL C Compiler
  vac.html.en_US.C           7.0.0.0  COMMITTED  IBM XL C Compiler
  vac.lib                    7.0.0.0  COMMITTED  IBM XL C Compiler Libraries
  vac.lic                    7.0.0.0  COMMITTED  IBM XL C Licence Files
  vac.man.en_US              7.0.0.0  COMMITTED  IBM XL C Compiler Man
  vac.ndi                    7.0.0.5  COMMITTED  IBM XL C Non-Default
  vac.pdf.en_US.C            7.0.0.0  COMMITTED  IBM XL C Documentation
  vacpp.Bnd                  7.0.0.0  COMMITTED  IBM XL C/C++ Media Defined
  vacpp.cmp.aix50.lib        7.0.0.3  COMMITTED  IBM XL C/C++ Libraries for AIX
  vacpp.cmp.aix50.tools      7.0.0.0  COMMITTED  IBM XL C/C++ Tools for AIX 5.0
  vacpp.cmp.core             7.0.0.6  COMMITTED  IBM XL C/C++ Compiler
  vacpp.cmp.include          7.0.0.6  COMMITTED  IBM XL C/C++ Compiler Include
  vacpp.cmp.lib              7.0.0.0  COMMITTED  IBM XL C/C++ Libraries
  vacpp.cmp.rte              7.0.0.0  COMMITTED  IBM XL C/C++ Compiler
  vacpp.cmp.tools            7.0.0.6  COMMITTED  IBM XL C/C++ Tools
  vacpp.html.common          7.0.0.0  COMMITTED  IBM XL C/C++ Documentation
  vacpp.html.en_US           7.0.0.0  COMMITTED  IBM XL C/C++ Documentation
  vacpp.lic                  7.0.0.0  COMMITTED  IBM XL C/C++ Licence Files
  vacpp.licAgreement         7.0.0.0  COMMITTED  IBM XL C++ Electronic License
  vacpp.man.en_US            7.0.0.0  COMMITTED  IBM XL C/C++ Compiler Man
  vacpp.memdbg.aix50.lib     7.0.0.1  COMMITTED  IBM XL C/C++ User Heap/Memory
  vacpp.memdbg.aix50.rte     7.0.0.1  COMMITTED  IBM XL C/C++ User Heap/Memory
  vacpp.memdbg.lib           7.0.0.0  COMMITTED  IBM XL C/C++ User Heap and
  vacpp.memdbg.rte           7.0.0.0  COMMITTED  IBM XL C/C++ User Heap and
  vacpp.msg.en_US.cmp.tools  7.0.0.0  COMMITTED  IBM XL C/C++ Tools
  vacpp.ndi                  7.0.0.5  COMMITTED  IBM XL C/C++ Non-Default
  vacpp.pdf.en_US            7.0.0.0  COMMITTED  IBM XL C/C++ Documentation
  vac.C                      7.0.0.6  COMMITTED  IBM XL C Compiler
  vacpp.cmp.core             7.0.0.0  COMMITTED  IBM XL C/C++ Compiler

[root@lpar3:/test]# instfix -i |grep  ML
    All filesets for 5300-02_AIX_ML were found.
    All filesets for 5.3.0.0_AIX_ML were found.
    All filesets for 5300-01_AIX_ML were found.
    All filesets for 5300-03_AIX_ML were found.
    All filesets for 5300-04_AIX_ML were found.
    All filesets for 5300-05_AIX_ML were found.

[root@lpar3:/test]# make
[root@lpar3:/test]# make test
......
277 tests OK.
2 tests failed:
    test_mmap test_wait4
43 tests skipped:
    test_aepack test_al test_applesingle test_bsddb test_bsddb185
    test_bsddb3 test_cd test_cl test_codecmaps_cn test_codecmaps_hk
    test_codecmaps_jp test_codecmaps_kr test_codecmaps_tw test_ctypes
    test_curses test_dl test_gdbm test_gl test_gzip test_imgfile
    test_largefile test_linuxaudiodev test_macfs test_macostools
    test_nis test_normalization test_ossaudiodev test_pep277
    test_plistlib test_scriptpackages test_socket_ssl
    test_socketserver test_sqlite test_startfile test_sunaudiodev
    test_timeout test_urllib2net test_urllibnet test_winreg
    test_winsound test_zipfile64 test_zipimport test_zlib
2 skips unexpected on aix5:
    test_largefile test_ctypes
make: 1254-004 The error code from the last command is 1.
make: 1254-005 Ignored error code 1 from last command.
^C
[root@lpar3:/test]# make install