ns:"error when calling class OldSim"&tclsh:"invalid command+child process exits abn."
i have just installed ns 2.33 on ubuntu8.04.02LTS.
in bashrc,i edited library with the following lines:"
#LD_LIBRARY_PATH
......
export LD_LIBRARY_PATH=$OTCL_LIB:$NS2_LIB:$X11_LIB:$USR_LOCAL_LIB
#TCL_LIBRARY
......
export TCL_LIBRARY=$TCL_LIB:$USR_LIB
#PATH
......
PATH=$PATH:$XGRAPH:$NS:$NAM
"
but when I type
%ns myscript.tcl
it says "error when calling class OldSim:myscript.tcl"
if I type %tclsh myscript.tcl
it says:
"invalid command name "new"
while executing "new simulator"
invoked from within "set ns [new simulator]" (file"myscript.tcl line2)
child process exited abnormally "
please tell me what can i do now.....I am a newbie and sorry for stupid questions if it annoys the advanced user ..:$
|