Can't install NS2 on FC4 - Tcl make eror
Hi,
I am new to Linux, so am really struggling here - so please go slow ! I am running FC4 and am trying to install NS2 (All-in-one-2.27 package) when I try to compile it (./install) all goes well until it tries to Build Tclcl-1.15 and the following error is displayed. ( I am using GCC 4) - is there a problem with Tclcl-1.15 and GCC4? Can any one help - I have been trying for 4 weeks now without success! Thanks in advance for all your help configure: creating ./config.status config.status: creating Makefile g++ -c -DNO_TK -DNDEBUG -DUSE_SHM -DHAVE_LIBOTCL1_8 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCL_H -DSTDC_HEADERS=1 -DHAVE_STRING_H=1 -DHAVE_SNPRINTF=1 -DSTDC_HEADERS=1 -DHAVE_STRTOQ=1 -DHAVE_STRTOLL=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_LONG=4 -DHAVE_INT64=1 -DHAVE_TCL_H=1 -DHAVE_LIBTCL8_4=1 -DHAVE_TK_H=1 -DHAVE_LIBTK8_4=1 -DHAVE_OTCL_H=1 -DHAVE_LIBOTCL1_8=1 -I. -I/home/calumlamont/project/ns-allinone-2.27/otcl-1.8 -I/home/calumlamont/project/ns-allinone-2.27/include -I/home/calumlamont/project/ns-allinone-2.27/include -o Tcl.o Tcl.cc tclcl-mappings.h: In static member function 'static int TclObjectHelper<T>::dispatch_(void*, Tcl_Interp*, int, char**)': tclcl-mappings.h:51: error: incomplete type 'Tcl' used in nested name specifier tclcl-mappings.h:52: error: invalid use of undefined type 'struct Tcl' tclcl-mappings.h:41: error: forward declaration of 'struct Tcl' tclcl-mappings.h:57: error: invalid use of undefined type 'struct Tcl' tclcl-mappings.h:41: error: forward declaration of 'struct Tcl' make: *** [Tcl.o] Error 1 tclcl-1.15 make failed! Exiting ... |
Take a look
http://mailman.isi.edu/pipermail/ns-...ne/050534.html And if you sucess, plz make notes to help others. I got another error when installing ns2.28 on FC4 Regards, |
All times are GMT -5. The time now is 04:33 PM. |