Sunday, October 18, 2015

Python Imaging Library on El Capitan

 Here's what I'm doing on EL Capitan.

 I have GCC come with Xcode but I use GCC 5.2.

 We could build from source; download the source at http://effbot.org/downloads/Imaging-1.1.7.tar.gz   and extract it


Nugrohos-MacBook-Air:Imaging-1.1.7 nugroho$ python setup.py install
running install
running build
running build_py
creating build
creating build/lib.macosx-10.6-intel-2.7
copying PIL/__init__.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/ArgImagePlugin.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/BdfFontFile.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/BmpImagePlugin.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/BufrStubImagePlugin.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/ContainerIO.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/CurImagePlugin.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/DcxImagePlugin.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/EpsImagePlugin.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/ExifTags.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/FitsStubImagePlugin.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/FliImagePlugin.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/FontFile.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/FpxImagePlugin.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/GbrImagePlugin.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/GdImageFile.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/GifImagePlugin.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/GimpGradientFile.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/GimpPaletteFile.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/GribStubImagePlugin.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/Hdf5StubImagePlugin.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/IcnsImagePlugin.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/IcoImagePlugin.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/Image.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/ImageChops.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/ImageCms.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/ImageColor.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/ImageDraw.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/ImageDraw2.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/ImageEnhance.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/ImageFile.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/ImageFileIO.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/ImageFilter.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/ImageFont.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/ImageGL.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/ImageGrab.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/ImageMath.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/ImageMode.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/ImageOps.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/ImagePalette.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/ImagePath.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/ImageQt.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/ImageSequence.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/ImageShow.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/ImageStat.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/ImageTk.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/ImageTransform.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/ImageWin.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/ImImagePlugin.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/ImtImagePlugin.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/IptcImagePlugin.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/JpegImagePlugin.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/McIdasImagePlugin.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/MicImagePlugin.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/MpegImagePlugin.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/MspImagePlugin.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/OleFileIO.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/PaletteFile.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/PalmImagePlugin.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/PcdImagePlugin.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/PcfFontFile.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/PcxImagePlugin.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/PdfImagePlugin.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/PixarImagePlugin.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/PngImagePlugin.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/PpmImagePlugin.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/PsdImagePlugin.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/PSDraw.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/SgiImagePlugin.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/SpiderImagePlugin.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/SunImagePlugin.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/TarIO.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/TgaImagePlugin.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/TiffImagePlugin.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/TiffTags.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/WalImageFile.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/WmfImagePlugin.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/XbmImagePlugin.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/XpmImagePlugin.py -> build/lib.macosx-10.6-intel-2.7
copying PIL/XVThumbImagePlugin.py -> build/lib.macosx-10.6-intel-2.7
running build_ext
--- using frameworks at /Library/Frameworks
building '_imaging' extension
creating build/temp.macosx-10.6-intel-2.7
creating build/temp.macosx-10.6-intel-2.7/libImaging
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c _imaging.c -o build/temp.macosx-10.6-intel-2.7/_imaging.o
_imaging.c:3017:5: warning: incompatible pointer types initializing 'lenfunc'
      (aka 'Py_ssize_t (*)(PyObject *)') with an expression of type 'inquiry'
      (aka 'int (*)(PyObject *)') [-Wincompatible-pointer-types]
    (inquiry) image_length, /*sq_length*/
    ^~~~~~~~~~~~~~~~~~~~~~
_imaging.c:3077:5: warning: incompatible pointer types initializing 'lenfunc'
      (aka 'Py_ssize_t (*)(PyObject *)') with an expression of type 'inquiry'
      (aka 'int (*)(PyObject *)') [-Wincompatible-pointer-types]
    (inquiry) NULL, /*mp_length*/
    ^~~~~~~~~~~~~~
2 warnings generated.
_imaging.c:3017:5: warning: incompatible pointer types initializing 'lenfunc'
      (aka 'Py_ssize_t (*)(PyObject *)') with an expression of type 'inquiry'
      (aka 'int (*)(PyObject *)') [-Wincompatible-pointer-types]
    (inquiry) image_length, /*sq_length*/
    ^~~~~~~~~~~~~~~~~~~~~~
