I resisted for a while, but in the end the solution to my PIL problems on OS X was to compile Python 2.6.
I'm assuming that the following are already installed
- XCode should be installed
- Subversion (I use fink to get and install subversion)
http://python.org/ftp/python/2.6.4/Python-2.6.4.tar.bz2
Then I unpacked and compiled:
tar xvfj Python-2.6.4.tar.bz2
cd Python-2.6.4
./configure && make
sudo make install
Using this version of python (which gets installed to /usr/local/bin) I was able to bootstrap the Plone 4 and compile PIL:
svn co http://svn.plone.org/svn/plone/buildouts/plone-coredev/branches/4.0 plone4
cd plone4
PYTHON=/usr/local/bin/python
$PYTHON bootstrap.py
bin/buildout -c pil.cfg
No comments:
Post a Comment