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

[ns] OTCL installation



Hi,

I am a beginner to NS2 and I downloaded components for building NS2
recently. I succeeded in installing TCL/TK, but when I tried to install
OTCL, there was an error when running ./configure. It is as
follows:

----------------------------------
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for string.h... yes
checking for main in -lXbsd... no
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... no
checking for dcgettext in -lintl... no
checking for getnodebyname in -ldnet_stub... no
checking that c++ can handle -O2... yes
checking standard STL is available... yes
checking for tcl.h... -I../include
checking for libtcl8.3... no
checking for init.tcl... ../lib/tcl8.3
checking for tclsh8.3.2... no
checkin! g for tclsh8.3... ../bin/tclsh8.3
configure: error: Installation of tcl seems incomplete or can't be found
automat
ically.
Please correct the problem by telling configure where tcl is
using the argument --with-tcl=/path/to/package
(perhaps after installing it),
or the package is not required, disable it with --with-tcl=no.
------------------------------------------------

It seems that "libtcl8.3" can't be found. I tried to
look for it myself, and only found "libtcl8.3.sl", but no "libtcl8.3".

Could any expert give some advice?

Thanks,
Peng, Jun



Get your FREE download of MSN Explorer at http://explorer.msn.com