Install XCODE: http://developer.apple.com/tools/xcode/
Install MacPort: http://www.macports.org/
Compile as usual: make && make install