UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
i installed ns2.35 on ubuntu8.04 lts Desktop edition.
and now i want tu run leach algorithm on it.
i dont know what should i do,
please tell me the steps of runnin leach algorithm.and send me the url of everything that i have to download it or email them for me(sahel_652003@yahoo.com)
i read ur posts about ns2.27,but they didnt work for me,may be beacuse of the differnce between versions!
The ns-allinone-2.27 "./install" runs with no errors.
2) Tcl,tk : sudo apt-get install tcl8.4-dev tk8.4-dev
cd /usr/local/include/
sudo ln -s /usr/include/tcl8.4/*.h .
.. where the 'period' ( . ) means the current directory.
3) Install otcl and tclcl to be used by LEACH :
./configure --prefix=/usr/ && sudo make install
4) A gcc, g++ version 3.3.3 is required.
5) The "LEACH" files :
cd ns-allinone-2.27/ns-2.27 && tar xvf mit.tar.gz
make clean
make -f 1-LEACH-Makefile-modified
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 9,310
Rep:
Message from @keepwalking :
""I'm do my research based on the LEACH protocol, can you please help me
to find the ns2.34 pakage that is having LEACH add on it. ... ""
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.