Mac OS X is not a full feature when it comes to development. Installing Xcode and its command line tools will give you what you need, as well as a compiler, etc. Xcode 4 is free on the Mac App Store, and you will need to install the command-line tool module after installing Xcode by going to Xcode-> Settings β Downloads-> Components
source share