compile python witout tkinter

kosh at aesaeion.com kosh at aesaeion.com
Fri Jun 21 04:20:40 EDT 2002


On Fri, 21 Jun 2002, Gerhard [iso-8859-15] Häring wrote:

> It looks like in Python 2.1.3, Tkinter gets built with distutils in
> Python's setup.py. I fear I don't have a solution to your problem, as
> detect_tkinter in Python 2.1.3's setup.py looks fine to me. Maybe you
> have a very strange or broken Tcl/Tk setup on your machine. As a
> temporary workaround, you could try to insert a return right at the
> beginning of detect_tkinter in Python's setup.py.
>
> I sincerly hope some Tkinter expert here can come up with a better
> solution and help finding the real reason behind this.

The problem is that a lot of tk stuff is installed on the system but the
xlib devel packages are not so it passes that test but there is no Xlib.h
so it fails to compile.






More information about the Python-list mailing list