28 Jul 2012 cdent   » (Master)


I have upgrade my notebook to Mountain Lion and in the process seem to have rather messed up my development environment for Python. Haven't yet figured out where I went wrong, but merely upgrading Xcode does not fix it.

The problem appears to be a mismatch between workarounds that packages like Python-MysqlDB do to cope with where OS X puts include files and new places where such things are in Xcode 4.4. In addition to installing the command line tools (from within the Xcode preferences (Downloads), my solution:

cd /System/Library/Frameworks/Python.framework/Versions/2.7/include
su mv python2.7 python2.7.orig
sudo ln -s \
  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 .

This could very well break a bunch of other stuff, but we'll see, it has my TiddlySpace dev environment working again.

Syndicated 2012-07-28 18:23:41 (Updated 2012-07-28 20:53:47) from cdent

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!