HOWTO get ns-3 running on Mac OS X (10.6.2 Intel)
This is the installation process:
1) Install XCode (Apple Developer Tools).
You will find XCode in the Mac OS X Install DVD that came with your Mac. Alternatively, you can download the most recent version of XCode from the Apple Developer Connection website (http://developer.apple.com/mac/). The XCode integrated development environment includes the gcc compiler and critical libraries required to build applications to be run in Mac OS X.
2) Install Fink (additional Unix packages). 3) Install Mercurial (repository downloader). 4) Download source code repository. 5) Build the local repository.