sudo apt-get install \ tcl tcl-dev \ libotcl1 libotcl1-dev \ tclcl-dev tclcl \ tk tk-dev
./configure failed complaining that some tcl, tk related files cannot be found. It turns out those packages have been installed but file locations are different than what the configure script expects. Following is a fix.
You need to change two variables in file configure : TCL_TCL_PLACES and TK_TCL_PLACES.
Add
/usr/share/tcltk/tcl$TCL_VERS \
/usr/share/tcltk/tcl$TCL_HI_VERS
to variable TCL_TCL_PLACES.
Add
/usr/share/tcltk/tk$TK_HI_VERS \
/usr/share/tcltk/tk$TK_VERS"
to variable TK_TCL_PLACES.
execute ./configure
Official page: http://www.isi.edu/nsnam/ns/ns-build.html
No comments:
Post a Comment