Compiling python2.5 on IBM AIX

bravo.loic at gmail.com bravo.loic at gmail.com
Mon Jul 16 06:29:56 EDT 2007


    hi,

I'm trying to make a local install of python 2.5 on AIX and I'm
getting some trouble with _curses.

Here is how I tried to compile it :


export BASE=/usr/local/python251

cd Python.2.5.1
./configure --prefix=${BASE}/\
    LDFLAGS="-L\${BASE}/lib/"\
    PPFLAGS="-I\${BASE}/include/"\

make
make test
make altinstall

and the compilation stop with the following pb :

ld: 0711-317 ERROR: Undefined symbol: _unctrl
ld: 0711-317 ERROR: Undefined symbol: .__fixsfsi
ld: 0711-317 ERROR: Undefined symbol: .setsyx
ld: 0711-317 ERROR: Undefined symbol: ._setqiflush
ld: 0711-317 ERROR: Undefined symbol: .initscr32
ld: 0711-317 ERROR: Undefined symbol: wacs_map
ld: 0711-317 ERROR: Undefined symbol: ._getsyx
ld: 0711-317 ERROR: Undefined symbol: .getattrs
ld: 0711-317 ERROR: Undefined symbol: .w32attrset
ld: 0711-317 ERROR: Undefined symbol: .w32insch
ld: 0711-317 ERROR: Undefined symbol: .p32echochar
ld: 0711-317 ERROR: Undefined symbol: .w32echochar
ld: 0711-317 ERROR: Undefined symbol: .box32
ld: 0711-317 ERROR: Undefined symbol: .w32addch
ld: 0711-317 ERROR: Undefined symbol: .w32attroff
ld: 0711-317 ERROR: Undefined symbol: .w32attron
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
*** WARNING: renaming "_curses" since importing it failed: No such
file or directory
error: No such file or directory
make: 1254-004 The error code from the last command is 1.


Stop.

I've compiled ncurses-5.6 in ${BASE}/lib but this haven't solved the
pb.

Any clue ?

Best regards

--

BL




More information about the Python-list mailing list