Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-05-2012, 12:09 AM   #1
LQ Newbie
Registered: Feb 2012
Posts: 3
Blog Entries: 1

Rep: Reputation: Disabled
want to install ns2.29.3 along with mannasim patch for ns2.29

I have downloaded ns2.29.3 and mannasim patch for ns2.29. I want to install now. I want to know what is the best platform to install. I also want to know the procedure of installing these. Thank you
Old 03-05-2012, 12:54 AM   #2
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Welcome to LQ. .. ..

All ns2 versions were built and tested on CentOS / Scientific / Fedora.
Suggest CentOS 6.x, Scientific Linux SL 6.x, Fedora 16.

# yum install \
gcc-c++ compat-gcc-34-c++ automake autoconf libtool libX11-devel \
libXext-devel libXau-devel libXmu-devel xorg-x11-proto-devel

cd ns-allinone-2.29/ && export CC=gcc34 CXX=g++34 && ./install

Good luck !
Old 03-05-2012, 02:58 AM   #3
Satyaveer Arya
Senior Member
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,420

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
Ubuntu would be the best platform for all this.

Now you have downloaded ns and mannasim patch so you now you go here -

Unpack the tar.gz file of mannasim into ns-2.29 main folder (if using ns all-in-one distribution ns-allinone-2.29/ns-2.29 folder). Inside mannasim/ folder just created look for a ns-modified-files/ folder, where ns-2.29 modified files are stored.

Substitue ns-2.29 files listed bellow by it's MannaSim version stored in ns-modified-files/ folder in mannasim/ directory.

In ns-2.29 main folder re-run configuration script and then re-compile the system:
To test MannaSim installation I have attached two simulation scripts. The first one simulates a hierarchical network composed of two diferent classes of sensor nodes and the second one simulates a flat network of homogeneous sensors.
Attached Files
File Type: txt mannasim-rede-hierarquica.txt (12.2 KB, 56 views)
File Type: txt mannasim-rede-plana.txt (12.1 KB, 38 views)

Last edited by Satyaveer Arya; 03-05-2012 at 02:59 AM.
1 members found this post helpful.
Old 04-20-2012, 08:10 AM   #4
LQ Newbie
Registered: Apr 2012
Location: zanjan - iran
Distribution: fedora - ubunto
Posts: 6

Rep: Reputation: Disabled
first download mannasim diff file of manaasim-site
and copy diff file in the ns-allinone-version folder
and run command
patch -p1< mannasim-patch.diff
after patching mannasim plz run install command
1 members found this post helpful.
Old 10-02-2013, 12:09 AM   #5
LQ Newbie
Registered: Jun 2011
Posts: 22

Rep: Reputation: Disabled
Ns-2.29 make error

Hi, I m working on the energy model of leach protocol, and for that using Ns-2.29 with mannasim. I have added few lines in and battery.h ( which is used for sensor nodes), and run make command, my code compiles perfectly without any error, then I commented the changes made and run make command, now I m getting this error. I have checked and ump.h is included. I haven't access or changed any of these files but don't know why I m getting this. I'll be grateful if anyone can help in resolving this issue.

classifier/ error: ump.h: No such file or directory

classifier/ In member function ‘virtual void MCastBSTClassifier::recv(Packet*, Handler*)’:
classifier/ error: ‘hdr_ump’ was not declared in this scope
classifier/ error: ‘ump’ was not declared in this scope
classifier/ error: ‘hdr_ump’ is not a class or namespace
make: *** [classifier/classifier-bst.o] Error 1



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Install ns2.29 on Ubunto 11.04(NIST Mobility Patch) fahimeh_ak Programming 38 03-24-2015 06:45 AM
how to install leach patch in ns2.34 in ubuntu 9.10 anjon.sunny Linux - Newbie 9 04-30-2014 04:05 AM
Differences between LEACH results on ns2.1b5 and ns2.35 deepa_2111 Linux - Software 15 05-16-2013 05:53 PM
seeking advice to install 802.11e patch in ns2 stud17 Linux - Newbie 48 11-04-2012 10:09 AM
i am using ubuntu as os. for NS2 to implement a routing protocol in ns2. sujovasu Programming 1 07-27-2010 01:44 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:50 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration