This guide assumes a fresh install of Mac OSX 10.6 Snow Leopard or 10.7 Lion.
Follow https://github.com/mxcl/homebrew/wiki/installation to get the basic setup up and running. (the default, not the alternate installs)
This guide assumes a fresh install of Mac OSX 10.6 Snow Leopard or 10.7 Lion.
Follow https://github.com/mxcl/homebrew/wiki/installation to get the basic setup up and running. (the default, not the alternate installs)
sudo apt-get update ; | |
sudo apt-get install libjpeg-turbo8-dev libjpeg8-dev ; | |
sudo apt-get install libjpeg-dev libfreetype6 libfreetype6-dev zlib1g-dev zlib1g-dev libfreetype6-dev liblcms1-dev libjpeg62-dev; | |
sudo apt-get build-dep python-imaging | |
#PIL cant find the files he needs, so we need to make symlinks to the files he looks for | |
sudo ln -s /usr/lib/`uname -i`-linux-gnu/libfreetype.so /usr/lib/ ; | |
sudo ln -s /usr/lib/`uname -i`-linux-gnu/libjpeg.so /usr/lib/ ; | |
sudo ln -s /usr/lib/`uname -i`-linux-gnu/libz.so /usr/lib/; |