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

Re: ns-1.1b2 installation error: tclcl-mappings.h:51: parse errorbe (fwd)



Please check that your c++ compiler supports template. 

> 
> ---------- Forwarded message ----------
> Date: Mon, 8 Nov 1999 15:09:05 GMT+1
> From: KJ CURRAN <[email protected]>
> To: [email protected]
> Subject: ns-1.1b2 installation error: tclcl-mappings.h:51: parse error be
> 
> I get the following error whilst attempting to install 
> ns-allinone-2.1b2 on a Sun Solaris box.
> 
> 
> 
> checking for -lXbsd... (cached) no
> checking for -lsocket... (cached) yes
> checking for -lnsl... (cached) yes
> checking for -ldnet_stub... (cached) no
> checking for tcl.h... -I../tclbox/include
> checking for libtcl8.0... -R../tclbox/lib -L../tclbox/lib -ltcl8.0
> checking for init.tcl... ../tclbox/lib/tcl8.0 checking for tk.h...
> -I../tkbox/include checking for libtk8.0... -R../tkbox/lib
> -L../tkbox/lib -ltk8.0 checking for tk.tcl... ../tkbox/lib/tk8.0
> checking for otcl.h... -I../otcl checking for libotcl0.96... -R../otcl
> -L../otcl -lotcl checking for X11 header files checking for X11
> library archive checking for -lX11... (cached) yes checking for
> -lXext... (cached) yes No explicit static compilation flag; setting
> V_STATIC to "" checking for -ldl... (cached) no no dynamic load lib
> checking for a BSD compatible install... ./install-sh -c creating
> ./config.status creating Makefile c++ -c -I. -I../otcl
> -I../tkbox/include -I../tclbox/include  -DNO_TK  -mv8 -msupersparc
> -D__svr4__ -DUSE_SHM -DHAVE_LIBOTCL0_96 -DHAVE_OTCL_H -DHAVE_LIBTK8_0
> -DHAVE_TK_H -DHAVE_LIBTCL8_0 -DHAVE_TCL_H  -O2 -o Tcl.o Tcl.cc
> tclcl-mappings.h: In function `static int
> TclObjectHelper<T>::dispatch_(void *, struct Tcl_Interp *, int, char
> **)': In file included from tclcl.h:47,
>                  from Tcl.cc:50:
> tclcl-mappings.h:51: parse error before `::'
> make: *** [Tcl.o] Error 1
> TclCL make failed! Exiting ...
> fair:~/ns-allinone> 
> ______________________________
> University of Ulster
> Magee College
> Dept Informatics
> Northland Road
> Derry
> BT48 7JL
> 
> Phone: +44 (0)1504 375565
> Fax: +44 (0)1504 375565
> Web: http://www2.infm.ulst.ac.uk/~kevin
> 
>