Hi and thanks for this precious guide! It works on Mountain Lion too! The only stop is when you try to create the executable, you get checking for C compiler default output file name… configure: error: C compiler cannot create executables. The issue is the missing folder OSX10.8.xctoolchain into /Applications/Xcode.app/Contents/Developer/Toolchains In MacOs 10.8 it is called XcodeDefault.xctoolchain. I simply copied and renamed this one!