python 2.5.2 or Python 2.6 compilation problem on AIX 5.3

desas2 at gmail.com desas2 at gmail.com
Mon Dec 1 12:20:56 EST 2008


Hello:
I am trying to compile Python 2.5.2 on AIX 5.3 with gcc 4.2.3. I am
getting following error. (I also tried Python 2.6 with same error)

creating build/temp.aix-5.3-2.5/share/tmhsdsd2/tmp/Python-2.5.2/
Modules
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -
Wstrict-prototypes -I. -I/share/tmhsdsd2/tmp/Python-2.5.2/./Include -
I. -IInclude -I./Include -I/usr/local/include -I/share/tmhsdsd2/tmp/
Python-2.5.2/Include -I/share/tmhsdsd2/tmp/Python-2.5.2 -c /share/
tmhsdsd2/tmp/Python-2.5.2/Modules/_struct.c -o build/temp.aix-5.3-2.5/
share/tmhsdsd2/tmp/Python-2.5.2/Modules/_struct.o
creating build/lib.aix-5.3-2.5

./Modules/ld_so_aix gcc -pthread -bI:Modules/python.exp build/
temp.aix-5.3-2.5/share/tmhsdsd2/tmp/Python-2.5.2/Modules/_struct.o -L/
usr/local/lib -lpython2.5 -o build/lib.aix-5.3-2.5/_struct.so
collect2: library libpython2.5 not found
*** WARNING: renaming "_struct" since importing it failed:
0509-022 Cannot load module build/lib.aix-5.3-2.5.
        0509-026 System error: A file or directory in the path name
does not exist.
error: No such file or directory
make: 1254-004 The error code from the last command is 1.


Stop.


I am not able to find the problem. I would appreciate, if you could
help. I used following command line options to confugure.
 ./configure --prefix=/home/hci/dinakar/python25 -enable-shared --with-
gcc

Thank you.
Dinakar



More information about the Python-list mailing list