build on AIX without Tk

T

Tennill, Dustin

Hello all,

I am brand new to this list, not sure if this the right place to ask
this question. I have two AIX 5.1 64-bit boxes and would like to have
Python on both of them but don't need any of the graphical elements
(Tk/Tcl/Tkinter). One of the boxes happened to have Tk/Tcl stuff
installed on it, so I was able to build Python 2.3.2 without a hitch.

The other box does not have Tk/Tcl installed, and I don't particularly
need it there. Below is the error message I get when attempting to make:

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:eek:pen(): A file or directory in the path name does not exist.
ld: 0706-006 Cannot find or open library file: -l tcl8.2
ld:eek:pen(): A file or directory in the path name does not exist.
*** WARNING: renaming "_tkinter" since importing it failed: from module
build/li
b.aix-5.1-2.3/_tkinter.so No such file or directory
error: No such file or directory
make: 1254-004 The error code from the last command is 1.


Stop.

Is there any way to build without including tkinter support? (Or am I
just doing something wrong????)

Thanks for any help at all . . .

Dustin Tennill
Systems Admin
Eastern Kentucky University
(e-mail address removed)
 
M

Martin v. =?iso-8859-15?q?L=F6wis?=

Tennill said:
Is there any way to build without including tkinter support? (Or am I
just doing something wrong????)

You should disable compilation of _tkinter in setup.py, by putting
a
return

statement into detect_tkinter.

Regards,
Martin
 

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

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top