Monday, June 14, 2010

This manual will work for NS2 allinone-2.34 with Ubuntu 10.4. As Ubuntus new version 10.04 needs following packages before any further installation, otherwise it will not work with it.
Please follow the following steps:

2. It turns out that otcl does not like the version of gcc installed by default in Lucid. So go ahead and change ns-allinone-2.34/otcl-1.13/Makefile.in. Find the line that says:

CC= @CC@
and change it to:
CC= gcc-4.3
3. Now follow the following steps for installation of nsallinone 2.34 and it will work with your machine. (copy ns-allinone-2.34.tar.gz)

Suppose that there is "ns-allinone-2.33.tar.gz" in current directory (e.g. "~/" for me is "/home/noor").
All steps are done in Terminal, so open a terminal in Accessories/Terminal.To extract the file:
tar xvfz ./ns-allinone-2.33.tar.gz

4. Change your directory within terminal as following way

$ cd /home/noor$ cd /home/noor/ns-allinone-2.34

5. Download & install some packages from repository if needed (Now its optional)