LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Leach protocol in ns2.34. Error ./test permission denied (https://www.linuxquestions.org/questions/linux-software-2/leach-protocol-in-ns2-34-error-test-permission-denied-4175489895/)

Aska123 01-02-2014 07:29 AM

Leach protocol in ns2.34. Error ./test permission denied
 
Hello friends

I have install ns2.34 with leach protocol.
But when I try to run ns-allinone-2.34-ns-2.34$./test

I got error
permission denied .

I tried sudo ./test but it did not worked.
I am using ubuntu 10.4 on VMware.
my path in leach-setup.sh is
home/rohini/ns-allinone-2.34/ns-2.34

Also how to add nam to see output of leach protocol.

when I run make clean
and make
I got following output

make[1]: Entering directory `/home/rohini/ns-allinone-2.34/ns-2.34/indep-utils/cmu-scen-gen/setdest'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/rohini/ns-allinone-2.34/ns-2.34/indep-utils/cmu-scen-gen/setdest'
make[1]: Entering directory `/home/rohini/ns-allinone-2.34/ns-2.34/indep-utils/webtrace-conv/dec'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/rohini/ns-allinone-2.34/ns-2.34/indep-utils/webtrace-conv/dec'
make[1]: Entering directory `/home/rohini/ns-allinone-2.34/ns-2.34/indep-utils/webtrace-conv/epa'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/rohini/ns-allinone-2.34/ns-2.34/indep-utils/webtrace-conv/epa'
make[1]: Entering directory `/home/rohini/ns-allinone-2.34/ns-2.34/indep-utils/webtrace-conv/nlanr'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/rohini/ns-allinone-2.34/ns-2.34/indep-utils/webtrace-conv/nlanr'
make[1]: Entering directory `/home/rohini/ns-allinone-2.34/ns-2.34/indep-utils/webtrace-conv/ucb'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/rohini/ns-allinone-2.34/ns-2.34/indep-utils/webtrace-conv/ucb'
Please help

Aska123 01-02-2014 08:16 AM

./test permission denied is solved .
I used $sudo chmod 777 -R ns-allinone-2.34.

test run and I got error in file leach.err

couldn't read file "tcl/lib/ns-mobilenode.tcl": no such file or directory
while executing
"source.orig tcl/lib/ns-mobilenode.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/lib/ns-mobilenode.tcl"
(file "tcl/ex/wireless.tcl" line 184)


All times are GMT -5. The time now is 02:56 AM.