building Tkinter on AIX

Rob Dijkshoorn rob at robdijkshoorn.com
Tue Apr 6 06:02:27 EDT 2004


Hi All,

I have some problems building the python modules, most notably Tkinter, on
AIX 5.1. Can anyone be of any assistance?

Thanks,
Rob

This is what the compiler spits out:

cc_r -DNDEBUG -O -I. -I/tmp/Python-2.3.3/./Include -I/usr/local/include -I/t
mp/Python-2.3.3/Include -I/tmp/Python-2.3.3 -c
/tmp/Python-2.3.3/Modules/_localemodule.c -o
build/temp.aix-5.1-2.3/_localemodule.o
./Modules/ld_so_aix cc_r -bI:Modules/python.exp
build/temp.aix-5.1-2.3/_localemodule.o -L/usr/local/lib -lintl -o
build/lib.aix-5.1-2.3/_locale.so
*** WARNING: renaming "_locale" since importing it failed:      0509-130
Symbol resolution failed for build/lib.aix-5.1-2.3/_locale.so because:
        0509-136   Symbol strcmp (number 40) is not exported from
                   dependent module /usr/lib/libintl.a(shr.o).
        0509-192 Examine .loader section symbols with the
                 'dump -Tv' command.
building '_tkinter' extension
./Modules/ld_so_aix cc_r -bI:Modules/python.exp
build/temp.aix-5.1-2.3/_tkinter.o
build/temp.aix-5.1-2.3/tkappinit.o -L/usr/X11R6/lib -L/usr/local/lib -ltk8.2
 -ltcl8.2 -lX11 -o build/lib.aix-5.1-2.3/_tkinter.so
ld: 0706-006 Cannot find or open library file: -l tk8.2
        ld:open(): A file or directory in the path name does not exist.
ld: 0706-006 Cannot find or open library file: -l tcl8.2
        ld:open(): A file or directory in the path name does not exist.
*** WARNING: renaming "_tkinter" since importing it failed: A file or
directory in the path name does not exist.
error: A file or directory in the path name does not exist.
make: 1254-004 The error code from the last command is 1.





More information about the Python-list mailing list