[Tkinter-discuss] Re: Embedding compilation problems after
installingTkinter mo
Fredrik Lundh
fredrik at pythonware.com
Sun Apr 4 17:25:21 EDT 2004
Jinming Xu wrote:
> It works now after following what you said. I thought I didn't need to
> change to default makefile for Demo. //blush. By the way, why should we do
> this. It seems the demo actully doesn't used those additional libraries.
> Isn't it?
Jeff already explained this: if _tkinter is statically linked to libpython, you need
to link with the tcl and tk libraries everywhere you're using libpython.
(if this is the case, sys.builtin_module_names contains the string "_tkinter", and
there's no "_tkinter.so" in your Python build directory)
</F>
More information about the Tkinter-discuss
mailing list