![]() |
Problems in Installation of NS2.27 on Ubuntu 9.10
I have run through all the installation steps required for installation of NS2.27 onto my system. But I face following problems
Nam has been installed successfully. ln: creating symbolic link `ns': File exists ln: creating symbolic link `nam': File exists Please compile your xgraph separately. Please compile your gt-itm & sgb2ns separately. Ns-allinone package has been installed successfully. Here are the installation places: tcl8.4.5: /home/sawyer/ns-allinone-2.27/{bin,include,lib} tk8.4.5: /home/sawyer/ns-allinone-2.27/{bin,include,lib} otcl: /home/sawyer/ns-allinone-2.27/otcl-1.8 tclcl: /home/sawyer/ns-allinone-2.27/tclcl-1.15 ns: /home/sawyer/ns-allinone-2.27/ns-2.27/ns nam: /home/sawyer/ns-allinone-2.27/nam-1.10/nam but when I give it returns the following sawyer@sawyer:~$ nam nam: [code omitted because of length] : no event type or button # or keysym while executing "bind Listbox <MouseWheel> { %W yview scroll [expr {- (%D / 120) * 4}] units }" And when I click on to installation paths above tcl8.4.5,tk8.4.5,ns,nam does not open. What may be the problem !!! . Next is when I go for validation that is after giving the command sawyer@sawyer:~/ns-allinone-2.27/ns-2.27$ ./validate I get this Test output agrees with reference output All test output agrees with reference output. *** ./test-all-rng Tests: rngtest Running test rngtest: ../../ns test-suite-rng.tcl rngtest QUIET Test output agrees with reference output All test output agrees with reference output. These messages are NOT errors and can be ignored: warning: using backward compatibility mode This test is not implemented in backward compatibility mode validate overall report: some tests failed: ./test-all-newreno ./test-all-red to re-run a specific test, cd tcl/test; ./test-all-TEST-NAME Notice that some tests in webcache will fail on freebsd when -O is turned on. This is due to some event reordering, which will disappear when -g is turned on. Please let me know wat all are the extra packages to be installed. bcoz I am using old version of Ns2 on Ubuntu9.10 Thank you, Sawyer |
Please do not start a new thread with the same subject.
You got an answer four days ago, and did not respond .. http://www.linuxquestions.org/questi...9.10-782356/#3 ..... ..... QUOTE 1. : "I have run through all the installation steps required for installation of NS2.27 .." So please tell something about, what you actually did, which method you followed ... ... and why you want to use ns-allinone-2.27 . Your information will be appreciated, as hundred thousands of members and guests use LQ as a knowledge base. QUOTE 2. : The error "[code omitted because of length]" EDIT : http://www.linuxquestions.org/questi...31-a-801695/#3 ...............About the patch 'tk-8.4-lastevent.patch' Nam isn't that important, as it is a separate application, used to show output from ns. Either directly, or with the command 'nam nam.out'. So any nam can be used, e.g. the one from ns-allinone-2.34 . QUOTE 3 : "Please let me know, what are the extra packages to be installed" The answer is : none. QUOTE 4 : " validate overall report : some tests failed " Your result looks as expected. I will return my ' ./validate ' result tomorrow. ..... |
Thanks for the help
Firstly I am using NS2.27 version because it supports LEACH protocol for Wireless Sensor Networks. The Implementation of LEACH was done on NS2.27.
If u have any idea, can you please explain the steps for the installation of LEACH onto NS2.27. I have the mit.tar.gz package required for LEACH protocol. I just installed the nam of ns-allinone2.34 and it is working fine(including ns2). I am able to execute nam filename.nam with simulations.. But I have one doubt....what the use of tcl8.4.5, tk8.4.5.and you told that they should be removed. Thanks for the reply, Sawyer |
Quote:
for ns-2.27 ? That's because older tcl / tk is difficult to configure on Debian / Ubuntu systems. They also failed this time. ( ./install ). And tcl / tk version 8.4.18 works perfect, you will see that below from the validate result. Or do you mean removing tcl / tk 8.4.19 from Ubuntu ? 8.4.19 is the version in the package manager ... If removing those : They can be reinstalled after buildig ns2. 8.4.19's usually work OK, if they are used by e.g. ' ns '. ..... ..... The result of ./validate , ns-2.27 : Code:
validate overall report: some tests failed:Probably not because of failing, but I think, I remember an error in one of the test scripts, making a test impossible As you can see, this a better result than yours, but if you doesn't use "all-newreno" it has little importance. ..... ..... LEACH protocol for Wireless Sensor Networks : Will come back to that, if I manage to use it. ..... |
Hi everybody,
Can anyone help me to know how to get the trace file and how to generate graphs appropriate to leach files,because I know that leach.energy ,leach.data and leach.alive files will be used to generate these graph but I don't know how? pleeeeeease help me. thx an advance. |
# 5. http://www.linuxquestions.org/questi...1&d=1363277097
There is an example here, post # 425 (The Pegasis/leach adds were used) http://www.linuxquestions.org/questi...68/page29.html Pegasis links, post # 6 here .. http://www.linuxquestions.org/questi...ocol-937219/#6 - |
Quote:
|
# 7.
Quote:
But you can add the Pegasis stuff to an ns-2.xx (ns2.34), if you want to. Suggest : Set up another ns-allinone-2.xx for Pegasis. It's a complete LEACH + Pegasis, AFAIK. A new Makefile.in is included in the patch package. - |
| All times are GMT -5. The time now is 02:01 AM. |