You have no specific problem with your Tcl. Since you have installed it, you only have to provide the path to it during configure with the following parameter:
./configure --with-tcl={your tcl8.4.5 path} --with-tcl-ver=8.4.5--with-tk={your tk8.4.5 path} --with-tk-ver=8.4.5 What is meant with "path" is i.e. /usr/bin/tcl8.4.5, or whereever is your Tcl, Tk, etc I also attach a page that might be useful to you when you will install the other packages for NS-2. Try the instructions found here: http://nslab.ee.ntu.edu.tw/courses/ns-tutorial/labs/lab1.html I have used this method and I installed, with user priviledges, Tcl8.4.5, Tk8.4.5, otcl, tclcl, ns-2.29, nam-1.11, etc in my home directory under Debian Linux 3.1 where I'm working. I also got the same error as you when I did not specify the path to the Tcl, Tk, etc. Try the page above and I think that you will have no problems -Fk On 12/23/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > ---------- Forwarded message ---------- > From: Qingyu Miao <[EMAIL PROTECTED]> > To: ns-users@ISI.EDU > Date: Fri, 23 Dec 2005 16:21:50 +0800 > Subject: [ns] what is problem with my tcl > Hi > I am a green hand on NS. when I configure NS in my LINUX(redhat), there is > a > problem. > I have installed tcl8.4.5 and tk8.4.5 in my Linux. > Does anyone know what could be the problem and what should I do? Thanks. > Below is the error message when configure. > BR-Miao Qingyu > > --------------------------------------------- > sky:/home/emiaoqy/mesh/software/ns-2.1b9a> ./configure > No .configure file found in current directory > Continuing with default options... > checking build system type... i686-pc-linux-gnu > checking host system type... i686-pc-linux-gnu > checking target system type... i686-pc-linux-gnu > checking for gcc... gcc > checking for C compiler default output... a.out > checking whether the C compiler works... yes > checking whether we are cross compiling... no > checking for executable suffix... > checking for object suffix... o > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for g++... g++ > checking whether we are using the GNU C++ compiler... yes > checking whether g++ 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... yes > checking for dcgettext in -lintl... no > checking for getnodebyname in -ldnet_stub... no > checking that g++ can handle -O2... no > checking standard STL is available... no > checking for tcl.h... -I/usr/local/include > checking for libtcl8.3... -L/usr/lib -ltcl > checking for init.tcl... no > checking for tclsh8.3.2... no > checking for tclsh8.3... no > checking for tclsh... /usr/bin/tclsh > configure: error: Installation of tcl seems incomplete or can't be found > automatically. > 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. > > > > > > -- Filippos N Kolovos Software Systems Analyst & Engineer M.Sc. (Eng.) in Data Communications E-Mail: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] ----------------------------------------------