Find the answer to your Linux question:
Results 1 to 5 of 5
Hi to all I'm trying to install NS2 on Ubuntu 9.04. first I download allinone aplication, and got this error Code: error: ‘TkBorder’ has no member named ‘objRefCount’ make: *** ...
  1. #1
    Just Joined!
    Join Date
    Aug 2009
    Posts
    3

    NS2 problem

    Hi to all
    I'm trying to install NS2 on Ubuntu 9.04. first I download allinone aplication, and got this error
    Code:
    error: ‘TkBorder’ has no member named ‘objRefCount’
    make: *** [tk3d.o] Error 1
    tk8.4.18 make failed! Exiting ...
    For problems with Tcl/Tk see scriptics.com
    after that I try to instal pice by pice. I follow instruction how is describe at isi.edu/nsnam/ns/ns-build.
    Unpack OTcl, TclCL and ns source into the same top level directory, and build OTcl, TclCL and ns
    cd into the OTcl directory, run ./configure.
    and got this error
    Code:
    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... no
    checking for tclInt.h... no
    checking for libtcl8.4... no
    checking for init.tcl... no
    checking for http.tcl... no
    checking Tcl http.tcl library... configure: error: Couldn't find http.tcl in  	 /http 	/http2.4 	/http2.3 	/http2.1 	/http2.0 	/http1.0
    Can someone help me with this?
    Sorry for my bad english.

  2. #2
    Linux Guru
    Join Date
    Jan 2009
    Location
    Dover, NH
    Posts
    1,633
    Welcome to dependency hell, classical style.

    Open up Synaptic and search for "tcl" to find what version you have, then install the corresponding development package.

    Like, if you have tcl8.4 checked, then also install tcl8.4-dev . Just for good measure, also make sure you have build-essential installed.

    After that, try again. You'll either have success or you'll find out what else is missing. Good luck!

    You also might find some tips here (off the link you provided):
    The Network Simulator ns-2: Installation Problems and Help

  3. #3
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,975
    It looks like you need to install the correct C++ (g++/gcc) compiler suite. The fact that things like getnodebyname and STL features are missing tell me that you don't have the software development package installed, or not installed properly.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  4. #4
    Just Joined!
    Join Date
    Aug 2009
    Posts
    3
    tnx guys for quick answers, I will try this and post results.
    You have beer :-p

  5. #5
    Just Joined!
    Join Date
    Aug 2009
    Posts
    3
    D-cat I try with Synaptic and get some other errors. finally i found this command which helped me to install ns2
    Code:
    sudo apt-get install libx11-dev kdebase-dev
    D-Cat and Rubberman tnx for your help

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...