[Python-bugs-list] [ python-Bugs-529713 ] Linking under AIX failing
noreply@sourceforge.net
noreply@sourceforge.net
Wed, 13 Mar 2002 18:08:31 -0800
Bugs item #529713, was opened at 2002-03-13 20:08
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=529713&group_id=5470
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Bob Plankers (plankers)
Assigned to: Nobody/Anonymous (nobody)
Summary: Linking under AIX failing
Initial Comment:
I am encountering a situation where Python fails to
link after compiling under AIX, using the VisualAge
C/C++ 5.0 compilers. After configuring the source with:
env CC=cc CXX=xlC ./configure --prefix=/usr/local --
host=rs6000-ibm-aix4.3.3.0
I issue a 'make' which runs properly until it attempts
to link:
ar cr libpython2.2.a Modules/config.o
Modules/getpath.o Modules/main.o Modules/gcmodule.o
ar cr libpython2.2.a Modules/threadmodule.o
Modules/signalmodule.o Modules/posixmodule.o
Modules/_sre.o Modules/newmodule.o
Modules/symtablemodule.o Modules/xxsubtype.o
ranlib libpython2.2.a
./Modules/makexp_aix Modules/python.exp ""
libpython2.2.a; -Wl,-bE:Modules/python.exp -lld -o
python Modules/python.o libpython2.2.a -ldl -lm
/bin/sh: -Wl,-bE:Modules/python.exp: not found
make: The error code from the last command is 127.
Stop.
...at this point, I can manually issue that last
command, inserting a "cc_r" before the -Wl,-
bE:Modules/python.exp in the command.
In looking at the Makefile generated, it appears that
the command to link Python is being issued without the
proper $(CC) in it. The relative section in the
Makefile is under "# Build the interpreter". I am not
familiar with the platform specific build options or
autoconf, but if you have questions or would like more
information let me know (bob@plankers.com).
Thank you!
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=529713&group_id=5470