LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-15-2014, 05:11 AM   #1
shannon777
LQ Newbie
 
Registered: Dec 2014
Posts: 1

Rep: Reputation: Disabled
Unhappy Implementing leach in ubuntu 10.04 using vmware


I am trying to simulate LEACH protocol in ubuntu 10.04.I have completed till "./configure with tcl path" step.However,after implementing this command i am getting an error of "checking Tcl http.tcl library... configure: error: Couldn't find http.tcl in /http /http2.4 /http2.3 /http2.1 /http2.0 /http1.0 " .What to do?
I have already tried to make suggested changes in the configure script.However i am still getting the error.Please help.


I have also tried .
sudo ln-s / usr/share/tcltk/tcl8.4 / usr / share /
sudo ln-s / usr/share/tcltk/tk8.4 / usr / share /
It is giving me an error : ln: creating symbolic link `./share': File exists.

Last edited by shannon777; 12-15-2014 at 05:25 AM. Reason: tried new solutions.
 
Old 12-15-2014, 10:22 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156
Which ns2 version ?
Which LEACH patch ?

* The latest LEACH update is leach+pegasis-ns234-files-2.tar.gz
https://drive.google.com/file/d/0B7S...ew?usp=sharing

* ns-allinone-2.xx comes with tcl, tk. No other tcl/tk is required.
A build example ...
http://www.linuxquestions.org/questi...ch-4175524367/
Ubuntu 10.04 :
$ tar xvf ns-allinone-2.34.tar.gz
$ cd ns-allinone-2.34/
$ tar xvf leach+pegasis-ns234-files-2.tar.gz
$ export CC=gcc-4.1 CXX=g++-4.1
$ ./install
$ cd ns-2.34/
$ sudo make install

Leach info
. http://www.linuxquestions.org/questions/tags/pegasis/
. http://www.linuxquestions.org/questions/tags/leach/

-
 
  


Reply


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
[SOLVED] LEACH and LEACH-C implementation in ns-2.35 on ubuntu 14.04 wellytg Linux - Newbie 3 12-02-2014 05:42 AM
leach.out total energy increase leach ns2.34 linuxUser123linux Linux - Software 1 07-13-2013 05:54 AM


All times are GMT -5. The time now is 01:21 PM.

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