[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ns] init.tcl



try:

add your tcl path to TCL_LIBRARY envrionment varialbe 

Kun-chan Lan

On Wed, 17 Jan 2001, Peng He wrote:

> I have been able to make ns, tcl and tk.
> 
> However when I try to run ns, I got the error :
> ----------------------------
> "
> application-specific initialization failed: Can't find a usable init.tcl in
> the
> following directories:
>     {} E:/users/wangzb/NetSim/lib/tcl8.3 E:/users/wangzb/NetSim/lib/tcl8.3
> E:/us
> ers/wangzb/lib/tcl8.3 E:/users/wangzb/lib/tcl8.3/library
> E:/users/wangzb/library
>  E:/users/wangzb/../tcl8.3/library E:/users/../tcl8.3/library
> 
> 
> 
> This probably means that Tcl wasn't installed properly.
> "
> ----------------------------
> 
> I tried running tclsh and it runs perfectly well.
> 
> I understand that the problem is that init.tcl is not present in any of the
> listed directories. but how to modify these listed directories ?
> 
> I know that init.tcl is present in my ../tcl8.3.2/library directory.
> 
> Best Regards
> Peng He
>