Installation problem in AIX

Donn Cave donn at
Fri Sep 17 18:59:32 CEST 2004

In article <mailman.3441.1095413314.5135.python-list at>,
 <paul.baines at> wrote:

> I'm trying to install Python 2.3.4 in AIX 5.2 with gcc 2.9. After a lot
> of messing around I got the configure script to run using the following
> command (libm parameter found from python-list archives):
> configure --with-gcc --with-cxx=g++ --with-libm="" --disable-ipv6
> Now I have a problem running make:
>         ./Modules/makexp aix Modules/python.exp . libpython2.3.a;  gcc
> -Wl,-bE:Modules/python.exp -lld -o python  Modules/ccpython.o
> libpython2.3.a      
> collect2: /lib/libld.a: not a COFF file
> make: 1254-004 The error code from the last command is 1.
> I had the same "not a COFF file" error during configure with libm.a
> until I added the --with-libm="" parameter.
> Can anyone help?

If you actually could build with IBM's C compiler, do that,
and --with-cxx=no and OPT=-qmaxmem=8192.

   Donn Cave, donn at

More information about the Python-list mailing list