Hello,

To whom it may concern.

Currently PIL (1.1.5) does not build OOTB under cygwin.
The reason is that the setup.py script does not add the directory where the
pythonX.Y.dll.a is located.

Just add the below lines somewhere in pil_build_ext/build_extension:

        # add standard directories

+        # In cygwin pythonX.Y.dll.a is in /usr/lib/pythonX.Y/config directory
+        if sys.platform == "cygwin": 
+            cfgdir = os.path.join("/usr/lib", "python%s" % sys.version[:3],
+                                  "config")
+            add_directory(library_dirs, cfgdir)

        add_directory(library_dirs, "/usr/local/lib")

Bye.
--
------------------------------------------------------------------------
Miki Tebeka <[EMAIL PROTECTED]>
http://tebeka.bizhat.com
The only difference between children and adults is the price of the toys

Attachment: pgpQygcLUtM6S.pgp
Description: PGP signature

_______________________________________________
Image-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/image-sig

Reply via email to