[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ns] installation of tcl seems incomplete
I am attempting to recompile the NS-allinone-2.1b6 version for
Solaris. I wish to link in the new extensions to NS done by Jorg
Widmer for his Vehicle Framwork. The web page is at
http://www.icsi.berkeley.edu/~widmer/mnav/ns-example/index.html
My problem is this - My reconfiguration script crashes out after
...
...
checking for tclsh7.6...no
configure: error: Installation of tcl seems incomplete
Please correct.......
I had to recopy the tcl8.0.4 and tk8.0.4 source code directories back
to my unix box (as i had deleted after last installation). I am
installing the noah library (new vehicle framework source code)
which requires a recompile of ns after relevant files are copied to ns
directories.
I have a full tcl8.0.4 directory in my ns-allinone-2.1b6 directory. the
configuration script that I use is the following:
configure --disable-static --with-tcl=$HOME/ns-allinone-
2.1b6/tcl8.0.4 --with-tcl-ver=8.0.4 --with-otcl=$HOME/ns-allinone-
2.1b6/otcl-1.0a5 --with-tclcl=$HOME/ns-allinone-2.1b6/tclcl-1.0b9 --
with-perl=/usr/local/bin --with-tk=$HOME/ns-allinone-2.1b6/tk8.0.4
--with-tk-ver=8.0.4 --enable-debug --with-tcldebug=$HOME/ns-
allinone-2.1b6/tcl-debug --enable-gcc --with-perl=/usr/local/bin
I have a directory link in my .cshrc to the following directories
containing ar/gcc etc (This was a problem I had last time I installed
ns).
Contents of startt of .cshrc file
___________________________
..
....
.......
set cc=gcc
set lpath = ($HOME/ns-allinone-2.1b6/ns-2.1b6 /usr/packages/bin
/usr/packages/gnu/gcc-2.8/bin /usr/ccs/bin )
if ( ${?mychoice} != 0 ) then
if ( ${mychoice} == "openwin" ) then
set lpath = ($HOME/ns-allinone-2.1b6/ns-2.1b6
$HOME/ns-allinone-2.1b6/xgraph-12.1 /usr/packages/bin
$HOME/nam /usr/openwin/bin/xview /usr/X11R6/bin
/usr/openwin/bin $lpath)
endif
endif
set LD_LIBRARY_PATH=$HOME/ns-allinone-2.1b6/otcl-1.0a5
if (${?path} == 0) then
set path = ($HOME/ns-allinone-2.1b6/ns-2.1b6 $HOME/nam
/usr/ccs/bin /usr/packages/bin $HOME/ns-allinone-2.1b6/perl/bin
$HOME/gnuplot /usr/packages/gnu/gcc-2.8/bin /usr/local/bin
/usr/ucb /usr/bin $lpath .)
else
set path = ($HOME/ns-allinone-2.1b6/ns-2.1b6 $HOME/nam
$HOME/gnuplot /usr/ccs/bin /usr/packages/gnu/gcc-2.8/bin
$lpath $path)
Cheers
Kevin
endif