install ZRP in NS2
hello , can u help me please ?
whene i execute this cmnd 'cp ns ns235-zrp' i have this prblm ---> cp: cannot stat 'ns': No such file or directory |
Quote:
Short answer to your question: the ns file in your copy command isn't in the directory where you're issuing the command. Go to the right directory. |
install zrp in ns2
Quote:
and i follow these steps : tar xvf ns-allinone-2.35_gcc5.tar.gz https://drive.google.com/file/d/0B7S...ew?usp=sharing cd ns-allinone-2.35/ patch -p0 < zrp-ns235.patch https://drive.google.com/file/d/0B7S...ew?usp=sharing export CC=gcc-4.8 CXX=g++-4.8 && ./install cd ns-2.35/ cp ns ns235-zrp sudo cp ns235-zrp /usr/local/bin/ ------------ Simulation ---------- ns235-zrp zrp-Demo1-1.tcl |
Quote:
|
Quote:
adc BASE-VERSION config.h diffserv gaf link mobile puma routing tmix wpan allinone baytcp config.log diffusion gen linkstate mpls pushback rtproto TODO.html xcp aodv bin config.status diffusion3 HOWTO-CONTRIBUTE mac nix qs satellite tools zrp aomdv bitmap config.sub doc imep Makefile ns.1 queue sctp tora apps CHANGES.html configure dsdv indep-utils Makefile.in ns-2.35 rap sensor-nets trace asim classifier configure.in dsr install-sh Makefile.in.rej ns_tclsh.cc README src_rtg validate autoconf.h common COPYRIGHTS empweb INSTALL.WIN32 makefile.vc packmime realaudio tcl validate.out autoconf.h.in conf dccp emulate lib mcast pgm release_steps.txt tcp VERSION autoconf-win32.h config.guess delaybox FILES LICENSES mdart plm routealgo test-all webcache |
Quote:
Follow the instructions. |
Quote:
and when i run 'ls' i find zrp file |
There is no file named ns in the directory listing you posted.
|
Quote:
Code:
cd ns-2.35/ Again: follow the instructions. If you are unable or unwilling to do so, there isn't much anyone can help you with. |
Or you could try this:
Code:
cp ns-2.35/ns ns235-zrp |
install zrp in ns2
Quote:
Yes, I do not know where to get it!!! |
Quote:
AGAIN: you are NOT following the instructions; you posted a directory listing, with the directory you're supposed to cd into IN IT....you ARE IN THE WRONG PLACE for the copy command to work. AGAIN: the instructions clearly tell you to type in "cd ns-2.35"...you have not done that. Until you do, you are not going to find the ns needed, since you are in the wrong directory. Cannot be more plain. |
install zrp in ns2
Quote:
And when you run the instruction 'sudo cp ns ns235-zrp', I find the same error 'cp: cannot stat 'ns': No such file or directory ' |
Quote:
Code:
cd ns-2.35 |
Quote:
Until you go into that folder, you *WILL NOT* find that data....you are skipping a step, and seem to be amazed that things aren't working. Again, either do what is suggested/follow the instructions, or there is no point in posting. |
All times are GMT -5. The time now is 10:53 PM. |