analytics

Saturday, 26 December 2009

An extra Christmas present

Tank Top has been a little neglected recently, you might think.  That's not entirely true - what happened was, I rashly rushed into installing Snow Leopard, and that gave me a whole load of things that aren't compatible with the TurboGears environment we're using.  It has been so frustrating to get it all working again, but some concerted effort this afternoon finally paid off.  

Things we had to mess about with included
  • changing the default Python back to 2.5 instead of 2.6 (that was the easy bit!)
  • reinstalling TurboGears and some additional modules
  • rebuilding psycopg2, which required a reinstall of PostgreSQL to get hold of a 32-bit library, using gcc 4.0 instead of 4.2, modifying the psycopg2 build to pick up the right PostgreSQL version, and, for good measure, manually setting the architecture flags
  • about 48 different mistakes along the way.
It has been a real advert for open source distributions with a single community where you'd go look for answers, instead of finding conflicting advice on different blogs that may or may not be appropriate. 

Anyway, it's finally all sorted out, and I'm considering that a Christmas bonus.  What a way to spend Boxing Day!