[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem verifying ns in ns-allinone



On Tue, 24 Feb 1998 17:50:13 EST, Fang Jiang wrote: 
>I am a new user of ns. I installed the current release ns2.1b2 using "all
>at once" at
><http://www-mash.CS>Berkeley.EDU/ns/ns-build.html>. I got following message
>after running ./install :
>
>   Nam has been installed successfully!
>   Please compiling your xgraph separately!
>   Ns-allinone package has been installed successfully!
>...
>
>So the installation seems OK. However I encountered several problem when I
>run ./validate. The problem
>as following:
>
>   *** ./test-all
>   tahoel tahoe2 tahoe3 tagoe4 n0_bug bug reno1 reno renoA reno2 reno3
>reno4 reno5....
>   Running tahoe1 Test output differs from reference output
>   Diagnose with: diff test-output/tahoe1.test test-output/tahoe1
>   Differences due to floating-point formatting are not significant
>
>Then I checked tahoe1.test file and it was empty except containing title
>text and device.
>For running test tahoe2...., same problem!
>
>   *** ./test-all-tcp
>   Tests: ecn timers timersA timers1 timers2 ... stats1
>   Running test ecn
>   ns: _o3 cleanup file5 ecn_(one_with_ecn,_one_without): syntax error in
>file ../../bin/set_flow_id at 
>   line 48, next 2 tokens "use strict"
>   syntax error in file ../../bin/set_flow_id at line 52, next 2 tokens "my("
>   Spurious backslash ignored in file ../../bin/set_flow_id at line 53.
>   syntax error in file ../../bin/set_flow_id at line 53, next 2 tokens "qw("
>   syntax error in file ../../bin/set_flow_id at line 67, next 2 tokens "my("
>   Execution of ../../bin/set_flow_id aborted due to compilation errors.
>   Can't locate 5.001000000000000334 in @INC at ../../bin/getrc line 4.
>   syntax error in file ../../bin/raw2xg at line 39, next 2 tokens "my("
>   syntax error in file ../../bin/raw2xg at line 52, next 2 tokens
>"translate_point("
>   syntax error in file ../../bin/raw2xg at line 73, next 2 tokens
>...
>   .
>Same problems have been encountered in running test timers and so on.
>Attached are source files getrc, set_flow_id and raw2xg. I use perl5.003 in
>my path. I am not sure if this
>causes syntax errors because source files require perl5.001? If yes,
>anybody knows where I can get these 
>source codes matched in perl5.003 or perl5.004.
>Any help will be highly appreciated.

Those error messages suggest that you're running perl4, not perl5.
Perl5 should know about my(), for example.

(Btw, "require 5.001" means 5.001 or later, so you've got the right
code.)

   -John Heidemann