LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-22-2020, 06:24 PM   #16
crts
Senior Member
 
Registered: Jan 2010
Posts: 2,020

Rep: Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757

@OP Post a link to the source and a link to the instructions/tutorial that you are following. If I understand correctly, you are saying that there is another file/folder ns-2.35 nested inside the ns-2.35 folder that you cd'ed into, i.e., something like this:
Code:
|- ns-2.35
   |- file1
   |- ...
   |- ns-2.35
   |- ...
Maybe the instructions are outdated or maybe you missed something. If you post the requested links it could be sorted out faster.
 
Old 06-23-2022, 07:43 PM   #17
myjoloseno
LQ Newbie
 
Registered: Jun 2020
Posts: 12

Rep: Reputation: Disabled
problem when installing ZRP in ns 2.35

sir, i had followed your instruction to install ZRP in ns 2.35, but i have this problem

seno@seno-VirtualBox:~$ cd ns-allinone-2.35/
seno@seno-VirtualBox:~/ns-allinone-2.35$ cd ns-2.35/
seno@seno-VirtualBox:~/ns-allinone-2.35/ns-2.35$ cp ns ns235-zrp
cp: cannot stat 'ns': No such file or directory
seno@seno-VirtualBox:~/ns-allinone-2.35/ns-2.35$ ls
Code:
adc               dccp              Makefile.in        rtproto
allinone          delaybox          makefile.vc        satellite
aodv              diffserv          mcast              sctp
aomdv             diffusion         mdart              sensor-nets
apps              diffusion3        mobile             src_rtg
asim              doc               mpls               tcl
autoconf.h.in     dsdv              nix                tcp
autoconf-win32.h  dsr               ns.1               test-all
BASE-VERSION      empweb            ns_tclsh.cc        tmix
baytcp            emulate           packmime           TODO.html
bin               FILES             pgm                tools
bitmap            gaf               plm                tora
CHANGES.html      HOWTO-CONTRIBUTE  puma               trace
classifier        imep              pushback           validate
common            indep-utils       qs                 validate.out
conf              install-sh        queue              VERSION
config.guess      INSTALL.WIN32     rap                webcache
config.h          lib               README             wpan
config.sub        LICENSES          realaudio          xcp
configure         link              release_steps.txt  zrp
configure.in      linkstate         routealgo
COPYRIGHTS        mac               routing
seno@seno-VirtualBox:~/ns-allinone-2.35/ns-2.35$ cd bin
seno@seno-VirtualBox:~/ns-allinone-2.35/ns-2.35/bin$ ls
Code:
check-diff.pl   gen-vcmake.pl  NS           raw2xg        tcl-expand.tcl
color-event.pl  getrc          ns2nam.pl    raw2xg-sctp   tcpf2xgr
cplot.tcl       gnuplot.pl     ns2oldns.pl  rt            tcpfull-summarize.tcl
dynamics.pl     ktest-all      oldns2ns.pl  set_flow_id   trsplit
gen-files       nam2ns.pl      raw2gp       string2c.tcl  xgraph.pl
seno@seno-VirtualBox:~/ns-allinone-2.35/ns-2.35/bin$ cd ..
seno@seno-VirtualBox:~/ns-allinone-2.35/ns-2.35$ cd diffusion3
seno@seno-VirtualBox:~/ns-allinone-2.35/ns-2.35/diffusion3$ ls
Code:
apps     COPYRIGHT    filters  ns      README.NS
CHANGES  filter_coEAre  lib      RDME  VERSION
seno@seno-VirtualBox:~/ns-allinone-2.35/ns-2.35/diffusion3$ ^C
seno@seno-VirtualBox:~/ns-allinone-2.35/ns-2.35/diffusion3$

Last edited by myjoloseno; 06-23-2022 at 07:45 PM. Reason: i forget to take a tags code
 
Old 06-24-2022, 04:07 PM   #18
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Post #17, @myjoloseno

Errors may be caused by using a Virtual machine → please see
ns2-INFO https://docs.google.com/document/d/1...it?usp=sharing

If any issues, the suggestion is to install "A Linux OS" to an USB stick.

The current build example is .....
Code:
tar xvf ns-allinone-2.35_gcc5.tar.gz
https://drive.google.com/file/d/0B7S...FDb7ul0VFk6FZQ
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
zrp-examples-06.2019.tar.gz
https://drive.google.com/file/d/1VOO...ew?usp=sharing

-
 
Old 06-25-2022, 08:11 PM   #19
myjoloseno
LQ Newbie
 
Registered: Jun 2020
Posts: 12

Rep: Reputation: Disabled
thank you for your information sir, I will try to patch ZRP in linux OS using usb stick
 
  


Reply

Tags
ns2, zrp



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to make modified ZRP protocol from ZRP protocol vishalpolara Linux - Newbie 12 10-07-2015 05:02 AM
Help me to how install ZRP in ns2.33 in ubuntu 10.10? prog.hussein Linux - Software 3 05-07-2013 09:20 AM
How to install zrp in ns2.33? khinmyo Linux - Software 3 09-12-2012 05:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration