[Image-SIG] install of PIL under cygwin fails

Alexey Borzenkov snaury at gmail.com
Tue Mar 27 07:36:11 CEST 2007

Hi Mark,

I've just updated my cygwin and tried building it on WinXP. At first
it failed (with fork issues), but after following steps in
/usr/share/doc/Cygwin/python-2.5.README (that explained how to
rebaseall), it was almost the same as in your case:

$ python setup.py build_ext
running build_ext
building '_imaging' extension
creating build
creating build/temp.cygwin-1.5.24-i686-2.5
creating build/temp.cygwin-1.5.24-i686-2.5/libImaging
gcc -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes
/usr/include/freetype2 -IlibImaging -I/usr/include
-I/usr/include/python2.5 -c _imaging.c -o bui
Assembler messages:
FATAL: can't create build/temp.cygwin-1.5.24-i686-2.5/_imaging.o:
Permission denied

Note that the last line happened only once, other times it was just
hanging silently. Looks like cygwin issue.

Best regards,

On 3/27/07, Mark Wendell <mark.wendell at gmail.com> wrote:
> Hello - I'm trying to install PIL in cygwin under windows vista. I'm
> running the latest cygwin-setup-installed python 2.5. I've tried two
> ways:
> a) Grab the install files manually, unzip and untar them, and run
> "python setup.py install" from the resulting folder.
> b) Just run "easy_install -f http://www.pythonware.com/products/pil Imaging".
> With method a), here's the output I get before it hangs indefinitely:
> running install
> running build
> running build_py
> running build_ext
> building '_imaging' extension
> gcc -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes
> -DHAVE_LIBZ -IlibImaging -I/usr/include -I/usr/include/python2.5 -c
> encode.c -o build/temp.cygwin-1.5.24-i686-2.5/encode.o
> gcc -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes
> -DHAVE_LIBZ -IlibImaging -I/usr/include -I/usr/include/python2.5 -c
> map.c -o build/temp.cygwin-1.5.24-i686-2.5/map.o
> With method b), it writes out a temporary .s file, and then just hangs.
> Anyone else see this? Any ideas how it get past this and get a good
> install of PIL under cygwin?
> Note that the PIL windows installer works just fine on the same
> machine, and I can use the Image module when using the
> windows-installed python.
> thanks in advance,
> Mark
> --
> Mark Wendell
> _______________________________________________
> Image-SIG maillist  -  Image-SIG at python.org
> http://mail.python.org/mailman/listinfo/image-sig

More information about the Image-SIG mailing list