Error while running tcl file in ubuntu 12.04
Hello,
I am using ns2.34 on Ubuntu 12.04. I installed NS2.34 on ubuntu and also able to install ns-BGP on it. While running a tcl script (which is downloaded from http://www2.ensc.sfu.ca/~ljilja/cnl/...-2.34-BGP.html) i am getting following error. @ubuntu1204s:~/ns-allinone-2.34/ns-2.34/tcl/bgp/test$ ns drop-peer2.tcl DROP-PEER2 Validation Test: Three ASes connected in a line, each with one router. AS 1 AS 0 AS 2 n1 }------{ n0 }------{ n2 (_o10 cmd line 1) invoked from within "_o10 cmd get-bgp-agent" invoked from within "catch "$self cmd $args" ret" invoked from within "if [catch "$self cmd $args" ret] { set cls [$self info class] global errorInfo set savedInfo $errorInfo error "error when calling class $cls: $args" $..." (procedure "_o10" line 2) (SplitObject unknown line 2) invoked from within "$n0 get-bgp-agent" invoked from within "set bgp_agent0 [$n0 get-bgp-agent]" (file "drop-peer2.tcl" line 27) Please help me with the solution of the same. Thanks in advance |
Welcome to LQ.
Which "Ubuntu 12.04" are you using ? i686 ? x86_64 ? ** This command will tell : $ uname -m <Enter> Your errors : Looks like corrupt build of BGP ? BGP info : http://www.linuxquestions.org/questions/tags/bgp/ Binary package, bgp-ns-2.34-ubuntu1004_i386.deb, post #28 → → http://www.linuxquestions.org/questi...984/page2.html ... Can be installed on any 32bits Ubuntu : i686. Code:
$ ns-bgp drop-peer2.tcl |
P.S. :
The proof version of "drop-peer2.tcl" is included in the bgp package / patch: ns-2.34/tcl/bgp/test * Ref. ns-2.34-bgp_2.0_patch . - |
Thanks for your help....
After installing the said Binary package, bgp-ns-2.34-ubuntu1004_i386.deb now i am able to run the tcl files. I am using ubuntu 12.04 - i686 Thanks a lot |
All times are GMT -5. The time now is 02:05 AM. |