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
This script now appears to default to LLVM 3.3, which produces the error described at
https://groups.google.com/forum/#!topic/emscripten-discuss/OTxJ29JyOhg
when trying to compile the hello world example from the tutorial. Should this script ask for LLVM 3.2 instead, or is there a different preferred solution?