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: *** ...
- 08-07-2009 #1Just 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 errorafter that I try to instal pice by pice. I follow instruction how is describe at isi.edu/nsnam/ns/ns-build.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
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
Can someone help me with this?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
Sorry for my bad english.
- 08-07-2009 #2Linux 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
- 08-07-2009 #3Linux Guru
- 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!
- 08-08-2009 #4Just Joined!
- Join Date
- Aug 2009
- Posts
- 3
tnx guys for quick answers, I will try this and post results.
You have beer :-p
- 08-09-2009 #5Just 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
D-Cat and Rubberman tnx for your helpCode:sudo apt-get install libx11-dev kdebase-dev


Reply With Quote