[ns] Ns can't find init.tcl though its in the PATH

Muhammad Usman muhammad_usman_ashraf at yahoo.com
Thu Apr 20 16:05:41 PDT 2006


Hi,
  I have (finally) installed Qiang Ni's implementation on Redhat Linux 9. But the problem is that as soon as I give the command:
   
  "ns example.tcl"
   
  or even simply 
   
  "ns"
   
  I get error that "Application-Specific failed: Can't find a usable init.tcl" in the following directories:
   
  /home/usman/ns/lib/Linux:/home/usman/ns/bin/Linux........... 
  ..................
   
  This probably means that Tcl wasn't installed properly
   
  invalid command name "new" while executing "new Simulator" (file example.tcl)
   
   
   
  however, I have included the directory /home/usman/ns/lib/Linux in the the PATH, LD_LIBRARY_PATH and also in TCL_LIBRARY in the ~/.bashrc file
  and I am the root user and init.tcl  IS IN /home/usman/ns/lib/Linux
   
  Why can't ns find a file that is present in the directories it says it searched ? is beyond me...
   
  Also, I have included all the imaginable directories in the PATH, LD_LIBRARY_PATH and TCL_LIBRARY variables. but the error persists
   
  Kindly help,
   
  Regards
   
   

		
---------------------------------
Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates.


More information about the Ns-users mailing list