_imaging.c:3077:5: warning: incompatible pointer types initializing 'lenfunc'
      (aka 'Py_ssize_t (*)(PyObject *)') with an expression of type 'inquiry'
      (aka 'int (*)(PyObject *)') [-Wincompatible-pointer-types]
    (inquiry) NULL, /*mp_length*/
    ^~~~~~~~~~~~~~
2 warnings generated.
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c decode.c -o build/temp.macosx-10.6-intel-2.7/decode.o
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c encode.c -o build/temp.macosx-10.6-intel-2.7/encode.o
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c map.c -o build/temp.macosx-10.6-intel-2.7/map.o
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c display.c -o build/temp.macosx-10.6-intel-2.7/display.o
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c outline.c -o build/temp.macosx-10.6-intel-2.7/outline.o
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c path.c -o build/temp.macosx-10.6-intel-2.7/path.o
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c libImaging/Access.c -o build/temp.macosx-10.6-intel-2.7/libImaging/Access.o
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c libImaging/Antialias.c -o build/temp.macosx-10.6-intel-2.7/libImaging/Antialias.o
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c libImaging/Bands.c -o build/temp.macosx-10.6-intel-2.7/libImaging/Bands.o
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c libImaging/BitDecode.c -o build/temp.macosx-10.6-intel-2.7/libImaging/BitDecode.o
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c libImaging/Blend.c -o build/temp.macosx-10.6-intel-2.7/libImaging/Blend.o
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c libImaging/Chops.c -o build/temp.macosx-10.6-intel-2.7/libImaging/Chops.o
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c libImaging/Convert.c -o build/temp.macosx-10.6-intel-2.7/libImaging/Convert.o
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c libImaging/ConvertYCbCr.c -o build/temp.macosx-10.6-intel-2.7/libImaging/ConvertYCbCr.o
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c libImaging/Copy.c -o build/temp.macosx-10.6-intel-2.7/libImaging/Copy.o
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c libImaging/Crc32.c -o build/temp.macosx-10.6-intel-2.7/libImaging/Crc32.o
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c libImaging/Crop.c -o build/temp.macosx-10.6-intel-2.7/libImaging/Crop.o
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c libImaging/Dib.c -o build/temp.macosx-10.6-intel-2.7/libImaging/Dib.o
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c libImaging/Draw.c -o build/temp.macosx-10.6-intel-2.7/libImaging/Draw.o
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c libImaging/Effects.c -o build/temp.macosx-10.6-intel-2.7/libImaging/Effects.o
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c libImaging/EpsEncode.c -o build/temp.macosx-10.6-intel-2.7/libImaging/EpsEncode.o
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c libImaging/File.c -o build/temp.macosx-10.6-intel-2.7/libImaging/File.o
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c libImaging/Fill.c -o build/temp.macosx-10.6-intel-2.7/libImaging/Fill.o
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c libImaging/Filter.c -o build/temp.macosx-10.6-intel-2.7/libImaging/Filter.o
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c libImaging/FliDecode.c -o build/temp.macosx-10.6-intel-2.7/libImaging/FliDecode.o
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c libImaging/Geometry.c -o build/temp.macosx-10.6-intel-2.7/libImaging/Geometry.o
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c libImaging/GetBBox.c -o build/temp.macosx-10.6-intel-2.7/libImaging/GetBBox.o
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c libImaging/GifDecode.c -o build/temp.macosx-10.6-intel-2.7/libImaging/GifDecode.o
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c libImaging/GifEncode.c -o build/temp.macosx-10.6-intel-2.7/libImaging/GifEncode.o
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c libImaging/HexDecode.c -o build/temp.macosx-10.6-intel-2.7/libImaging/HexDecode.o
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c libImaging/Histo.c -o build/temp.macosx-10.6-intel-2.7/libImaging/Histo.o
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c libImaging/JpegDecode.c -o build/temp.macosx-10.6-intel-2.7/libImaging/JpegDecode.o
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c libImaging/JpegEncode.c -o build/temp.macosx-10.6-intel-2.7/libImaging/JpegEncode.o
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c libImaging/LzwDecode.c -o build/temp.macosx-10.6-intel-2.7/libImaging/LzwDecode.o
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c libImaging/Matrix.c -o build/temp.macosx-10.6-intel-2.7/libImaging/Matrix.o
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c libImaging/ModeFilter.c -o build/temp.macosx-10.6-intel-2.7/libImaging/ModeFilter.o
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c libImaging/MspDecode.c -o build/temp.macosx-10.6-intel-2.7/libImaging/MspDecode.o
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c libImaging/Negative.c -o build/temp.macosx-10.6-intel-2.7/libImaging/Negative.o
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c libImaging/Offset.c -o build/temp.macosx-10.6-intel-2.7/libImaging/Offset.o
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c libImaging/Pack.c -o build/temp.macosx-10.6-intel-2.7/libImaging/Pack.o
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c libImaging/PackDecode.c -o build/temp.macosx-10.6-intel-2.7/libImaging/PackDecode.o
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c libImaging/Palette.c -o build/temp.macosx-10.6-intel-2.7/libImaging/Palette.o
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c libImaging/Paste.c -o build/temp.macosx-10.6-intel-2.7/libImaging/Paste.o
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c libImaging/Quant.c -o build/temp.macosx-10.6-intel-2.7/libImaging/Quant.o
libImaging/Quant.c:154:10: warning: cast to 'void *' from smaller integer type
      'int' [-Wint-to-void-pointer-cast]
   *valp=(void *)((*(int *)valp)+(*(int *)&newval));
         ^
