Hello,
I wrote this little patch to fix the installation of Imaging 1.1.6 under my 
debian unstable.
For more details you can read this blog entry:
http://encolpe.wordpress.com/2009/02/20/fix-pil-116-installation-from-sources-under-debian/

I hope this help.

Regards,

-- 
Encolpe DEGOUTE
http://encolpe.degoute.free.fr/
Logiciels libres, hockey sur glace et autres activités cérébrales

Index: setup.py
===================================================================
--- setup.py	(révision 460)
+++ setup.py	(copie de travail)
@@ -199,6 +199,9 @@
         add_directory(library_dirs, "/usr/lib")
         add_directory(include_dirs, "/usr/include")
 
+        if os.path.isfile(os.path.join('/usr/include', 'tcl'+TCL_VERSION,'tk.h')):
+            add_directory(include_dirs, os.path.join('/usr/include', 'tcl'+TCL_VERSION))
+
         #
         # insert new dirs *before* default libs, to avoid conflicts
         # between Python PYD stub libs and real libraries
_______________________________________________
Image-SIG maillist  -  Image-SIG@python.org
http://mail.python.org/mailman/listinfo/image-sig

Reply via email to