lishenghan 发表于 2015-4-25 06:35:31

Compiled Python 2.5.2 on AIX 5.3

#rpm -ivh ncurse*.rpm
ncurses                     ##################################################
ncurses-devel               ##################################################
#rpm -ivh tar-1.14-2.aix5.1.ppc.rpm
tar                         ##################################################
#/opt/freeware/bin/tar -xjvf Python-2.5.2.tar.bz2
# cd /lib
# ln -s libtcl8.3.so libtcl8.3.a
# ln -s libtk8.3.so libtk8.3.a
# cd /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

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

# instfix -i |grepML
    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.

# make
# 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
# make install
页: [1]
查看完整版本: Compiled Python 2.5.2 on AIX 5.3