LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-05-2009, 04:23 AM   #1
shojaru
LQ Newbie
 
Registered: Mar 2009
Distribution: Ubuntu 9.04
Posts: 25

Rep: Reputation: 15
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 ..:$
 
  


Reply

Tags
command, invalid



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Running command in gnome-terminal from script results in "...error creating child..." PlancksCnst Linux - General 6 04-08-2009 12:09 PM
"failed to execute child process" "Input/output error" fl.bratu Fedora 4 12-15-2008 04:03 AM
error: Error for wireless request "Set Mode" (8B06) : invalid argument "roaming" penguin chick Linux - Wireless Networking 5 08-22-2008 01:16 PM
Standard commands give "-bash: open: command not found" even in "su -" and "su root" mibo12 Linux - General 4 11-11-2007 10:18 PM
RealPlayer child process "_LOCATION_/realplay" not found error krome Red Hat 1 11-11-2003 02:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration