These instructions are for Snow Leopard only.
Ensure that you have XCode for the version of OS X you're running. These are not installed by default on new machines and can be installed off the OS installation DVD. If you're not sure, run the following command. It should return something like this: /usr/bin/gcc
; if it does not, you need to install XCode.
which gcc