Why I can't install ns2 on ubuntu 6.06

zhihang wang zhihang.wang at gmail.com
Sat Jul 29 13:43:35 UTC 2006


Thank you ,Perter.
  I have successfully install ns2 by the cvs version of ns2. I use cvs to
get the tcl, tk, otcl and ns2. Then it works well. I am also interest with
your idear and I will try it again. :)

On 7/29/06, Peter Garrett <peter.garrett at optusnet.com.au> wrote:
>
> On Fri, 28 Jul 2006 17:23:02 +0800
> "zhihang wang" <zhihang.wang at gmail.com> wrote:
>
> > I have installed tcl/tk 8.4 . When I install ns2 or otcl with
> ./configure.
> > the error occure:
> >
> > checking for tcl.h... -I/usr/include/tcl8.4
> > checking for tclInt.h... no
> > checking for libtcl8.4... -L/usr/lib - ltcl8.4
> > checking for init.tcl... /usr/lib/tcl8.4
> > checking for http.tcl... /usr/lib/tcl8.4/http1.0
> > checking Tcl http.tcl library... yes
> > checking for tclsh8.4... /usr/bin/tclsh8.4
> > 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.
> > zhihang at ubuntu :~/ns2/otcl-1.11$
>
> These kinds of errors almost always mean you are missing the *development*
> packages for the program you are trying to compile. Try this:
>
> apt-cache search tcl tk | grep dev
>
> You will see a whole list including for example
>
> tcl8.0-dev - Tcl (the Tool Command Language) v8.0 - development files
> tcl8.3-dev - Tcl (the Tool Command Language) v8.3 - development files
> tcl8.4-dev - Tcl (the Tool Command Language) v8.4 - development files
> tk8.3-dev - Tk toolkit for Tcl and X11, v8.3 - development files
> tk8.4-dev - Tk toolkit for Tcl and X11, v8.4 - development files
>
> So you might try installing the 8.4 versions of these -dev packages before
> running ./configure.
>
> Peter
>
>
>
>
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>



-- 
Best Regards
zhihang wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060729/906fcf08/attachment.html>


More information about the ubuntu-users mailing list