LinuxQuestions.org
Register a domain and help support LQ
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 10-31-2011, 07:13 AM   #1
geethamit
LQ Newbie
 
Registered: Sep 2011
Posts: 9

Rep: Reputation: Disabled
LEACH installation


when i am trying to install leach into ns2.34(ubuntu10.10) my ns2 get deleted but i got partial output for leach.can anyone help me to solve this problem.
 
Old 11-01-2011, 04:58 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,282

Rep: Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664Reputation: 2664
Ref. your other thread :
http://www.linuxquestions.org/questi...8/#post4500450

Ubuntu 10.10 : Only gcc-4.2 / g++-4.2 works ...
>>> The hardy-updates repository is required :
Please add these lines to /etc/apt/sources.list :
Code:
 deb http://76.73.4.58/ubuntu/ hardy-updates main
deb http://76.73.4.58/ubuntu/ hardy universe
deb http://security.ubuntu.com/ubuntu hardy-security main
deb http://security.ubuntu.com/ubuntu hardy-security universe
sudo apt-get update && sudo apt-get install g++-4.2

Assume /home/geethamit/ns-allinone-2.34/ :
cd ns-allinone-2.34/ && export CC=gcc-4.2 CXX=g++-4.2 && ./install

Do the required modifications, and after ./configure && make clean,
please edit the ns-allinone-2.34/ns-2.34/Makefile , line 37 to :
CPP = g++-4.2

And then you can do 'make'.

.

Last edited by knudfl; 11-01-2011 at 04:59 PM.
 
  


Reply


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 06:19 PM
LEACH installation geethamit Linux - Software 1 10-17-2011 11:45 AM
LEACH on NS2 deepa_2111 Linux - Newbie 1 04-05-2011 08:53 PM
Leach Installation on NS2 Asmaa Seyam Linux - General 3 10-19-2010 01:31 PM


All times are GMT -5. The time now is 06:41 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration