[Image-SIG] PIL builds for Mac OS X
Scott Frankel
leknarf at pacbell.net
Sat Apr 5 00:25:29 CEST 2008
On Apr 4, 2008, at 9:12 AM, Bill Janssen wrote:
> 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.
Locating and installing dependencies was the issue I had when I
attempted to build from source. I was pointed to prebuilt binaries
and installed those instead.
My mail to image-sig (from Oct 23, 2007) follows below.
Thanks
Scott
#
------------------------------------------------------------------------
#
I'm attempting to build PIL on a MacOSX box and python setup.py is
failing on freetype2.
I installed Fink on this machine in order to get freetype2 and the
jpeg libraries. My understanding of Fink and its use is only a
couple hours old. ;)
In PIL's set.py script, I've tried setting the FREETYPE var to
explicitly point to the fink lib install. eg:
FREETYPE_ROOT = "/sw/lib/"
and
FREETYPE_ROOT = "/sw/lib/libfreetype.6.dylib"
Is this correct? (libfreetype.6.dylib exists at that location and is
read/writable.) Fink also installed:
/sw/lib/freetype2/lib/
libfreetype.a
libfreetype.la
Thanks in advance for any suggestions on getting PIL to build properly.
Scott
PIL v1.1.6
Python v2.4.1
MacOSX v10.4.9
Fink v0.8.1
[ cmd-line ]
% python setup.py build_ext -i
[ yields ]
--------------------------------------------------------------------
PIL 1.1.6 BUILD SUMMARY
--------------------------------------------------------------------
version 1.1.6
platform darwin 2.4.1 (#2, Mar 31 2005, 00:05:10)
[GCC 3.3 20030304 (Apple Computer, Inc. build 1666)]
--------------------------------------------------------------------
--- TKINTER support ok
--- JPEG support ok
--- ZLIB (PNG/ZIP) support ok
*** FREETYPE2 support not available
More information about the Image-SIG
mailing list