[Tkinter-discuss] Building python 2.6.5 w/TK-TCL 8.5.11 on linux, 32 & 64 bit

Michael Lange klappnase at web.de
Tue Feb 14 11:56:33 CET 2012


Hi,

Thus spoketh jrm at exa.com 
unto us on Mon, 13 Feb 2012 21:04:49 -0500 (EST):

> Trying to build python 2.6.5 with a modern TK.  The obvious approach of
> setting --with-tcl and --with-tk at configure time is nicely consumed
> without error...and then does nothing!   When the setup.py script runs
> to build _tkinter later, the 8.5 information is nowhere to be found.
> 
> I'm presently trying to hack the 8.5 information directly into setup.py
> but that's not going smoothly.  There must be a better way...
> 
> Has anyone else experienced this situation?
> 
> BTW, upgrading to 3 is not an option...
> 

I am not sure what actually happens, is no _tkinter built at all or does
it build, but against the wrong of multiple installed Tk versions?

Then, have you checked that all necessary Tcl/Tk headers are installed?
If yes, maybe before compiling Python calling

   $ export LD_LIBRARY_PATH=/usr/local/lib

(or where ever your Tk-8.5 install resides of course) may help. If not,
then please give us more information about your system, installed library
versions, error messages while compiling and so on.

Best regards

Michael

.-.. .. ...- .   .-.. --- -. --.   .- -. -..   .--. .-. --- ... .--. . .-.

It would seem that evil retreats when forcibly confronted.
		-- Yarnek of Excalbia, "The Savage Curtain", stardate
                   5906.5


More information about the Tkinter-discuss mailing list