Posts

Showing posts from April, 2012

steps for ns2.29 installation in ubuntu 10.04

Installation steps of NS2.29 on Ubuntu 10.04 Step 1: Download download the ns2 copy from internet or put this command into terminal. 1] go to terminal and type wget http://nchc.dl.sourceforge.net/sourceforge/nsnam/ns-allinone-2.29.3.tar.gz 2] u can download it from here. Step 2: Extract extract the tar file in home directory i.e. /home/username OR try this in terminal tar -xzvf ns-allinone-2.29.3tar.gz Step 3 : Install just type following commands cd ns-allinone-2.34 sudo apt-get install \ libx11-dev libxmu-dev libxmu-headers libxt-dev libtool g++-4.1 Edit some 'Makefile.in' : otcl-1.11/, line 7 : CC = gcc-4.1 tclcl-1.17/, line 40 : CC = gcc-4.1 tclcl-1.17/, line 41 : CPP = g++-4.1 ns-2.29/ , line 36 : CC = gcc-4.1 ns-2.29/ , line 37 : CPP = g++-4.1 nam-1.11/, line 44 : CC = gcc-4.1 nam-1.11/, line 45 : CPP = g++-4.1 Do 'make clean' in otcl-1.11/ and next delete the 'Makefile'. Now ./install will work. Edit some paths ==a $ gedit ~