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

Re: [ns] JNI and NS



On Thu, 17 Aug 2000, Mark Butler wrote:

> application-specific initialization failed: Can't find a usable init.tcl in 
> the following directories:
>     /usr/local/lib/tcl8.0 /ns/ns-allinone-2.1b6/lib/tcl8.0 /ns/lib/tcl8.0 
> /ns/ns-allinone-2.1b6/library /ns/library /ns/tcl8.0/library /tcl8.0/library
> 
> /usr/local/lib/tcl8.0/init.tcl: couldn't read file 
> "/usr/local/lib/tcl8.0/init.tcl": bad file number

[..]

> This probably means that Tcl wasn't installed properly.

We've run into that a _lot_ here; pretty much every install of the
standard ns. As you can see, the guesses involve almost every
directory around the directory where init.tcl is living, but not that
directory.

After many tedious recompiles of everything that didn't fix it and a
lot of swearing, we just put a symlink to the actual init.tcl in one
of the directories ns looks in. Voila, problem vanishes.

this should probably be listed as a FAQ, although I think it would be
nice to take care of it properly in the configure processes.

L.

<[email protected]>PGP<http://www.ee.surrey.ac.uk/Personal/L.Wood/>