Compiling/Installing Python 2.2.1 on AIX 4.3.3 Help
Sean Abrahams
sa at sfsu.edu
Tue Aug 13 18:15:45 EDT 2002
Python 2.2.1 installation woes on AIX 4.3.3 IBM Pseries 660
Extracted Python 2.2.1, ./configure results in:
"""
Python-2.2.1:-> ./configure
loading cache ./config.cache
checking MACHDEP... aix4
checking for --without-gcc...
checking for --with-cxx=<compiler>... no
checking for c++... no
checking for g++... g++
checking whether the C++ compiler (g++ ) works... yes
checking whether the C++ compiler (g++ ) is a cross-compiler... no
checking for gcc... cc_r
checking whether the C compiler (cc_r ) works... no
configure: error: installation or configuration problem: C compiler
cannot create executables.
"""
Running ./configure --with-gcc WORKS (with threads enabled), but FAILS
during MAKE. I get a whole lot of the following:
"""
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include
-DHAVE_CONFIG_H -o Modules/python.o Modules/python.c
In file included from Include/Python.h:122,
from Modules/python.c:3:
Include/pyfpe.h:8: warning: `\' followed by white space at end of line
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I.
-I./Include -DHAVE_CONFIG_H -o Parser/acceler.o Parser/acceler.c
gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I.
-I./Include -DHAVE_CONFIG_H -o Parser/grammar1.o Parser/grammar1.c
In file included from Include/Python.h:122,
from Parser/grammar1.c:4:
"""
And MAKE finally fails with:
"""
In file included from
/home/sean/python/Python-2.2.1/Include/Python.h:122,
from
/home/sean/python/Python-2.2.1/Modules/_cursesmodule.c:103:
/home/sean/python/Python-2.2.1/Include/pyfpe.h:8: warning: `\'
followed by white space at end of line
./Modules/ld_so_aix gcc -bI:Modules/python.exp
build/temp.aix-4.3-2.2/_cursesmodule.o -L/usr/local/lib -lcurses
-ltermcap -o build/lib.aix-4.3-2.2/_curses.so
collect2: Library libtermcap not found
WARNING: removing "_curses" since importing it failed
error: build/lib.aix-4.3-2.2/_curses.so: No such file or directory
make: 1254-004 The error code from the last command is 1.
Stop.
"""
I'm also having trouble with DCOracle2, but I'll leave those for
later. Any AIX experts out there that can help me?
Thanks,
Sean
More information about the Python-list
mailing list