ns found the right version of tclsh in /usr/bin/tclsh8.6 but it doesn't seem to be there anymore for ns2

Viewed 11121

When I write $ns in Linux terminal it shows this message:

"When configured, ns found the right version of tclsh in /usr/bin/tclsh8.6
but it doesn't seem to be there anymore, so ns will fall back on running the first tclsh in your path. The wrong version of tclsh may break the test suites. Reconfigure and rebuild ns if this is a problem. "

will it cause any problem with my TCL file being executed? I am using ns-allinone-2.35.

3 Answers

For me this problem solved by upgrade tclsh.

sudo apt install tclsh

My Ubuntu version is 18.04 LTS

Check out this video basically, type the command

sudo apt-get install tcl-dev tk-dev

and it will work fine after the installation is complete, type

ns

and then the next line will be %

In my networking course, I had to learn NS2 related things. Our Teacher told us to modify TCP.cc files and other things related to that.
If this shows in your terminal, then your ns2 is installed in the wrong folder.
You must re-install ns2. Otherwise your updates in the files won't take effect.
tcl files won't cause any problems.
But modifying internal .cc files like tcp.cc, tcp_reno.cc will not take effect

Related