Apologies if multiple copies if this question was received!!! Hello, I m facing an issue with NAM 1.15, that was installed as a package within the ns-allinone-2.35. Installation and configuration were done right. NS is working fine, where simulations are going smooth. I can add new agents, generate trace and nam trace file, and do all kind of simulations.
My problem is that i m getting the error below, when executing nam. The current OS i m using in Fedora 16. Any suggestions would be highly appreciated. ############################################################ ####################################### [root@osamarehman ~]# nam nam: Can't find a usable tk.tcl in the following directories: /root/ns-allinone-2.35/tcl8.5.10/library/tk8.5 /root/ns-allinone-2.35/tcl8.5.10/tk8.5 ./lib/tk8.5 /root/ns-allinone-2.35/lib/tk8.5 ./library /root/ns-allinone-2.35/lib/tk8.5/tk.tcl: wrong # args: should be "::source fileName" wrong # args: should be "::source fileName" while executing "::source -encoding utf-8 /root/ns-allinone-2.35/lib/tk8.5/msgs/en.msg" ("uplevel" body line 1) invoked from within "uplevel 1 [list ::source -encoding utf-8 $langfile]" (procedure "::msgcat::mcload" line 10) invoked from within "::msgcat::mcload [file join $::tk_library msgs]" (in namespace eval "::tk::msgcat" script line 23) invoked from within "namespace eval msgcat { namespace export mc mcmax if {[interp issafe] || [catch {package require msgcat}]} { # The msgcat package..." (in namespace eval "::tk" script line 3) invoked from within "namespace eval ::tk { # Set up the msgcat commands namespace eval msgcat { namespace export mc mcmax if {[interp issafe] || [catch {p..." (file "/root/ns-allinone-2.35/lib/tk8.5/tk.tcl" line 21) invoked from within "source.orig /root/ns-allinone-2.35/lib/tk8.5/tk.tcl" ("uplevel" body line 1) invoked from within "uplevel source.orig [list $fileName]" invoked from within "if [$instance_ is_http_url $fileName] { set buffer [$instance_ read_url $fileName] uplevel eval $buffer } else { uplevel source.orig [list $fileName] ..." (procedure "source" line 8) invoked from within "source /root/ns-allinone-2.35/lib/tk8.5/tk.tcl" ("uplevel" body line 1) invoked from within "uplevel #0 [list source $file]" This probably means that tk wasn't installed properly. ############################################################ ####################################### Regards, Osama Rehman