Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,516
Rep:
Post # 30 , @ omegabullit.
Well, I don't know, why I didn't miss any ' libintl.so ' for
ns-2.27 on Ubuntu. And no libintl at all is available, it seems.
A few Linux include a libintl package with libintl.so.X.x.x ,
and a 'gettext-devel' package with the link libintl.so , etc.
cd gettext-0.17/ &&
./configure --prefix=/usr/ --with-included-gettext --enable-shared
&& make && sudo make install
.....
( Or use a --prefix/home/'name'/<result> , cp libintl.so.8.0.2
to /usr/lib/ , and create the links, libintl.so , libintl.so.8 ,
to libintl.so.8.0.2 .)
Last edited by knudfl; 04-07-2010 at 02:18 AM.
Click here to see the post LQ members have rated as the most helpful post in this thread.
hii sir
i complete install leach protocol in ns 2.27..
but after i seen in root/ns-allinone-2.27/ns2.27/mit/leach_sims/leach.err following error occured
couldn't read file "/mit/rca/ns-ranode.tcl": no such file or directory
while executing
"source.orig /mit/rca/ns-ranode.tcl"
("uplevel" body line 1)
invoked from within
"uplevel source.orig[list $fileName]"
invoked from within
"if [$instance_ is_http_url $fileName] {
set buffer [$instance_ read_url $fileName]
uplevel eval $buffer
} else {
uplevel source.orig[list $fileName]
..."
(procedure "source" line 8)
invoked from within
"source $env(RCA_LIBRARY)/ns-ranode.tcl"
(file "mit/uAMPS/sims/uamps.tcl" line 9)
invoked from within
"source.orig mit/uAMPS/sims/uamps.tcl"
("uplevel" body line 1)
invoked from within
"uplevel source.orig[list $fileName]"
invoked from within
"if [$instance_ is_http_url $fileName] {
set buffer [$instance_ read_url $fileName]
uplevel eval $buffer
} else {
uplevel source.orig[list $fileName]
..."
(procedure "source" line 8)
invoked from within
"source mit/uAMPS/sims/uamps.tcl"
(file "tcl/mobility/leach.tcl" line 18)
invoked from within
"source.orig tcl/mobility/leach.tcl"
("uplevel" body line 1)
invoked from within
"uplevel source.orig[list $fileName]"
invoked from within
"if [$instance_ is_http_url $fileName] {
set buffer [$instance_ read_url $fileName]
uplevel eval $buffer
} else {
uplevel source.orig[list $fileName]
..."
(procedure "source" line 8)
invoked from within
"source tcl/mobility/$opt(rp).tcl"
(file "tcl/ex/wireless.tcl" line 187)
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,516
Rep:
Post # 34
Quote:
... in root/ns-allinone-2.27/ns2.27/mit/leach_sims/leach.err
following error occured
couldn't read file "/mit/rca/ns-ranode.tcl": no such file or ..
while executing
"source.orig /mit/rca/ns-ranode.tcl"
What do you mean by " root/ns-allinone-2.27 "
Wrong location ? /home/"name"/<dir>/ns-allinone-2.27 is default.
And what is "source.orig<space>/mit/.." ? ? One space too many ?
Or executed from a wrong location.
The missing file ( which causes the error = missing ) is here :
ns-allinone-2.27/ns-2.27/mit/rca/ns-ranode.tcl
.....
I modified MIT LEACH to work on NS2.34 ubuntu 9.10
its ok thank you.
hi
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)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.