This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

hang while installing PIL


I tried installing python's imaging library (PIL) a variety of ways,
and they all hang at the same point. I first posted this error to the
python imaging mail group, and someone else there reported the same
error using cygwin, and suggested the problem might be with cygwin.

I've tried two different ways to install:

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 to get past this and get a good
install of PIL under cygwin? Note that I'm running an up-to-date (as
of a couple of days ago) install of cygwin under win vista.

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.

A related question... this person installed PIL by compiling from source:
http://www.cygwin.com/ml/cygwin/2003-06/msg01121.html

I'd try this as well, but I don't have enough experience with
compiling apps to know which cygwin package "make" is in. It doesn't
seem to be in my bin path, although I have installed gcc-core. What
other setup packages do I need to install to compile?

thanks!
Mark

--
--
Mark Wendell

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]