how to patch tk-8.4-lastevent.patch
hello sir iv'e installed ns-2.33 in ubuntu 10.04 but nam is not working i get error like
[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..." i've downloaded the patch "tk-8.4-lastevent.patch" but dont know how to patch please tell me how patch the file step by step in terminal more over when i patch it says "permission denied" or bash:no file or directory |
The proof way is to use a binary 'nam' :
32bits https://drive.google.com/file/d/0B7S...it?usp=sharing 64bits https://drive.google.com/file/d/0B7S...it?usp=sharing Unpack ... and : $ sudo cp nam /usr/local/bin/ Using the patch, tk-8.4-lastevent.patch : $ cd ns-allinone-2.33/tk8.*/ && patch -p0 < tk-8.4-lastevent.patch ... But no guaranties that you get a usable 'nam'. Quote:
... or you can use the absolute path to it's location. - |
All times are GMT -5. The time now is 06:03 PM. |