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

[ns] RE: init.tcl



Thanks, it works now. So, the ns is OK, but when I run nam.exe, the system
showed a pop-up window:"
nam.exe - Application Error

      The instruction at "0x00282fef" referenced
memory at "0x0000000c". The memory could not be
"read".

Click on OK to terminate the program
Click on CANCEL to debug the program"

And on the command window, it showed "

E:\users\wangzb\NetSim\nam-1.0a9>nam
nam: invalid command name "tcl_findLibrary"
"

I check the mail-list achieve, found some people else also had the same
problem, however, to my surprise, there was no reply.

Best Regards
Peng He

-----Original Message-----
From: Scott Michel [mailto:[email protected]]
Sent: January 17, 2001 6:54 PM
To: Peng He
Subject: Re: init.tcl


Try setting TCL_LIBRARY in a bat file or as part of your advanced system
settings (NT) or AUTOEXEC.BAT (9[58]):

	set TCL_LIBRARY <where you have TCL installed>


On Wed, Jan 17, 2001 at 06:32:36PM -0500, 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

--
Scott Michel                          |   No research ideal ever survives
UCLA Computer Science                 |   contact with implementation.
PhD Graduate Student                  | !!  Futuaris nisi irrisus ridebis
!!