python 2.5.2 or Python 2.6 compilation problem on AIX 5.3

D

desas2

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
 
T

Terry Reedy

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

Have you checked all the directories on PATH to see if any contain
libpython2.5?
 
D

desas2

Have you checked all the directories on PATH to see if any contain
libpython2.5?

Thanks for your response. libpython2.5.a is in the current directory
same as Makefile.

Thank you.
Dinakar
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,904
Latest member
HealthyVisionsCBDPrice

Latest Threads

Top