LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 08: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, 11:45 AM   #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,156

Rep: Reputation: 2642Reputation: 2642Reputation: 2642Reputation: 2642Reputation: 2642Reputation: 2642Reputation: 2642Reputation: 2642Reputation: 2642Reputation: 2642Reputation: 2642
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


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 on ns2.34 linux_ubuntu Linux - Newbie 2 10-04-2011 03:32 AM
leach in ns2.33 hayet Linux - Newbie 2 03-18-2011 07:03 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 02:07 PM.

Main Menu
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