Installing ns2 under Fedora 20 is same as Fedora 19. However, there are some slight changes in the installation pattern.
Refer to this post for downloading the ns2.35 software and pre installation steps:
http://www.nsnam.com/2013/09/installing-network-simulator-2-ns-2-35-in-fedora-19.html
Steps for Fedora 20
During the software customization in Fedora 20, I have selected all the softwares in GNOME Desktop. So I did not tried the following command. However, if you have installed Fedora 20 with default set of softwares, there here is the step to install all the developmental libraries.
$prompt] yum install tcl tk gcc-c++ libX11-devel libXt-devel libXmu-devel
You need to change the file ns-2.35/linkstate/ls.h file as specified below.
in Line number 137, change erase( to this->erase
The installation will report an error if the above change is not made.
Once installed, set the PATH in /home/pradeepkumar/.bash_profile file, in my case here is my path information.
PATH=$PATH:$HOME/.local/bin:$HOME/bin:/home/pradeepkumar/ns-allinone-2.35/bin:/home/pradeepkumar/ns-allinone-2.35/tcl8.5.10/unix:/home/pradeepkumar/ns-allinone-2.35/tk8.5.10/unix
export LD_LIBRARY_PATH=/home/pradeepkumar/ns-allinone-2.35/otcl-1.14:/home/pradeepkumar/ns-allinone-2.35/lib
Here is the screenshot of my file
T S Pradeep Kumar
Refer to this post for downloading the ns2.35 software and pre installation steps:
http://www.nsnam.com/2013/09/installing-network-simulator-2-ns-2-35-in-fedora-19.html
Steps for Fedora 20
During the software customization in Fedora 20, I have selected all the softwares in GNOME Desktop. So I did not tried the following command. However, if you have installed Fedora 20 with default set of softwares, there here is the step to install all the developmental libraries.
$prompt] yum install tcl tk gcc-c++ libX11-devel libXt-devel libXmu-devel
You need to change the file ns-2.35/linkstate/ls.h file as specified below.
in Line number 137, change erase( to this->erase
The installation will report an error if the above change is not made.
Once installed, set the PATH in /home/pradeepkumar/.bash_profile file, in my case here is my path information.
PATH=$PATH:$HOME/.local/bin:$HOME/bin:/home/pradeepkumar/ns-allinone-2.35/bin:/home/pradeepkumar/ns-allinone-2.35/tcl8.5.10/unix:/home/pradeepkumar/ns-allinone-2.35/tk8.5.10/unix
export LD_LIBRARY_PATH=/home/pradeepkumar/ns-allinone-2.35/otcl-1.14:/home/pradeepkumar/ns-allinone-2.35/lib
Here is the screenshot of my file
NS2 in Fedora 20 |
T S Pradeep Kumar
Comments
Post a Comment