Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Hi Guys I am trying to install NS2 2.34 in Ubuntu and I am getting following error, Please help
Installing and cross-linking C API (.3) docs
Installing and cross-linking command (.n) docs
tcl8.4.18 installation succeeded.
============================================================
* Build Tk8.4.18
============================================================
make: *** No rule to make target `/home/robbert/Downloads/ns-allinone-2.34/tk8.4.18/unix/Makefile.in', needed by `Makefile'. Stop.
./install: 460: autoconf: not found
loading cache ./config.cache
checking for Tcl configuration... (cached) found /home/robbert/Downloads/ns-allinone-2.34/tcl8.4.18/unix/tclConfig.sh
checking for existence of /home/robbert/Downloads/ns-allinone-2.34/tcl8.4.18/unix/tclConfig.sh... could not find /home/robbert/Downloads/ns-allinone-2.34/tcl8.4.18/unix/tclConfig.sh
checking for tclsh... (cached) No tclsh found on PATH
checking for tclsh in Tcl build directory... /home/robbert/Downloads/ns-allinone-2.34/tcl8.4.18/unix/tclsh
configure: error: /home/robbert/Downloads/ns-allinone-2.34/tcl8.4.18/unix/tclConfig.sh is for Tcl .
Tk 8.4.18 needs Tcl 8.4.
Use --with-tcl= option to indicate location of tclConfig.sh file for Tcl 8.4.
tk8.4.18 configuration failed! Exiting ...
Tk is not part of the ns project. Please see www.Scriptics.com
to see if they have a fix for your platform.
robbert@ubuntu:~/ns-allinone-2.34$
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 9,293
Rep:
Probably : sudo apt-get update
... to refresh the package lists / files : if you never did a refresh
in Synaptic or with 'sudo apt-get update', the package managing
tools / files will only know the already installed packages.
( May be the "Ubuntu Software Center" function would do that
automatically ? )
.
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 9,293
Rep:
@ Wonu, post 7 : Welcome to LQ.
NS-allinone-2.34 :
Actually, there shouldn't be any problems at all with 10.04 Lucid.
I made a new test install yesterday (ns-allinone-2.35-RC6: OK too) http://www.linuxquestions.org/questi...emix-829082/#2
.... No errors.
....
ld -shared -o libotcl.so otcl.o
otcl.o: In function `OTclDispatch':
/home/victory/ns-allinone-2.32/otcl-1.13/otcl.c:495: undefined reference to `__stack_chk_fail_local'
otcl.o: In function `Otcl_Init':
/home/victory/ns-allinone-2.32/otcl-1.13/otcl.c:2284: undefined reference to `__stack_chk_fail_local'
ld: libotcl.so: hidden symbol `__stack_chk_fail_local' isn't defined
ld: final link failed: Nonrepresentable section on output
make: *** [libotcl.so] Error 1
otcl-1.13 make failed! Exiting ...
this is the error i'm getting..
btw, sorry for posting this here.. i thought i'll post on a existing topic instead of creatin a new one in installation forum..
hello knudfl. I was able to install ns-2.34 succesfully but i wnat to work on SLP which is implemented on ns-2.27. I hae been trying to install it now for 4 days and i have tried different suggestions from different forums but i keep getting the same error when it trying to make tclcl-1.15. the error is
Tcl.cc: In member function ‘void Tcl::eval(char*)’:
Tcl.cc:180:... warning: deprecated conversion from string constant to ‘char*’
Tcl.cc: In member function ‘int TclObject::traceVar(const char*, TclObject*)’:
Tcl.cc:419: warning: deprecated conversion from string constant to ‘char*’
Tcl.cc: In member function ‘virtual void TclClass::bind()’:
Tcl.cc:601: warning: deprecated conversion from string constant to ‘char*’
Tcl.cc:603: warning: deprecated conversion from string constant to ‘char*’
make: *** [Tcl.o] Error 1
tclcl-1.15 make failed! Exiting ...
See http://www.isi.edu/nsnam/ns/ns-problems.html for problems
Please can you help with this problem??.Thank You in adance
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.