ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
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.
I have followed your steps but i still get fail in the end.I was looking for solution of this error but can't find it.
tclcl-1.17 has been installed successfully.
* Build ns-2.29
./install: 528: ./configure: not found
Ns configuration failed! Exiting ...
Edit some 'Makefile.in' :
otcl-1.11/, line 7 : CC = gcc-4.1
tclcl-1.17/, line 40 : CC = gcc-4.1
tclcl-1.17/, line 41 : CPP = g++-4.1
ns-2.29/ , line 36 : CC = gcc-4.1
ns-2.29/ , line 37 : CPP = g++-4.1
nam-1.11/, line 44 : CC = gcc-4.1
nam-1.11/, line 45 : CPP = g++-4.1
Do 'make clean' in otcl-1.11/ and next delete the 'Makefile'.
Now ./install will work.
how to use command make clean.
when i type make clean in otcl dir
it give me error
no make for target
$ cd ns-2.35/ : Means $ cd ns-allinone-2.35/ns-2.35/
$ strip ns : Standard procedure to strip out surplus symbols, if you wish.
Is usually done by 'make install'. Will reduce the file size.
$ cp ns ns235-mannasim : Two things : Make a backup of the file.
And to get a file with a recognizable name : If you have more than one
'ns' executable. Easy to use : $ ns235-mannasim mannasim-rede-plana.tcl
instead of $ ns file.tcl : Which is impossible with several 'ns's.
Or use : $ ./ns235-mannasim mannasim-rede-plana.tcl
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
# 27 .
Error: Cannot open shared library: No such file or directory
Probably not the message you got. Usually the missing library name is shown.
$ ns reno.tcl : Better make a copy of the "ns from ns-235-with-mannasim"
to the folder with the examples. Or use a renamed 'ns' : ns235-mannasim.
And instead use $ ./ns reno.tcl , or $ ./ns235-mannasim reno.tcl
By using the plain name ns, you cannot be sure if it's an ns-2.29 'ns'.
Please always use renaming, if you have more than one 'ns'.