1 warning generated.
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c libImaging/QuantHash.c -o build/temp.macosx-10.6-intel-2.7/libImaging/QuantHash.o
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c libImaging/QuantHeap.c -o build/temp.macosx-10.6-intel-2.7/libImaging/QuantHeap.o
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c libImaging/PcdDecode.c -o build/temp.macosx-10.6-intel-2.7/libImaging/PcdDecode.o
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c libImaging/PcxDecode.c -o build/temp.macosx-10.6-intel-2.7/libImaging/PcxDecode.o
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c libImaging/PcxEncode.c -o build/temp.macosx-10.6-intel-2.7/libImaging/PcxEncode.o
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c libImaging/Point.c -o build/temp.macosx-10.6-intel-2.7/libImaging/Point.o
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c libImaging/RankFilter.c -o build/temp.macosx-10.6-intel-2.7/libImaging/RankFilter.o
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c libImaging/RawDecode.c -o build/temp.macosx-10.6-intel-2.7/libImaging/RawDecode.o
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c libImaging/RawEncode.c -o build/temp.macosx-10.6-intel-2.7/libImaging/RawEncode.o
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c libImaging/Storage.c -o build/temp.macosx-10.6-intel-2.7/libImaging/Storage.o
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c libImaging/SunRleDecode.c -o build/temp.macosx-10.6-intel-2.7/libImaging/SunRleDecode.o
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c libImaging/TgaRleDecode.c -o build/temp.macosx-10.6-intel-2.7/libImaging/TgaRleDecode.o
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c libImaging/Unpack.c -o build/temp.macosx-10.6-intel-2.7/libImaging/Unpack.o
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c libImaging/UnpackYCC.c -o build/temp.macosx-10.6-intel-2.7/libImaging/UnpackYCC.o
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c libImaging/UnsharpMask.c -o build/temp.macosx-10.6-intel-2.7/libImaging/UnsharpMask.o
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c libImaging/XbmDecode.c -o build/temp.macosx-10.6-intel-2.7/libImaging/XbmDecode.o
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c libImaging/XbmEncode.c -o build/temp.macosx-10.6-intel-2.7/libImaging/XbmEncode.o
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c libImaging/ZipDecode.c -o build/temp.macosx-10.6-intel-2.7/libImaging/ZipDecode.o
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DHAVE_LIBZ -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c libImaging/ZipEncode.c -o build/temp.macosx-10.6-intel-2.7/libImaging/ZipEncode.o
/usr/bin/clang -bundle -undefined dynamic_lookup -arch i386 -arch x86_64 -g build/temp.macosx-10.6-intel-2.7/_imaging.o build/temp.macosx-10.6-intel-2.7/decode.o build/temp.macosx-10.6-intel-2.7/encode.o build/temp.macosx-10.6-intel-2.7/map.o build/temp.macosx-10.6-intel-2.7/display.o build/temp.macosx-10.6-intel-2.7/outline.o build/temp.macosx-10.6-intel-2.7/path.o build/temp.macosx-10.6-intel-2.7/libImaging/Access.o build/temp.macosx-10.6-intel-2.7/libImaging/Antialias.o build/temp.macosx-10.6-intel-2.7/libImaging/Bands.o build/temp.macosx-10.6-intel-2.7/libImaging/BitDecode.o build/temp.macosx-10.6-intel-2.7/libImaging/Blend.o build/temp.macosx-10.6-intel-2.7/libImaging/Chops.o build/temp.macosx-10.6-intel-2.7/libImaging/Convert.o build/temp.macosx-10.6-intel-2.7/libImaging/ConvertYCbCr.o build/temp.macosx-10.6-intel-2.7/libImaging/Copy.o build/temp.macosx-10.6-intel-2.7/libImaging/Crc32.o build/temp.macosx-10.6-intel-2.7/libImaging/Crop.o build/temp.macosx-10.6-intel-2.7/libImaging/Dib.o build/temp.macosx-10.6-intel-2.7/libImaging/Draw.o build/temp.macosx-10.6-intel-2.7/libImaging/Effects.o build/temp.macosx-10.6-intel-2.7/libImaging/EpsEncode.o build/temp.macosx-10.6-intel-2.7/libImaging/File.o build/temp.macosx-10.6-intel-2.7/libImaging/Fill.o build/temp.macosx-10.6-intel-2.7/libImaging/Filter.o build/temp.macosx-10.6-intel-2.7/libImaging/FliDecode.o build/temp.macosx-10.6-intel-2.7/libImaging/Geometry.o build/temp.macosx-10.6-intel-2.7/libImaging/GetBBox.o build/temp.macosx-10.6-intel-2.7/libImaging/GifDecode.o build/temp.macosx-10.6-intel-2.7/libImaging/GifEncode.o build/temp.macosx-10.6-intel-2.7/libImaging/HexDecode.o build/temp.macosx-10.6-intel-2.7/libImaging/Histo.o build/temp.macosx-10.6-intel-2.7/libImaging/JpegDecode.o build/temp.macosx-10.6-intel-2.7/libImaging/JpegEncode.o build/temp.macosx-10.6-intel-2.7/libImaging/LzwDecode.o build/temp.macosx-10.6-intel-2.7/libImaging/Matrix.o build/temp.macosx-10.6-intel-2.7/libImaging/ModeFilter.o build/temp.macosx-10.6-intel-2.7/libImaging/MspDecode.o build/temp.macosx-10.6-intel-2.7/libImaging/Negative.o build/temp.macosx-10.6-intel-2.7/libImaging/Offset.o build/temp.macosx-10.6-intel-2.7/libImaging/Pack.o build/temp.macosx-10.6-intel-2.7/libImaging/PackDecode.o build/temp.macosx-10.6-intel-2.7/libImaging/Palette.o build/temp.macosx-10.6-intel-2.7/libImaging/Paste.o build/temp.macosx-10.6-intel-2.7/libImaging/Quant.o build/temp.macosx-10.6-intel-2.7/libImaging/QuantHash.o build/temp.macosx-10.6-intel-2.7/libImaging/QuantHeap.o build/temp.macosx-10.6-intel-2.7/libImaging/PcdDecode.o build/temp.macosx-10.6-intel-2.7/libImaging/PcxDecode.o build/temp.macosx-10.6-intel-2.7/libImaging/PcxEncode.o build/temp.macosx-10.6-intel-2.7/libImaging/Point.o build/temp.macosx-10.6-intel-2.7/libImaging/RankFilter.o build/temp.macosx-10.6-intel-2.7/libImaging/RawDecode.o build/temp.macosx-10.6-intel-2.7/libImaging/RawEncode.o build/temp.macosx-10.6-intel-2.7/libImaging/Storage.o build/temp.macosx-10.6-intel-2.7/libImaging/SunRleDecode.o build/temp.macosx-10.6-intel-2.7/libImaging/TgaRleDecode.o build/temp.macosx-10.6-intel-2.7/libImaging/Unpack.o build/temp.macosx-10.6-intel-2.7/libImaging/UnpackYCC.o build/temp.macosx-10.6-intel-2.7/libImaging/UnsharpMask.o build/temp.macosx-10.6-intel-2.7/libImaging/XbmDecode.o build/temp.macosx-10.6-intel-2.7/libImaging/XbmEncode.o build/temp.macosx-10.6-intel-2.7/libImaging/ZipDecode.o build/temp.macosx-10.6-intel-2.7/libImaging/ZipEncode.o -L/usr/local/lib -L/Library/Frameworks/Python.framework/Versions/2.7/lib -L/usr/lib -lz -o build/lib.macosx-10.6-intel-2.7/_imaging.so
building '_imagingtk' extension
creating build/temp.macosx-10.6-intel-2.7/Tk
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c _imagingtk.c -o build/temp.macosx-10.6-intel-2.7/_imagingtk.o -framework Tcl -framework Tk
clang: warning: -framework Tcl: 'linker' input unused
clang: warning: -framework Tk: 'linker' input unused
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c Tk/tkImaging.c -o build/temp.macosx-10.6-intel-2.7/Tk/tkImaging.o -framework Tcl -framework Tk
clang: warning: -framework Tcl: 'linker' input unused
clang: warning: -framework Tk: 'linker' input unused
/usr/bin/clang -bundle -undefined dynamic_lookup -arch i386 -arch x86_64 -g build/temp.macosx-10.6-intel-2.7/_imagingtk.o build/temp.macosx-10.6-intel-2.7/Tk/tkImaging.o -L/usr/local/lib -L/Library/Frameworks/Python.framework/Versions/2.7/lib -L/usr/lib -o build/lib.macosx-10.6-intel-2.7/_imagingtk.so -framework Tcl -framework Tk
building '_imagingmath' extension
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers -IlibImaging -I/Library/Frameworks/Python.framework/Versions/2.7/include -I/usr/local/include -I/usr/include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c _imagingmath.c -o build/temp.macosx-10.6-intel-2.7/_imagingmath.o
/usr/bin/clang -bundle -undefined dynamic_lookup -arch i386 -arch x86_64 -g build/temp.macosx-10.6-intel-2.7/_imagingmath.o -L/usr/local/lib -L/Library/Frameworks/Python.framework/Versions/2.7/lib -L/usr/lib -o build/lib.macosx-10.6-intel-2.7/_imagingmath.so
--------------------------------------------------------------------
PIL 1.1.7 SETUP SUMMARY
--------------------------------------------------------------------
version       1.1.7
platform      darwin 2.7.10 (v2.7.10:15c95b7d81dc, May 23 2015, 09:33:12)
              [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)]
