LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-17-2011, 07:04 AM   #1
geethamit
LQ Newbie
 
Registered: Sep 2011
Posts: 9

Rep: Reputation: Disabled
LEACH installation


im not able to install leach into ns2.34(centos).
i am gettting following error:

[root@multicore09 ns-234-leach]# ./test
can't read "argc": no such variable
while executing
"for {set i 0} {$i < $argc} {incr i} {
set arg [lindex $arg $i]
if {[string range $arg 0 0] != "-"} continue

set name [string range $arg 1 end]
..."
(procedure "getopt" line 5)
invoked from within
"getopt $argc $argv"
(file "wireless-demo-csci694.tcl" line 179)


Except #5 forum what are all the steps i have to do?
I need to use which OS and Compiler version both gcc ang g++.
please anyone help me to install leach
 
Old 10-17-2011, 10:45 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,517

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
1) You will have to edit your posts to use code tags. The above post,
and your posts in the other thread.
Write [/code] at code text end, and [code] at code start.
Or use the # button in the 'Advanced Editor' : Edit >> Go Advanced.
http://www.linuxquestions.org/questi....php?do=bbcode

2) Don't know, what you are doing. There are no issues using CentOS 5 (6).
The procedure is the same as Fedora 13, here
http://www.linuxquestions.org/questi...dora13-907076/
Use "leach-HOME-setup234.sh.txt" and the new "cmu-trace.h".
The export command can be omitted :
The default compilers version 4.1.2 will do OK.

..
 
  


Reply

Tags
leach, ns2



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
Leach on ns2.34 linux_ubuntu Linux - Newbie 2 10-04-2011 02:32 AM
leach in ns2.33 hayet Linux - Newbie 2 03-18-2011 06:03 PM
Leach Installation on NS2 Asmaa Seyam Linux - General 3 10-19-2010 12:31 PM

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

All times are GMT -5. The time now is 08:24 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
Open Source Consulting | Domain Registration