build problems on AIX

ersher at usmc.org ersher at usmc.org
Mon Sep 26 13:58:32 EDT 2005


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:open(): No such file or directory
    ld: 0706-006 Cannot find or open library file: -l tcl8.4
            ld:open(): 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



More information about the Python-list mailing list