Popular Posts

Total Pageviews

Tuesday, June 28, 2011

ns2 installation, problems and solutions on fedora

One of the most easiest way to install ns2 is to download ns-allinone package. So download ns-allinone-2.34.tar.gz. now follow these steps.
1. go to directory where you saved tar.gz file and execute following command
tar -xzf ns-allinone-2.34.tar.gz
2. cd ns-allinone-2.34/
3. now install the package using (switct to root or use sudo)
./install
4. first problem you encounter is "g++ command not found" otherwise skip this step
soln- yum install gcc-g++
now try 3rd step again
5. you might encounter problem of "/home/user.../generic/tk.h:557: error expected declaration specifiers or '...' before 'Window' and similar other errors while installing tk (otherwise skip this step)
soln- yum install libX11-devel
now try 3rd step
6. if you get "can't find X includeds otcl-1.13 configuration failed! Exiting.."
soln- yum install libXt-devel or yum groupinstall "X Software Development" later one is better.
now try 3rd step and it will run successfully

1 comment:

  1. I need to implement wired cumwireless scenario, so i waana know can we simulate this scenario without using and base station(intermediate node between wired and wireless node)???
    it would help me alot

    ReplyDelete