Installing ns-2.35 on Mountain Lion, Mavericks, Yosemite and El Capitan (OS X 10.8/10.9/10.10/10.11)
Here i will provide step by step procedure for you to install ns-2.35 on mac OS X 10.8/9/10 which i successfully installed on my mac (fully tested by me and its working) Credits:- Brain Adamson(for great patch) Henrique Zelak Leite Bastos for the right help. APPLE for Mac OS X.(the best a dev. can get) Step 1. Software Requirements (Pre-requisites). Download ns-2.35 from http://sourceforge.net/projects/nsnam/files/allinone/ns-allinone-2.35/ns-allinone-2.35.tar.gz/download Go through this tutorial to install command line tools via terminal http://leviathan37.tumblr.com/post/76618063571/how-to-install-command-line-tools-on-osx-mavericks Download XQuartz from http://xquartz.macosforge.org/ (this installs X11 libraries) install and reboot/logout . Step 2 . Choose install directory. Place the downloaded ns-allione-2.35.tar.gz file in the location you want to install it. Step 3 . Extract ns files. Go to location where you have put your downloaded .tar.