[Image-SIG] help building PIL1.1.3 on WIn32

Fredrik Lundh fredrik@pythonware.com
Sat, 25 Jan 2003 18:44:10 +0100


eric hagemann wrote:

>     When I build using setup.py, there is a problem finding the TCL/TK
> libraries
> 
>     Seems that setup.py is looking for tk.h -- no such file in the python
> distribution.  I then downloaded the python2.2.2 source distribution and did
> not find it there either.

tk.h is part of the Tcl/Tk source distribution (http://www.tcl.tk/)

>     What's the best way to perform the build -- from setup.py it looks like
> I can point the imaging module to a separate installation of tcl/tk, however
> I would assume that I need to have that version match the version that was
> used to compile python.

correct.

or if you don't need tkinter support, you can disable the Tkinter check in
setup.py (the easiest way is replace the "import _tkinter" line with "raise
ImportError").

</F>