build problems on AIX

E

ersher

I'm having trouble building Python 2.4.1 on AIX 5. I've
built/installed tcl/tk under ~/local, added ~/local/lib to my
$LD_LIBRARY_PATH, and set $LDFLAGS and $CPPFLAGS appropriately. I'm
still getting the following errors:

./Modules/ld_so_aix cc_r -bI:Modules/python.exp \
-L/home/me/local/lib -I/home/me/local/include \
build/temp.aix-5.1-2.4/_tkinter.o build/temp.aix-5.1-2.4/tkappinit.o \
-L/usr/X11R6/lib64 -L/usr/X11R6/lib -L/home/me/local/lib\
-L/usr/local/lib -ltk8.4 -ltcl8.4 -lX11 -o \
build/lib.aix-5.1-2.4/_tkinter.so \
ld: 0706-006 Cannot find or open library file: -l tk8.4
ld:eek:pen(): No such file or directory
ld: 0706-006 Cannot find or open library file: -l tcl8.4
ld:eek:pen(): No such file or directory


At this point, i have no idea what i'm doing wrong. It looks as if i
should be picking up tcl/tk:

~/local/lib > ls

libtcl8.4.exp libtclstub8.4.a libtk8.4.so* tcl8.4/ tk8.4/
libtcl8.4.so* libtk8.4.exp libtkstub8.4.a tclConfig.sh
tkConfig.sh

I've tried using CC=xlC_r, as opposed to g++, but that didn't
help. Anyone seen this type of thing? BTW, i'm configuring like this:

./configure --prefix=/home/me/local



thanks in advance,
E
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Staff online

Members online

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,072
Latest member
trafficcone

Latest Threads

Top