Hi,
I have also faced the same type of problem while using ns-2.33 in FC-10 at VMWare workstation on my Win XP pc. When I write r...@ns1# ./nam it shows exactly the same message as shown below but simulation runs fine with ./ns as well as trace files. No problems on those. Thanks, Joarder Mohammad Mustafa Kamal --- On Thu, 12/18/08, Lipur Sugiyanta <lip...@gmail.com> wrote: From: Lipur Sugiyanta <lip...@gmail.com> Subject: [ns] NAM Error problem when executing NS2 in FDC10 To: ns-users@ISI.EDU Date: Thursday, December 18, 2008, 9:18 PM Dear All milist-ers, Thanks for your attention with my problem. I try to install NS2 release 2.33 with Fedora Core 10 platform. Afterthat I will continue with iNSpect. The installation of NS2 seen done well. The last command ./validate from ns-2.33 results "passed". All test output agrees with reference output. Thu Dec 18 21:48:29 JST 2008 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: all tests passed Also I have update the .bashrc file to export LD_LIBRARY_PATH and TCL_LIBRARY_PATH also PATH. I have problem with NAM. Here is the error message. [r...@localhost ns2-sample-code]# ns example2.tcl [r...@localhost ns2-sample-code]# 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..." [r...@localhost ns2-sample-code]# ls example2.tcl example4.tcl out1.tr out.nam simple.tr wireless1.tcl wireless3-out.nam wireless3.tcl example3.tcl out0.tr out2.tr ping.tcl simple-wireless.tcl wireless2.tcl wireless3-out.tr I try to execute nam, and the error is the same. [r...@localhost ns2-sample-code]# 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 }" invoked from within "if {[tk windowingsystem] eq "classic" || [tk windowingsystem] eq "aqua"} { bind Listbox <MouseWheel> { %W yview scroll [expr {- (%D)}] units } bind Li..." I'm looking for the solution, but it didn't work yet. May you have any experience with this. Thank you for any respond. Best regards, Lipur