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

Re: [ns] ns-allinone-2.1b7 installation



Oops. ns finds tclsh via your $PATH environmental variable. But install
does not set that. :(

One solution is, before you run install, do (assuming you're running
csh/tcsh):

setenv PATH
<path_to_ns_allinone>/tclbox/bin:<path_to_ns_allinone>/tkbox/bin:${PATH}

Do similar things if you are running other shell. 

I'll put a patch to install on the web.

- Haobo

On Fri, 20 Oct 2000, Hazem Hamed wrote:

> That's the output I get when running configure for ns-2.1b7:
> 
> -------------------------------------------------------------------------cre
> ating cache ./config.cache
> No .configure file found in current directory
> Continuing with default options...
> checking host system type... sparc-sun-solaris2.7
> checking target system type... sparc-sun-solaris2.7
> checking build system type... sparc-sun-solaris2.7
> checking for gcc... gcc
> checking whether the C compiler (gcc  ) works... yes
> checking whether the C compiler (gcc  ) is a cross-compiler... no
> checking whether we are using GNU C... yes
> checking whether gcc accepts -g... yes
> checking for c++... c++
> checking whether the C++ compiler (c++  ) works... yes
> checking whether the C++ compiler (c++  ) is a cross-compiler... no
> 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... yes
> checking for gethostbyname in -lnsl... yes
> checking for dcgettext in -lintl... yes
> checking for getnodebyname in -ldnet_stub... no
> checking that c++ can handle -O2... no
> checking standard STL is available... yes
> checking for tcl.h... -I../tcl8.3.2/generic
> checking for libtcl8.3... -R../tcl8.3.2/unix -L../tcl8.3.2/unix -ltcl8.3
> checking for init.tcl...
> /usr/ext/share/research/NS/ns-2.1b7/../tcl8.3.2/library
> checking for tclsh8.3.2... no
> checking for tclsh8.3... no
> checking for tclsh... no
> checking for tclsh7.6... no
> 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.
> -------------------------------------------------------------------------
> 
> > Can you post the part of configure outputs that complained?
> >
> > Thank you.
> >
> > > The configure of the following parts complained:
> > > otcl-1.0a6
> > > tclcl-1.0b10
> > > nam-1.0a9
> > > ns-2.1b7
> > >
> 
> 
>