Prerequisites
Install development libraries for X11:
sudo apt-get install libx11-dev libxt-dev g++
Download ns-allinone package from here:
http://www.isi.edu/nsnam/ns/ns-build.html#allinone
Untar the package
tar -xvf ns-allinone-2.35.tar.gz
Install the package:
sudo ./install
Input the required path information in .bashrc file like this
export PATH=$PATH:<Place your paths here>
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH: <place the LD_LIBRARY_PATHS>
export TCL_LIBRARY=$TCL_LIBRARY:<place the TCL_LIBRARY>
After these steps, you can now run the ns validation suite with
cd ns-2.35; ./validate
thank you so much it's really helpful
ReplyDelete