There are a number of additional dependencies required for getting things installed on OS X. Starting with a blank slate OS X machine, this is the process it takes:
# Install Xcode Command Line Tools
# Install Homebrew
ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)"
# Some deps
brew install node spidermonkey closure-compiler yuicompressor
brew install llvm --with-clang
cd ~/Repos
git clone git://github.com/kripken/emscripten.git
I've been unable to install Clang 3.2 with this method. Also updating Xcode hasn't helped, I now need to downgrade it since it's using LLVM 4.2 now.
also, if you've already got python installed & in your $PATH, from the directory where python's installed you can symlink it to python2 like this
I was able to install the appropriate version of clang through macports with