I usually just build from source: setenv CPPFLAGS "-I${distdir}/include" setenv LDFLAGS "-L${distdir}/lib" setenv CXXFLAGS "-I${distdir}/include"
rm -f /tmp/foo-mac-uplib cp setup.py /tmp/foo-mac-uplib sed -e "s;/sw;${distdir};" < /tmp/foo-mac-uplib > setup.py python setup.py build python setup.py install --prefix=${distdir} The fact that Fink (/sw) is mentioned in setup.py is an issue, and the reason for the above scripting. I find Fink more of a hindrance than a help. This, of course, is on a machine with libpng, libjpeg, libtiff, freetype, and t1lib pre-installed in ${distdir}. In my experience, it's finding and/or installing these libraries correctly that's the issue when building PIL. Bill _______________________________________________ Image-SIG maillist - Image-SIG@python.org http://mail.python.org/mailman/listinfo/image-sig