-
Notifications
You must be signed in to change notification settings - Fork 0
davidfdzp/ns-allinone-2.35
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
1. Introduction ---------------- Ns-allinone is a package which contains required components and some of optional components used in running ns. The package contains an "install" script to automatically configure, compile and install these components. If you haven't installed ns before and want to quickly try ns out, ns-allinone may be easier than getting all the pieces by hand. Currently the package contains: - Tcl Tcl release 8.5.8 (required component) - Tk Tk release 8.5.8 (required component) - Otcl otcl release 1.14 (required component) - TclCL tclcl release 1.20 (required component) - Ns ns release 2.35 (required component) - Nam Nam release 1.14 (optional component) - Xgraph xgraph version 12 (optional component) - GT-ITM Georgia Tech Internetwork Topology Modeler (optional component) - SGB Stanford GraphBase package (optional component) - CWEB CWeb version 1.0 (?) (optional component) - ZLib zlib version 1.2.3 (optional component) 2. FEATURES IN ns-allinone-2.35 ------------------------------- Features in this version include: - Update to Tcl/Tk 8.5 series (becoming the default Tcl/Tk version on many platforms) - Update for Cygwin-1.7.1 release for Windows - New features for ns-2.35 release (see the nmks-2/CHANGES.html file) 3. Installing the package -------------------------- sudo apt install build-essential autoconf automake libxmu-dev xorg-dev sudo apt install g++-5 tar zxfv ns-allinone-2.35.tar.gz cd ns-allinone-2.35/ vi ns-2.35/linkstate/ls.h void eraseAll() { erase(baseMap::begin(), baseMap::end()); } void eraseAll() { this->erase(baseMap::begin(), baseMap::end()); } export CC=gcc-5 CXX=g++-5 && ./install // if Ubuntu 16.04, the build command is './install' only git init git remote add origin https://github.com/davidfdzp/ns-allinone-2.35.git git fetch origin git clean -d -fx git checkout --track origin/master Now, all you need to do is type "./install" under this directory. The install script will compile and install the whole package for you. The script also will tell you the final installation result. Add paths to .bash_aliases file or .bashrc NS_HOME=/the/path/to/ns-allinone-2.35 NSDIR=$NS_HOME/ns-2.35 PATH=$NS_HOME/bin:$NS_HOME/tcl8.5.10/unix:$NS_HOME/tk8.5.10/unix:$PATH LD_LIBRARY_PATH=$NS_HOME/otcl-1.14:$NS_HOME/lib TCL_LIBRARY=$NS_HOME/tcl8.5.10/library cd ns-2.35/ ./validate 4. More information -------------------- Ns-allinone is available from <http://sourceforge.net/projects/nsnam> or <http://www.isi.edu/nsnam/ns/ns-build.html> ----------------------------- The nsnam Project http://www.nsnam.org
About
ns-2.35 version
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published