Hello, I am running a turbogears webapp using Python 2.5 and I need to use PIL. However I can't seem to figure out how to install it with JPEG support. I downloaded the Imaging-1.6.6 tar file and extracted it then ran "python setup.py install" and I get this output :
running install running build running build_py running build_ext -------------------------------------------------------------------- PIL 1.1.6 BUILD SUMMARY -------------------------------------------------------------------- version 1.1.6 platform linux2 2.4.4 (#2, Apr 5 2007, 20:11:18) [GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] -------------------------------------------------------------------- *** TKINTER support not available *** JPEG support not available --- ZLIB (PNG/ZIP) support ok *** FREETYPE2 support not available -------------------------------------------------------------------- To add a missing option, make sure you have the required library, and set the corresponding ROOT variable in the setup.py script. To check the build, run the selftest.py script. running build_scripts running install_lib running install_scripts changing mode of /usr/bin/pilfile.py to 755 changing mode of /usr/bin/pilfont.py to 775 changing mode of /usr/bin/pilconvert.py to 755 changing mode of /usr/bin/pilprint.py to 755 changing mode of /usr/bin/pildriver.py to 755 creating /usr/lib/python2.4/site-packages/PIL.pth I tried changing the path in the setup.py file to "/usr/lib" but that didn't change anything. What am I doing wrong ? Thank you for any help you can provide. -- Thomas Zaffran Responsable Technique CN films 11 rue Bergère 75009 Paris Tel. : +33 (0)1 45 23 08 16 Fax : +33 (0)1 48 24 01 81 _______________________________________________ Image-SIG maillist - Image-SIG@python.org http://mail.python.org/mailman/listinfo/image-sig