This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author tiriss
Recipients
Date 2007-04-04.17:34:41
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
AIX 5.3.0.0 gcc 4.0.0 tk8.4 tcl8.4 xlc_r 6.0.0 cc_r 6.0.0

Regardless of which of the compilers I use gcc, xlc_r, or cc_r, I get the following error after I hit make:

creating build/temp.aix-5.3-2.5/opt/freeware/src/packages/Python-2.5/Modules
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I/opt/freeware/src/packages/Python-2.5/./Include -I./Include -I. -I/usr/local/include -I/opt/freeware/src/packages/Python-2.5/Include -I/opt/freeware/src/packages/Python-2.5 -c /opt/freeware/src/packages/Python-2.5/Modules/_struct.c -o build/temp.aix-5.3-2.5/opt/freeware/src/packages/Python-2.5/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/opt/freeware/src/packages/Python-2.5/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

For some reason when I use xlc_r or gcc, it fails to find the local libpython2.5.a library that is residing in the current directory.  When I use cc_r, it fails to  find libtcl8.4.so and libtk8.4.so even though there are copies of those in the local . directory.

Any help would be appreciated.  Here are the configures I used:

./configure --with-gcc="xlc_r -q64" --with-cxx="xlC_r -q64" \
         --disable-ipv6 AR="ar -X64" --enable-shared

or 
./configure --with-gcc --with-cxx=g++ \
            --disable-ipv6 --enable-shared

or
configure --disable-ipv6

Let me know if there is other information you need.
History
Date User Action Args
2007-08-23 14:52:55adminlinkissue1694442 messages
2007-08-23 14:52:55admincreate