LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   fedora 12,ns2.34,in leach-err i got following prom (https://www.linuxquestions.org/questions/linux-newbie-8/fedora-12-ns2-34-in-leach-err-i-got-following-prom-4175432454/)

aparyay 10-16-2012 05:48 AM

fedora 12,ns2.34,in leach-err i got following prom
 
fedora 12,ns2.34,in leach-err i got following prom,can any one try to solve this problem



can't read "env(uAMPS_LIBRARY)": no such variable
while executing
"source $env(uAMPS_LIBRARY)/ns-bsapp.tcl"
(file "mit/uAMPS/sims/uamps.tcl" line 10)
invoked from within
"source.orig mit/uAMPS/sims/uamps.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 mit/uAMPS/sims/uamps.tcl"
(file "tcl/mobility/leach.tcl" line 18)
invoked from within
"source.orig tcl/mobility/leach.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)

John VV 10-17-2012 06:49 PM

for starters Fedora 12 is 5 versions ( soon SIX versions) OUT OF DATE
the current Fedora is Fedora 17 with fedora 18 do in November

fedora 12 has NOT had any security updates in years
and no new software will run on it
it is DEAD and UNSUPPORTED

the current ns-allinone is in the fedora 17 repos


BUT
If you MUST use a dead and unsupported and UNPATCHED operating system ( NOT RECOMMENDED!!!)
then see the Fedoraforum " End Of Life" thread
http://forums.fedoraforum.org/forumdisplay.php?f=75
and the VERY first thing you need to do is READ the sticky
please READ first
http://forums.fedoraforum.org/showthread.php?t=233942

aparyay 10-18-2012 01:45 AM

but sir same leach patch file i tried on ubutu 11.04 with 2.35,i got same error in leach.err file,i dont know what is the problem

aparyay 10-18-2012 01:49 AM

i also tried with ubuntu 11.04 with same patch file, i got same error in leach-err file.

knudfl 10-18-2012 03:22 AM

Welcome to LQ.

Most likely the "leach-err subject" has been discussed in one of the long LQ threads about leach

http://www.linuxquestions.org/questi...2-27-a-785379/

http://www.linuxquestions.org/questi...2-34-a-870368/


.

John VV 10-18-2012 03:54 AM

Quote:

can't read "env(uAMPS_LIBRARY)": no such variable
Did you create that environment variable ?

and is your install of ns2 patched to use the " then current" gcc-4.4.4-10.fc12 in fedora 12



you might need to build gcc 4.1 on the unsupported fedora 12
( only 7 mirrors still have the fedora 12 repos )

32 bit
http://mirrors.fedoraproject.org/pub...edora/12/i386/
including the historical archive
http://dl.fedoraproject.org/pub/arch...inux/releases/


All times are GMT -5. The time now is 01:19 AM.