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

[ns] Problem while installing ns-2



Hi Guys,

I am trying to install ns-allinone-2.1b8, on solaris 2.6.

While installing tcl 8.3.2 it gives the following error:

gcc -pipe -c -O -Wall -Wconversion -Wno-implicit-int -fPIC 
-I./../generic -I.  -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_GETCWD=1
-DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_TMPNAM=1
-DHAVE_WAITPID=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_TERMIOS=1
-DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TZNAME=1
-DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DNO_UNION_WAIT=1
-DNEED_MATHERR=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_SYS_IOCTL_H=1
-DHAVE_SYS_FILIO_H=1 -DSTATIC_BUILD=1          -DTCL_SHLIB_EXT=\".so\"
./../generic/tclThread.c
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 ...

I was going through the mailing lists and found a similar error that
was reported in March 2001, but there are no replies to that message.

Vivek



Do You Yahoo!?
Yahoo! Mail Personal Address - Get email at your own domain with Yahoo! Mail.