[Image-SIG] Newb help... can't install the PIL extension libraries
Christopher Barker
Chris.Barker at noaa.gov
Thu Jan 25 20:41:38 CET 2007
Paul wrote:
> I’m very new to linux (2 days!) but have been using Python on windows
> for a few weeks now. I would like to install PIL on my linux (ubuntu)
> machine but am having all sorts of trouble following the readme, I get a
> ton of errors when trying to run the build.py. Mostly cannot find
> directory errors, but there are others thrown in for good measure.
post a few here -- particularly the first few you get.
> I unzipped the tar file into my user space…
> /home/paul/Python/ExtensionLibraries
> which I created myself. This is where I’m going wrong I presume. The
> readme said that I could create my own directory, so I’m confused.
> Should I unzip it & build it somewhere else?
no, that's not it, you can built it anywhere.
I'm guessing that you're missing some libraries -- you need the ones
that PIL needs (libjpeg, freetype2, zlib). These are probably already on
your system, but you may not have the "devel" versions, which you need
as PIL is building against them. Sorry I'm not familiar with Ubuntu, but
look for things like:
python-devel
jpeg-devel
zlib-devel
etc...
oh, and are you sure there is not an existing Ubuntu package for PIL?
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker at noaa.gov
More information about the Image-SIG
mailing list