Subject: | Can't install via cpan |
sudo cpan Perl::Metrics
...
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t
t/01_compile.t .. ok
t/02_create.t ... 1/13
# Failed test 'Found files table'
# at t/02_create.t line 36.
# got: '2'
# expected: '1'
# Failed test 'Found metrics table'
# at t/02_create.t line 38.
# got: '2'
# expected: '1'
# Looks like you failed 2 tests of 13.
t/02_create.t ... Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/13 subtests
t/03_open.t ..... 1/14
# Failed test 'Found files table'
# at t/03_open.t line 36.
# got: '2'
# expected: '1'
# Failed test 'Found metrics table'
# at t/03_open.t line 38.
# got: '2'
# expected: '1'
# Looks like you failed 2 tests of 14.
t/03_open.t ..... Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/14 subtests
t/04_index.t .... ok
t/05_plugins.t .. ok
t/06_process.t .. ok
t/97_meta.t ..... skipped: Author tests not required for installation
t/98_pod.t ...... skipped: Author tests not required for installation
t/99_pmv.t ...... skipped: Author tests not required for installation
Test Summary Report
-------------------
t/02_create.t (Wstat: 512 Tests: 13 Failed: 2)
Failed tests: 10-11
Non-zero exit status: 2
t/03_open.t (Wstat: 512 Tests: 14 Failed: 2)
Failed tests: 11-12
Non-zero exit status: 2
Files=9, Tests=99, 6 wallclock secs ( 0.06 usr 0.02 sys + 1.12 cusr
0.18 csys = 1.38 CPU)
Result: FAIL
Failed 2/9 test programs. 4/99 subtests failed.
make: *** [test_dynamic] Error 255
ADAMK/Perl-Metrics-0.09.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports ADAMK/Perl-Metrics-0.09.tar.gz
Warning (usually harmless): 'YAML' not installed, will not store
persistent state
Running make install
make test had returned bad status, won't install without force
uname -a
Linux host 2.6.35-24-generic #42-Ubuntu SMP Thu Dec 2 02:41:37 UTC 2010
x86_64 GNU/Linux
perl -v
This is perl, v5.10.1 (*) built for x86_64-linux-gnu-thread-multi