LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 04-09-2015, 04:09 AM   #16
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,705

Rep: Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294

Post #15, @ghadghoud : Welcome to LQ.

Hopefully it is ns-2.34 : The title line says ns-2.35.

Ubuntu 10.04 : Must be the 32bits version (i686) for leach.
This command will tell : $ uname -m

1) tar xvf ns-allinone-2.34.tar.gz
2) cd ns-allinone-2.34/
3) patch -p0 < otcl_ns234_gcc-4.4.patch
https://drive.google.com/file/d/0B7S...ew?usp=sharing
4) tar xvf leach+pegasis-ns234-files-2.tar.gz (Latest leach update)
https://drive.google.com/file/d/0B7S...ew?usp=sharing
5) ./install
6) cd ns-2.34/
7) sudo make install

-
 
Old 04-09-2015, 04:24 AM   #17
ghadghoud
LQ Newbie
 
Registered: Apr 2015
Posts: 11

Rep: Reputation: Disabled
Thank you for your response .
SO you mean that i have to repeat all from the begining ? install ns another time andi after leach and peagis from the link that you gave to me ?
 
Old 04-09-2015, 06:11 AM   #18
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,705

Rep: Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294
Re #17.

The version you have now looks trashed. Don't reuse.
... But you can of course save it for later:
You can have as many ns-allinone-2.xx as you want, installed at the same time.
* But do never add any 'ns', 'nam' etc. PATH to .bashrc. Not required.

Besides that :
It only takes a couple of minutes to do a build like post #16.


-
 
Old 04-09-2015, 07:08 AM   #19
ghadghoud
LQ Newbie
 
Registered: Apr 2015
Posts: 11

Rep: Reputation: Disabled
Thank you , i really apprecciate !! and after doing this to test that leach work what should i do ? i don't find a test or a nam to see how it work
Sorry for disturbing
 
Old 04-09-2015, 09:43 AM   #20
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,705

Rep: Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294Reputation: 3294
Re #19.

The leach simulation is :
$ export RCA_LIBRARY=/home/<name>/ns-allinone-2.34/ns-2.34/mit/rca && export uAMPS_LIBRARY=/home/<name>/ns-allinone-2.34/ns-2.34/mit/uAMPS && ./test

Please read the files ns-2.34/{ test, leach_test }.

( There is no other test.)


-
 
  


Reply

Tags
leach, ns2, otcl-113-configure.in


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LEACH protocol installation on NS2.27 Scofield Linux - General 255 03-08-2012 05:19 PM
LXer: 6 Things to do after installing ubuntu9.10 Karmic Koala LXer Syndicated Linux News 0 10-29-2009 06:00 PM
ns2-802.11e patch - error: stream.h, iostream.h not found shojaru Linux - Newbie 3 06-12-2009 11:11 PM
I cant recompile my patch in ns2 on red hat v5 JawadZaheer Linux - Software 0 12-22-2007 11:31 PM
LXer: Interview with Bernard Leach (iPodLinux) LXer Syndicated Linux News 0 10-31-2006 11:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 09:23 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration