Solutions Log

So I only have to figure things out once.

Getting Django + MySQL Running Again on Snow Leopard

Previously…

  • Install the latest Xcode Tools from your Snow Leopard installation DVD
  • Re symlink things to /Library/Python/2.6/site-packages (Leopard used 2.5)
    • Django
    • Any other thing you had symlink’d in 2.5

MySQL + Python

After all that Sequel Pro is still showing the version of MySQL as 5.1.33, but it seems to be working…

PIL

This was by far the biggest headache. I finally found a solution:

Install like this, but before running sudo python setup.py install, do this:

LDFLAGS="-arch ppc -arch i386 -arch x86_64" CFLAGS="-arch ppc -arch i386 -arch x86_64" python setup.py build

If you already had PIL installed and had the source files you compiled from before, be sure to delete them and start fresh from a new Imaging-1.1.6.tar.gz.

Comments