[Image-SIG] jpeg library installation

Steven Brown elendili@stargate.net
Tue, 25 Jun 2002 22:09:15 -0400


I am trying to get pil working on a freeBSD box for use in zope.

After I do the steps in the readme for the install I run:

python MiniTest/test.py

and I get the following error:

imeme# python MiniTest/test.py
*****************************************************************
Failure in example: _info(Image.open("Images/lena.jpg"))
from line #24 of test.testimage
Exception raised:
Traceback (innermost last):
  File "doctest.py", line 499, in _run_examples_inner
    exec compile(source, "<string>", "single") in globs
  File "<string>", line 1, in ?
  File "test.py", line 12, in _info
    im.load()
  File "PIL/ImageFile.py", line 140, in load
    d = Image._getdecoder(self.mode, d, a, self.decoderconfig)
  File "PIL/Image.py", line 255, in _getdecoder
    raise IOError("decoder %s not available" % decoder_name)
IOError: decoder jpeg not available
1 items had failures:
   1 of  40 in test.testimage
***Test Failed*** 1 failures.
*** 1 tests of 40 failed.

I have tried compiling the IJG JPEG library and it seemed to go in fine, 
and I have recompiled PIL, but the test continues to fail. What do I 
need to do next?

Thanks
Steve