--------------------------------------------------------------------
--- TKINTER support available
*** JPEG support not available
--- ZLIB (PNG/ZIP) support available
*** FREETYPE2 support not available
*** LITTLECMS 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
creating build/scripts-2.7
copying and adjusting Scripts/pilconvert.py -> build/scripts-2.7
copying and adjusting Scripts/pildriver.py -> build/scripts-2.7
copying and adjusting Scripts/pilfile.py -> build/scripts-2.7
copying Scripts/pilfont.py -> build/scripts-2.7
copying and adjusting Scripts/pilprint.py -> build/scripts-2.7
changing mode of build/scripts-2.7/pilconvert.py from 644 to 755
changing mode of build/scripts-2.7/pildriver.py from 644 to 755
changing mode of build/scripts-2.7/pilfile.py from 644 to 755
changing mode of build/scripts-2.7/pilfont.py from 644 to 755
changing mode of build/scripts-2.7/pilprint.py from 644 to 755
running install_lib
creating /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/__init__.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/_imaging.so -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/_imagingmath.so -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/_imagingtk.so -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/ArgImagePlugin.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/BdfFontFile.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/BmpImagePlugin.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/BufrStubImagePlugin.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/ContainerIO.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/CurImagePlugin.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/DcxImagePlugin.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/EpsImagePlugin.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/ExifTags.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/FitsStubImagePlugin.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/FliImagePlugin.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/FontFile.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/FpxImagePlugin.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/GbrImagePlugin.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/GdImageFile.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/GifImagePlugin.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/GimpGradientFile.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/GimpPaletteFile.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/GribStubImagePlugin.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/Hdf5StubImagePlugin.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/IcnsImagePlugin.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/IcoImagePlugin.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/Image.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/ImageChops.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/ImageCms.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/ImageColor.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/ImageDraw.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/ImageDraw2.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/ImageEnhance.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/ImageFile.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/ImageFileIO.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/ImageFilter.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/ImageFont.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/ImageGL.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/ImageGrab.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/ImageMath.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/ImageMode.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/ImageOps.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/ImagePalette.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/ImagePath.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/ImageQt.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/ImageSequence.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/ImageShow.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/ImageStat.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/ImageTk.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/ImageTransform.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/ImageWin.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/ImImagePlugin.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/ImtImagePlugin.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/IptcImagePlugin.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/JpegImagePlugin.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/McIdasImagePlugin.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/MicImagePlugin.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/MpegImagePlugin.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/MspImagePlugin.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/OleFileIO.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/PaletteFile.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/PalmImagePlugin.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/PcdImagePlugin.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/PcfFontFile.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/PcxImagePlugin.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/PdfImagePlugin.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/PixarImagePlugin.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/PngImagePlugin.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/PpmImagePlugin.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/PsdImagePlugin.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/PSDraw.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/SgiImagePlugin.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/SpiderImagePlugin.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/SunImagePlugin.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/TarIO.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/TgaImagePlugin.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/TiffImagePlugin.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/TiffTags.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/WalImageFile.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/WmfImagePlugin.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/XbmImagePlugin.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/XpmImagePlugin.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
copying build/lib.macosx-10.6-intel-2.7/XVThumbImagePlugin.py -> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/__init__.py to __init__.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/ArgImagePlugin.py to ArgImagePlugin.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/BdfFontFile.py to BdfFontFile.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/BmpImagePlugin.py to BmpImagePlugin.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/BufrStubImagePlugin.py to BufrStubImagePlugin.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/ContainerIO.py to ContainerIO.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/CurImagePlugin.py to CurImagePlugin.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/DcxImagePlugin.py to DcxImagePlugin.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/EpsImagePlugin.py to EpsImagePlugin.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/ExifTags.py to ExifTags.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/FitsStubImagePlugin.py to FitsStubImagePlugin.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/FliImagePlugin.py to FliImagePlugin.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/FontFile.py to FontFile.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/FpxImagePlugin.py to FpxImagePlugin.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/GbrImagePlugin.py to GbrImagePlugin.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/GdImageFile.py to GdImageFile.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/GifImagePlugin.py to GifImagePlugin.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/GimpGradientFile.py to GimpGradientFile.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/GimpPaletteFile.py to GimpPaletteFile.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/GribStubImagePlugin.py to GribStubImagePlugin.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/Hdf5StubImagePlugin.py to Hdf5StubImagePlugin.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/IcnsImagePlugin.py to IcnsImagePlugin.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/IcoImagePlugin.py to IcoImagePlugin.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/Image.py to Image.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/ImageChops.py to ImageChops.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/ImageCms.py to ImageCms.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/ImageColor.py to ImageColor.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/ImageDraw.py to ImageDraw.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/ImageDraw2.py to ImageDraw2.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/ImageEnhance.py to ImageEnhance.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/ImageFile.py to ImageFile.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/ImageFileIO.py to ImageFileIO.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/ImageFilter.py to ImageFilter.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/ImageFont.py to ImageFont.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/ImageGL.py to ImageGL.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/ImageGrab.py to ImageGrab.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/ImageMath.py to ImageMath.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/ImageMode.py to ImageMode.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/ImageOps.py to ImageOps.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/ImagePalette.py to ImagePalette.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/ImagePath.py to ImagePath.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/ImageQt.py to ImageQt.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/ImageSequence.py to ImageSequence.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/ImageShow.py to ImageShow.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/ImageStat.py to ImageStat.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/ImageTk.py to ImageTk.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/ImageTransform.py to ImageTransform.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/ImageWin.py to ImageWin.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/ImImagePlugin.py to ImImagePlugin.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/ImtImagePlugin.py to ImtImagePlugin.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/IptcImagePlugin.py to IptcImagePlugin.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/JpegImagePlugin.py to JpegImagePlugin.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/McIdasImagePlugin.py to McIdasImagePlugin.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/MicImagePlugin.py to MicImagePlugin.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/MpegImagePlugin.py to MpegImagePlugin.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/MspImagePlugin.py to MspImagePlugin.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/OleFileIO.py to OleFileIO.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/PaletteFile.py to PaletteFile.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/PalmImagePlugin.py to PalmImagePlugin.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/PcdImagePlugin.py to PcdImagePlugin.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/PcfFontFile.py to PcfFontFile.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/PcxImagePlugin.py to PcxImagePlugin.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/PdfImagePlugin.py to PdfImagePlugin.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/PixarImagePlugin.py to PixarImagePlugin.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/PngImagePlugin.py to PngImagePlugin.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/PpmImagePlugin.py to PpmImagePlugin.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/PsdImagePlugin.py to PsdImagePlugin.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/PSDraw.py to PSDraw.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/SgiImagePlugin.py to SgiImagePlugin.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/SpiderImagePlugin.py to SpiderImagePlugin.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/SunImagePlugin.py to SunImagePlugin.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/TarIO.py to TarIO.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/TgaImagePlugin.py to TgaImagePlugin.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/TiffImagePlugin.py to TiffImagePlugin.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/TiffTags.py to TiffTags.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/WalImageFile.py to WalImageFile.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/WmfImagePlugin.py to WmfImagePlugin.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/XbmImagePlugin.py to XbmImagePlugin.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/XpmImagePlugin.py to XpmImagePlugin.pyc
byte-compiling /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/XVThumbImagePlugin.py to XVThumbImagePlugin.pyc
running install_scripts
copying build/scripts-2.7/pilconvert.py -> /Library/Frameworks/Python.framework/Versions/2.7/bin
copying build/scripts-2.7/pildriver.py -> /Library/Frameworks/Python.framework/Versions/2.7/bin
copying build/scripts-2.7/pilfile.py -> /Library/Frameworks/Python.framework/Versions/2.7/bin
copying build/scripts-2.7/pilfont.py -> /Library/Frameworks/Python.framework/Versions/2.7/bin
copying build/scripts-2.7/pilprint.py -> /Library/Frameworks/Python.framework/Versions/2.7/bin
changing mode of /Library/Frameworks/Python.framework/Versions/2.7/bin/pilconvert.py to 755
changing mode of /Library/Frameworks/Python.framework/Versions/2.7/bin/pildriver.py to 755
changing mode of /Library/Frameworks/Python.framework/Versions/2.7/bin/pilfile.py to 755
changing mode of /Library/Frameworks/Python.framework/Versions/2.7/bin/pilfont.py to 755
changing mode of /Library/Frameworks/Python.framework/Versions/2.7/bin/pilprint.py to 755
running install_egg_info
Writing /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/PIL-1.1.7-py2.7.egg-info
creating /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL.pth
Nugrohos-MacBook-Air:Imaging-1.1.7 nugroho$ 

