Hi
Does ns start at all? From my understanding, its like ns works properly. But the variable "ns" is not used properly. Try to replace "ns" with "$ns" if you ever define "set ns [new Simulator]". The former one is just a string while the latter one is the simulator object. cheers, Teerawat On 8/30/2007, "AZHAR MOHD ARIS" <[EMAIL PROTECTED]> wrote: > >I read yr comment in the website >http://mailman.isi.edu/pipermail/ns-users/1997-May.txt >..just want to asking u .what u mean by >"tclsh7.6"? i'm using ns2-31. because i get an error like below too. >is it need to delete 'everything' in gen > >and make all again for ns2-31 folder? > > >rom [EMAIL PROTECTED] Mon May 5 17:04:03 1997 >From: [EMAIL PROTECTED] (Mark Handley) >Date: Mon, 05 May 1997 12:04:03 -0400 > >Subject: NS2 compiles, but doesn't run >In-Reply-To: Your message of "Mon, 05 May 1997 11:42:54 EDT." > <[EMAIL PROTECTED]> >Message-ID: < >[EMAIL PROTECTED]> > > >>we just installed ns-2.0a16, and I tried >> >> ns test-suite.tcl tahoe1 >> >>but I got the following error message: > >> >>invalid command name "ns" >> while executing >>"ns node" > >Probably ns didn't build correctly because it couldn't find tclsh >which is needed to build ns-lib.tcl > in the gen subdirectory. The >build will have failed to build ns-lib.tcl properly, and so nothing >works. > >Check whether this is in fact what's happening, by removing everything >in "gen" and re-making. If this is the case, edit the Makefile so it > >looks for "tclsh7.6" or whetever it's installed as on your platform. > >ANY BODY CAN X-PLAIN TO ME?? > >-- >AZHAR MOHD ARIS (GS16917) >Master in Computer Science Candidate (Distributed Computing) >University Putra of Malaysia >+^019.613.742.2 >YM: azuan76 >