Public bug reported:
After installing ns2{,doc,examples} and trying to run the validation
there are a couple of problems:
The validation script is gziped (
/usr/share/doc/ns2/examples/validate.gz )
All testsuites in /usr/share/doc/ns2/examples/tcl/test/ are gziped.
The test driver /usr/share/doc/ns2/examples/tcl/test/test-all-
template1.gz is gziped.
After gunziping the necessary files and running the validation suite
further problems ensue:
ns: _o4 cleanup file7 timersA2_(timestamps,_fine-grained_clock): Can't open
perl script "../../bin/set_flow_id": No such file or directory
Can't open perl script "../../bin/getrc": No such file or directory
Can't open perl script "../../bin/raw2xg": No such file or directory
while executing
"exec $PERL ../../bin/set_flow_id -s all.tr | $PERL ../../bin/getrc -s 2 -d 3
| $PERL ../../bin/raw2xg -s 0.01 -m 90 -t $file > temp.rands"
Imho you should ship a script that unpacks the test suite into a user
specified directory and ship the nescessary perl files to run the test
suite.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: ns2 2.35~rc10+dfsg-1
Uname: Linux 3.2.6-030206-generic x86_64
ApportVersion: 1.92-0ubuntu1
Architecture: amd64
Date: Thu Feb 23 08:48:03 2012
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
ProcEnviron:
LANGUAGE=
TERM=xterm
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: ns2
UpgradeStatus: Upgraded to precise on 2012-02-11 (11 days ago)
** Affects: ns2 (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug precise
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/939306
Title:
ns2 package has mangled test/example suite
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ns2/+bug/939306/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs