[Tkinter-discuss] want to build Python with Tkinter on Linux

Michael Lange klappnase at web.de
Tue Mar 22 12:12:31 CET 2011


Hi Kevin,

Thus spoketh Kevin Buchs <kevin.buchs at gmail.com> 
unto us on Mon, 21 Mar 2011 15:45:40 -0500:

> I have locked-down (by others) Linux systems, so I need my own custom
> install of Python (2.7). I have yet to get Tkinter working in the build
> process. Python will be in a non-standard location and Tcl/Tk are in a
> non-standard location.  I get these messages from a "make":
> 
> $ make
> running build
> running build_ext
> building dbm using gdbm
> INFO: Can't locate Tcl/Tk libs and/or headers

Have you tried to call

    $ export LD_LIBRARY_PATH=/usr/local/lib

before ./configure (of course with your actual "tcl-lib-path"
instead of /usr/local/lib)? At least here (debian lenny) this helps, I
think it is even documented somewhere, although I can't remember where ;)

Regards

Michael


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

Intuition, however illogical, is recognized as a command prerogative.
		-- Kirk, "Obsession", stardate 3620.7


More information about the Tkinter-discuss mailing list