delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/03/27/22:24:20

X-Spam-Check-By: sourceware.org
Message-ID: <b22700f10703272023i6c9cfbddoe1d3bbd5f2a811d2@mail.gmail.com>
Date: Tue, 27 Mar 2007 20:23:57 -0700
From: "Mark Wendell" <mark DOT wendell AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: hang while installing PIL
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019