On Sun, Mar 1, 2009 at 5:47 PM, Greg Fuller <gregf...@gmail.com> wrote: > > This might work smoothly for pure python modules, but.... > > When I tried to easy_install PIL on my mac, -- I think I remember > correctly -- it failed to build because xcode was not available. When > I installed xcode, it still would not build. So I tried a ports > package and that did not work. I finally found a pre-compiled binary.
Follow these to manual install PIL: PIL - http://www.pythonware.com/products/pil/ freetype - http://www.freetype.org/ jpegsrc - http://www.ijg.org/ libpng - http://www.libpng.org/pub/png/libpng.html Install libpng: 1. tar -jxf libpng-1.2.16.tar.bz2 2. cd libpng-1.2.16 3. ./configure 4. make install Install jpegsrc: 1. tar -zxf jpegsrc.v6b.tar.gz 2. cd jpeg-6b' 3. ./configure 4. make install 5. make install-lib Install freetype (optional): 1. tar -jxf freetype-2.3.1.tar.bz2 2. cd freetype-2.3.1 3. ./configure 4. make install Install PIL: 1. tar -zxf Imaging-1.1.6.tar.gz 2. cd Imaging-1.1.6 3. python setup.py build 4. Should get this output -------------------------------------------------------------------- --- TKINTER support ok --- JPEG support ok --- ZLIB (PNG/ZIP) support ok --- FREETYPE2 support ok -------------------------------------------------------------------- 5. now run: python setup.py install -wj --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---