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


Groups > comp.lang.python > #4800 > unrolled thread

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

Started byNico Grubert <nicogrubert@yahoo.de>
First post2011-05-06 08:55 +0200
Last post2011-05-06 08:55 +0200
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

#4800 — Re: Python-list Digest, Vol 92, Issue 40

FromNico Grubert <nicogrubert@yahoo.de>
Date2011-05-06 08:55 +0200
SubjectRe: Python-list Digest, Vol 92, Issue 40
Message-ID<mailman.1227.1304664886.9059.python-list@python.org>
> 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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web