Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #4800

Re: Python-list Digest, Vol 92, Issue 40

Date 2011-05-06 08:55 +0200
From Nico Grubert <nicogrubert@yahoo.de>
Subject Re: Python-list Digest, Vol 92, Issue 40
References <mailman.4948.1304605502.9058.python-list@python.org>
Newsgroups comp.lang.python
Message-ID <mailman.1227.1304664886.9059.python-list@python.org> (permalink)

Show all headers | View raw


> PIL will compile and install if you don't have some development
> libraries and then simply not work or not work up to full steam when
> used.
>
> To avoid this, you need to install the appropriate libraries, among
> which are:
>
> libjpeg-devel
> freetype-devel
> libpng-devel

Dear Albert

Thank you for your reply.
I did install all these libraries.
Testing it with yum shows:

$ yum install libpng-devel
Package 2:libpng-devel-1.2.10-7.1.el5_5.3.x86_64 already installed and 
latest version
Package 2:libpng-devel-1.2.10-7.1.el5_5.3.i386 already installed and 
latest version

$ yum install libjpeg-devel
Package libjpeg-devel-6b-37.x86_64 already installed and latest version
Package libjpeg-devel-6b-37.i386 already installed and latest version

$ yum install libpng-devel
Package 2:libpng-devel-1.2.10-7.1.el5_5.3.x86_64 already installed and 
latest version
Package 2:libpng-devel-1.2.10-7.1.el5_5.3.i386 already installed and 
latest version


Re-Compiling PIL shows:

$ python setup.py build_ext -i

--------------------------------------------------------------------
*** TKINTER support not available
--- JPEG support available
--- ZLIB (PNG/ZIP) support available
--- FREETYPE2 support available
*** LITTLECMS support not available
--------------------------------------------------------------------

However, running the selftest still fails:
$ python selftest.py
*** The _imaging C module is not installed

Regards
Nico

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Python-list Digest, Vol 92, Issue 40 Nico Grubert <nicogrubert@yahoo.de> - 2011-05-06 08:55 +0200

csiph-web