|4|| || 1. Download and install the latest version of [http
|://developer.apple.com/technologies/xcode.html Xcode Tools] for your Mac OS X version. It is best not to install an older version from the Mac OS X install disk, since it may have bugs that cause some ports to fail to install. Latest versions are [http://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wa/getSoftware?bundleID=19907 2.5] for Mac OS X 10.4, [http://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wa/getSoftware?bundleID=20491 3.1.4] for Mac OS X 10.5, and 3.2.6 or 4.0.2 for Mac OS X 10.6.