LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 07-13-2013, 04:33 AM   #1
eng_mohamed_sc
Member
 
Registered: Jul 2013
Posts: 49

Rep: Reputation: Disabled
NS2: leach-c compilation error


i tried to run leach-c but I have this errors

can't read "env(uAMPS_LIBRARY)": no such variable
while executing
"source $env(uAMPS_LIBRARY)/ns-leach.tcl"
(file "tcl/mobility/leach-c.tcl" line 7)
invoked from within
"source.orig tcl/mobility/leach-c.tcl"
("uplevel" body line 1)
invoked from within
"uplevel source.orig[list $fileName]"
invoked from within
"if [$instance_ is_http_url $fileName] {
set buffer [$instance_ read_url $fileName]
uplevel eval $buffer
} else {
uplevel source.orig[list $fileName]
..."
(procedure "source" line 8)
invoked from within
"source tcl/mobility/$opt(rp).tcl"
(file "tcl/ex/wireless.tcl" line 187)



My Ubuntu ver 10.04 and NS 2.34
Please help me
eng_mohamed_sc@yahoo.com

Last edited by eng_mohamed_sc; 07-13-2013 at 04:43 AM.
 
Old 07-13-2013, 12:41 PM   #2
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,669

Rep: Reputation: 498Reputation: 498Reputation: 498Reputation: 498Reputation: 498
Brother,
S.A.
Please improve your title. "Please help me" is not enough. To gain attention from busy helpers try give a short description of your problem in the title itself. Include what's wrong with "leach" whatever it is.

And there is no need to post your email address.

Good luck.
m.m.
 
Old 07-13-2013, 04:46 PM   #3
eng_mohamed_sc
Member
 
Registered: Jul 2013
Posts: 49

Original Poster
Rep: Reputation: Disabled
Problem Solved

Thanks The problem successfully solved
 
Old 04-07-2015, 09:03 PM   #4
hassan10
LQ Newbie
 
Registered: Apr 2015
Posts: 12

Rep: Reputation: Disabled
Quote:
Originally Posted by eng_mohamed_sc View Post
Thanks The problem successfully solved
hi
i have the same probleme please help me. should i change the code of leach-c ?
thinks
 
Old 04-08-2015, 01:11 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Re #4, @hassan10
Quote:
can't read "env(uAMPS_LIBRARY)": no such variable
The simulation command is :
Code:
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
 
1 members found this post helpful.
  


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



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

All times are GMT -5. The time now is 11:43 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