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

Re: [ns] ns-allinone-2.1b8a install problem



>Hi,
>I have the following problem in installing ns on SunOS machine.
>I found the same question in the mailing list, but couldn't find the
>answer for it.
>
>*******************************************
>tclsh ./../tools/genStubs.tcl ./../generic \
>        ./../generic/tcl.decls ./../generic/tclInt.decls
>invalid command name "namespace"
>    while executing
>"namespace eval genStubs {
>    # libraryName --
>    #
>    #   The name of the entire library.  This value is used to compute
>    #   the USE_*_STUB_PROCS m ..."
>    (file "./../tools/genStubs.tcl" line 13)
>*** Error code 1
>make: Fatal error: Command failed for target `../generic/tclStubInit.c'
>tcl8.3.2 make failed! Exiting ...
>For problems with Tcl/Tk see http://www.scriptics.com
>*******************************************

It looks like you have an tclsh from some older version of tcl
(pre-8.3.2) in your path.  That tclsh doesn't understand the tcl
namescape.

Can you confirm if this is the problem?  If so I'll add it to the
ns-problems page.

   -John Heidemann