LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Facing problem at the time of validate in ns 2.34 (https://www.linuxquestions.org/questions/linux-newbie-8/facing-problem-at-the-time-of-validate-in-ns-2-34-a-4175525162/)

Sweta Kant 11-12-2014 04:33 AM

Facing problem at the time of validate in ns 2.34
 
I have gone through these steps and i am facing those problems . .
Steps:-
$ sudo apt-get install g++-4.4


In a new folder in /home/your folder/ :

$ tar xvfz ns-allinone-2.34.tar.gz

$ cd ns-allinone-2.34/


$ patch -p0 < otcl_ns234_gcc-4.4.patch


$ export CC=gcc-4.4 CXX=g++-4.4 && ./install

$ cd ns-2.34

$./validate

Error :-
unning test ungentle:
../../ns test-suite-red.tcl ungentle QUIET
./test-all-template1: 110: ./test-all-template1: ../../ns: not found
Running test gentle:
../../ns test-suite-red.tcl gentle QUIET
./test-all-template1: 110: ./test-all-template1: ../../ns: not found
Running test gentleEcn:
../../ns test-suite-red.tcl gentleEcn QUIET
./test-all-template1: 110: ./test-all-template1: ../../ns: not found
Running test gentleEcn1:
../../ns test-suite-red.tcl gentleEcn1 QUIET
./test-all-template1: 110: ./test-all-template1: ../../ns: not found
Running test ungentleBadParams:
../../ns test-suite-red.tcl ungentleBadParams QUIET
./test-all-template1: 110: ./test-all-template1: ../../ns: not found
Running test gentleBadParams:
../../ns test-suite-red.tcl gentleBadParams QUIET
./test-all-template1: 110: ./test-all-template1: ../../ns: not found
Running test q_weight:
../../ns test-suite-red.tcl q_weight QUIET
./test-all-template1: 110: ./test-all-template1: ../../ns: not found
Running test q_weight_auto:
../../ns test-suite-red.tcl q_weight_auto QUIET
./test-all-template1: 110: ./test-all-template1: ../../ns: not found
Running test congested:
../../ns test-suite-red.tcl congested QUIET
./test-all-template1: 110: ./test-all-template1: ../../ns: not found
Running test congested_mark_p:
../../ns test-suite-red.tcl congested_mark_p QUIET
./test-all-template1: 110: ./test-all-template1: ../../ns: not found
Running test congested1_mark_p:
../../ns test-suite-red.tcl congested1_mark_p QUIET
./test-all-template1: 110: ./test-all-template1: ../../ns: not found
Running test congested2_mark_p:
../../ns test-suite-red.tcl congested2_mark_p QUIET
./test-all-template1: 110: ./test-all-template1: ../../ns: not found
Some test failed.
Wed Nov 12 02:33:17 PST 2014
Wed Nov 12 02:33:19 PST 2014
*** ./test-all-adaptive-red
Tests: red1 red1Adapt red1ECN red1AdaptECN red1AdaptFeng fastlink fastlinkAutowq fastlinkAutothresh fastlinkAdapt fastlinkAllAdapt fastlinkAllAdaptECN fastlinkAllAdapt1 longlink longlinkAdapt longlinkAdapt1 red2 red2Adapt red2A-Adapt red2-AdaptFeng red3 red3Adapt red4Adapt transient transient1 transient2 notcautious cautious cautious2 cautious3
Running test red1:
../../ns test-suite-adaptive-red.tcl red1 QUIET
./test-all-template1: 110: ./test-all-template1: ../../ns: not found
Running test red1Adapt:
../../ns test-suite-adaptive-red.tcl red1Adapt QUIET
./test-all-template1: 110: ./test-all-template1: ../../ns: not found

knudfl 11-13-2014 03:41 AM

Welcome to LQ.
Quote:

./test-all-template1: ../../ns: not found
No executable 'ns' in ns-allinone-2.34/ns-2.34/ :
That's a failed build.
? Which "Linux OS" are you using ?
* Please specify your OS
http://www.linuxquestions.org/linux/...Ask_a_Question
I.e. a) The output from the command $ uname -m
b) OS name and version.


Quote:

$ tar xvfz ns-allinone-2.34.tar.gz
`tar xvf' will do, unless your 'tar' command
is older than the year 2004 version.

-


All times are GMT -5. The time now is 12:43 PM.