0% found this document useful (0 votes)
14 views1 page

This Erase

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as ODT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views1 page

This Erase

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as ODT, PDF, TXT or read online on Scribd
You are on page 1/ 1

1.

sudo apt-get update


2. sudo apt-get dist-upgrade
3. sudo apt-get update
4. sudo apt-get gcc
5. sudo apt-get install build-essential autoconf automake
6. sudo apt-get install tcl8.5-dev tk8.5-dev
7. sudo apt-get install perl xgraph libxt-dev libx11-dev libxmu-dev
8. tar -zxvf ns-allinone-2.35.tar.gz
9. open home/ ns-allinone-2.35/ns-2.35/linkstate/ls.h
change line no. 137 erase this->erase
10.cd ns-allinone-2.35
11. ./install
12. gedit ~/.bashrc

paste it end of the file


export PATH=$PATH:/home/rrce/ns-allinone-2.35/bin:/home/rrce/ns-allinone-2.35/tcl8.5.10/unix:/
home/rrce/ns-allinone-2.35/tk8.5.10/unix

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/rrce/ns-allinone-2.35/otcl-1.14:/
home/rrce/ns-allinone-2.35/lib

export TCL_LIBRARY=$TCL_LIBRARY:/home/rrce/ns-allinone-2.35/tcl8.5.10/library

13. save & close it


14. source ~/.bashrc
15. ns
%exit

You might also like