Nugrohos-MacBook-Air:Imaging-1.1.7 nugroho$ python
Python 2.7.10 (v2.7.10:15c95b7d81dc, May 23 2015, 09:33:12) 
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import Image
>>> 


or using pip, you'll get Pillow, a fork of PIL


Nugrohos-MacBook-Air:Imaging-1.1.7 nugroho$ pip install image
Collecting image
  Downloading image-1.4.1.tar.gz
Collecting pillow (from image)
  Downloading Pillow-3.0.0-cp27-none-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (2.9MB)
    100% |################################| 2.9MB 68kB/s 
Collecting django (from image)
  Downloading Django-1.8.5-py2.py3-none-any.whl (6.2MB)
    100% |################################| 6.2MB 39kB/s 
Installing collected packages: pillow, django, image
  Running setup.py install for image
Successfully installed django-1.8.5 image-1.4.1 pillow-3.0.0
Nugrohos-MacBook-Air:Imaging-1.1.7 nugroho$ 
Nugrohos-MacBook-Air:Imaging-1.1.7 nugroho$ python
Python 2.7.10 (v2.7.10:15c95b7d81dc, May 23 2015, 09:33:12) 
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from PIL import Image
>>> im=Image.open("lena.ppm")
Traceback (most recent call last):
  File "", line 1, in 
NameError: name 'Imagemage' is not defined
>>> im=Image.open("lena.ppm")
Traceback (most recent call last):
  File "", line 1, in 
  File "PIL/Image.py", line 1952, in open
    fp = __builtin__.open(fp, "rb")
IOError: [Errno 2] No such file or directory: 'lena.ppm'
>>> im=Image.open("Images/lena.ppm")
>>> from __future__ import print_function
>>> print(im.format,im.size,im.mode)
PPM (128, 128) RGB
>>> im.show()
>>> 


.

Here's the output