NAM is not working
Hi
I have installed Ns-2.33 on ubuntu 9.1 ,Ns 2 has been installed successfully but i think NAM is not working.when i run a script(.tcl) then i get following error message.... nemi@nemi-desktop:~/Desktop$ 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 }" invoked from within "if {[tk windowingsystem] eq "classic" || [tk windowingsystem] eq "aqua"} { bind Listbox <MouseWheel> { %W yview scroll [expr {- (%D)}] units } bind Li..." Plesse help me to sort out this problem Thanks Regards.. |
Nam error : [code omitted because of length]
1) Possible reason: Compiling ns-allinone-2.3x with a wrong version of tcl. Solution : apt-get remove tcl* ( tcl8.4 can be reinstalled after the ns2 / nam build.) EDIT : Please see post # 4 ... and http://www.linuxquestions.org/questi...31-a-801695/#3 ...............About the patch 'tk-8.4-lastevent.patch' 2) May be use ns-allinone-2.34 instead. More info : LQ Search → "Tag Name" = ns2 http://www.linuxquestions.org/questions/search.php .. and .. http://nsnam.isi.edu/nsnam/index.php/User_Information ..... |
Thanks friend .
I removed NS-2 2.33 and then i installed 2.34 sucessfully and it is working well. |
ya i had the same problem. if you do not want to reinstall, do this:
Download the tk-8.4-lastevent.patch from , http://bugs.gentoo.org/show_bug.cgi?id=225999 place it in ur tk8.4.18 directory and go to the same directory and execute, patch -p0 < ./tk-8.4-lastevent.patch now reinstall tk. if it still does not work , reinstall the whole thing. though this solution was for fedora, it worked for my ubuntu also. |
All times are GMT -5. The time now is 06:55 AM. |