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

Re: [ns] Problems installing ns2 on Linux



Try installing the latest version (ns-allinone-2.1b7a).
http://www.isi.edu/nsnam/ns/ns-build.html

- John Mehringer


[email protected] wrote:

> Dear Sirs...
>
>       I'm tring to install the Network Simulator 2 (package ns-allinone-2.1b6) on Linux (Mandrake Linux - 2.2.15-4mdk) but I always get the same error (TCL doesn't get installed) when running the "install" script :
>
> (...)
> creating ./config.status
> creating Makefile
> creating tclConfig.sh
> make: *** Warning: File `Makefile' has modification time in the future
> (2000-11-16 13:46:19 > 2000-11-15 21:28:23)
> cc -c -O   -I./../generic -I. -DHAVE_GETCWD=1 -DHAVE_UNISTD_H=1
> -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1
> -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1
> -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DNEED_MATHERR=1 -DRETSIGTYPE=void
> -DHAVE_SIGNED_CHAR=1 -DHAVE_SYS_IOCTL_H=1
> -DTCL_SHLIB_EXT=\".so\" ./../generic/panic.c
> In file included from ./../generic/panic.c:25:
> ../generic/tcl.h:492: parse error before `++'
> ../generic/tcl.h:861: parse error before `char'
> ../generic/tcl.h:861: stray '\' in program
> ../generic/tcl.h:899: parse error before `}'
> make: *** [panic.o] Error 1
> tcl8.0.4 make failed! Exiting ...
> For problems with Tcl/Tk see http://www.scriptics.com
>
>      I hope someone can help me...
>
>                              Thank you. Jonas.