Builing Python 2.6 on AIX 5.2

brasse thebrasse at gmail.com
Mon Oct 6 04:16:27 EDT 2008


Hello!

I am having some trouble building Python 2.6 on AIX. The steps I have
taken are:

export PATH=/usr/bin/:/usr/vacpp/bin/
./configure --with-gcc=xlc_r --with-cxx=xlC_r --disable-ipv6
make

This is the error message I'm seeing:
./Modules/ld_so_aix xlc_r -bI:Modules/python.exp build/
temp.aix-5.2-2.6/home/mabr/Python-2.6/Modules/_multiprocessing/
multiprocessing.o build/temp.aix-5.2-2.6/home/mabr/Python-2.6/Modules/
_multiprocessing/socket_connection.o build/temp.aix-5.2-2.6/home/mabr/
Python-2.6/Modules/_multiprocessing/semaphore.o -L/usr/local/lib -o
build/lib.aix-5.2-2.6/_multiprocessing.so
ld: 0711-317 ERROR: Undefined symbol: .sem_timedwait
ld: 0711-317 ERROR: Undefined symbol: .CMSG_SPACE
ld: 0711-317 ERROR: Undefined symbol: .CMSG_LEN
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
*** WARNING: renaming "_multiprocessing" since importing it failed: No
such file or directory
error: No such file or directory
make: The error code from the last command is 1.

Have someone on this list had similar problems? Am I missing some
libraries? The configure script runs without errors, I would have
expected some kind of error there if I was missing something.

Regards,
Mattias



More information about the Python-list mailing list