NS2 nam error 02 Mar, 2009 NS2 nam error

I have been bothered by this error while running ns/nam for a long time now. Finally found that tk needed patching :( Here is the error that I got and the solution that helped me fix it. Error:

[root@localhost]# nam: 
[code omitted because of length]
: no event type or button # or keysym
while executing
"bind Listbox <mousewheel> {</mousewheel>
%W yview scroll [expr {- (%D / 120) * 4}] units
}"
invoked from within
"if {[tk windowingsystem] eq "classic" || [tk windowingsystem] eq "aqua"} {
bind Listbox <mousewheel> {</mousewheel>
%W yview scroll [expr {- (%D)}] units
}
bind Li..."

And, I got the solution to this on: http://forums.fedoraforum.org/showthread.php?t=206795.

Essentially you need to patch tk8.4.18 with the patches from: http://bugs.gentoo.org/show_bug.cgi?id=225999

Details of how to patch are available at: http://forums.fedoraforum.org/showpost.php?s=a2bb89875669ff26ed61cd371399a517&p=1131049&postcount=3



Tags  ·   code omitted because of length  ·   nam  ·   Show Comments ▾


     
Original design for Tumblr crafted by Prashanth Kamalakanthan.
Adapted for Tumblr & Jekyll by Sai Charan. Customized theme available on Github.

Sai Charan's blog by Sai Charan is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
Creative Commons License