Hello people,
am new to linux and am trying to install NS2 on Fedora 14 running on VMware, the am following the instructions at:
http://wpage.unina.it/marcello.caleffi/ns2/fedora.html , however, on step 5: tclcl installation am receiving the follow error and have tried to look at other posts but no luck, your help will be appreciated.
[root@localhost tclcl-1.18]# make
g++ -c -DNO_TK -DNDEBUG -DUSE_SHM -DHAVE_LIBOTCL1_12 -DHAVE_OTCL_H -DHAVE_LIBTK8_4 -DHAVE_TK_H -DHAVE_LIBTCL8_4 -DHAVE_TCLINT_H -DHAVE_TCL_H -DHAVE_CONFIG_H -I. -I/usr/share/otcl-1.12 -I/usr/local/include -I/usr/share/tcl8.4.14/generic -I/usr/share/tcl8.4.14/generic -o Tcl.o Tcl.cc
Tcl.cc: In member function ‘void Tcl::eval(char*)’:
Tcl.cc:182:8: warning: deprecated conversion from string constant to ‘char*’
Tcl.cc: In member function ‘int TclObject::traceVar(const char*, TclObject*)’:
Tcl.cc:421:50: warning: deprecated conversion from string constant to ‘char*’
Tcl.cc: In static member function ‘static int TclClass::create_shadow(void*, Tcl_Interp*, int, const char**)’:
Tcl.cc:509:57: warning: deprecated conversion from string constant to ‘char*’
Tcl.cc:511:61: warning: deprecated conversion from string constant to ‘char*’
Tcl.cc: In static member function ‘static int TclClass::dispatch_instvar(void*, Tcl_Interp*, int, const char**)’:
Tcl.cc:566:35: error: invalid conversion from ‘const char*’ to ‘char*’
Tcl.cc:571:72: warning: deprecated conversion from string constant to ‘char*’
Tcl.cc: In member function ‘virtual void TclClass::bind()’:
Tcl.cc:603:60: warning: deprecated conversion from string constant to ‘char*’
Tcl.cc:605:60: warning: deprecated conversion from string constant to ‘char*’
make: *** [Tcl.o] Error 1
[root@localhost tclcl-1.18]# make install
/usr/bin/install -c -m 644 *.h /usr/local/include
/usr/bin/install -c tcl2c++ /usr/local/bin
/usr/bin/install -c libtclcl.a /usr/local/lib
/usr/bin/install: cannot stat `libtclcl.a': No such file or directory
make: *** [install] Error 1
[root@localhost tclcl-1.18]#