I'm trying to install PIL as per its instruction on debian but can't figure how to fix this bit:I get --- ZLIB (PNG/ZIP) support available on build_extand * ZLIB (PNG/ZIP) support not installed on selftestwhat am I missing?root@portman:~/dist/Imaging-1.1.7# python setup.py build_ext -irunning build_ext--------------------------------------------------------------------PIL 1.1.7 SETUP SUMMARY--------------------------------------------------------------------version       1.1.7platform      linux2 2.7.2+ (default, Dec  1 2011, 01:55:02)              [GCC 4.6.2]--------------------------------------------------------------------*** TKINTER support not available--- JPEG support available--- ZLIB (PNG/ZIP) support available--- FREETYPE2 support available--- LITTLECMS support available--------------------------------------------------------------------To add a missing option, make sure you have the requiredlibrary, and set the corresponding ROOT variable in thesetup.py script.To check the build, run the selftest.py script.root@portman:~/dist/Imaging-1.1.7# python selftest.py--------------------------------------------------------------------PIL 1.1.7 TEST SUMMARY--------------------------------------------------------------------Python modules loaded from ./PILBinary modules loaded from ./PIL----------------------------------------------------------------------- PIL CORE support ok*** TKINTER support not installed--- JPEG support ok*** ZLIB (PNG/ZIP) support not installed--- FREETYPE2 support ok--- LITTLECMS support ok--------------------------------------------------------------------Running selftest:--- 57 tests passed.
zlib support for PIL won't work
software installation;python;libraries
PIL is already packed for Debian in the python-imaging package: apt-get install python-imaging.If you really want to install it manually, you maybe need to install the zlib1g-dev package.