Subject: | Test at t/01-live.t fails |
Hi, I get the following errors when attempting to install via the cpan
shell:
Running make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t
t/00-load.t .. ok
t/01-live.t .. 1/4
# Failed test 'cannot create formatter with bogus class name'
# at t/01-live.t line 39.
# expecting: Regexp ((?-xism:Could not load class))
# found: Failed to render: plugin error - Can't locate
This/Is/Not/A/Class.pm in @INC (@INC contains:
/root/.cpan/build/Template-Plugin-DateTime-Format-0.01-R2Jb7y/inc
/root/.cpan/build/Template-Plugin-DateTime-Format-0.01-R2Jb7y/blib/lib
/root/.cpan/build/Template-Plugin-DateTime-Format-0.01-R2Jb7y/blib/arch
/usr/local/lib/perl5/5.10.0/i686-linux /usr/local/lib/perl5/5.10.0
/usr/local/lib/perl5/site_perl/5.10.0/i686-linux
/usr/local/lib/perl5/site_perl/5.10.0 .). at
/usr/local/lib/perl5/site_perl/5.10.0/i686-linux/Class/MOP.pm line 116
# Class::MOP::load_first_existing_class() called at
/usr/local/lib/perl5/site_perl/5.10.0/i686-linux/Class/MOP.pm line 121
# Class::MOP::load_class() called at
/root/.cpan/build/Template-Plugin-DateTime-Format-0.01-R2Jb7y/blib/lib/Template/Plugin/DateTime/Format.pm
line 13
# Template::Plugin::DateTime::Format::new() called at
/usr/local/lib/perl5/site_perl/5.10.0/i686-linux/Template/Plugins.pm
line 121
# eval {...} called at
/usr/local/lib/perl5/site_perl/5.10.0/i686-linux/Template/Plugins.pm
line 115
# Template::Plugins::fetch() called at
/usr/local/lib/perl5/site_perl/5.10.0/i686-linux/Template/Context.pm
line 192
# Template::Context::plugin() called at input text line 2
# eval {...} called at input text line 4
# Template::Document::__ANON__() called at
/usr/local/lib/perl5/site_perl/5.10.0/i686-linux/Template/Document.pm
line 151
# eval {...} called at
/usr/local/lib/perl5/site_perl/5.10.0/i686-linux/Template/Document.pm
line 149
# Template::Document::process() called at
/usr/local/lib/perl5/site_perl/5.10.0/i686-linux/Template/Context.pm
line 347
# eval {...} called at
/usr/local/lib/perl5/site_perl/5.10.0/i686-linux/Template/Context.pm
line 321
# Template::Context::process() called at
/usr/local/lib/perl5/site_perl/5.10.0/i686-linux/Template/Service.pm line 94
# eval {...} called at
/usr/local/lib/perl5/site_perl/5.10.0/i686-linux/Template/Service.pm line 91
# Template::Service::process() called at
/usr/local/lib/perl5/site_perl/5.10.0/i686-linux/Template.pm line 66
# Template::process() called at t/01-live.t line 18
# main::render() called at t/01-live.t line 38
# Test::Exception::throws_ok() called at t/01-live.t line 39
# Looks like you failed 1 test of 4.
t/01-live.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/4 subtests
Test Summary Report
-------------------
t/01-live.t (Wstat: 256 Tests: 4 Failed: 1)
Failed test: 2
Non-zero exit status: 1
Files=2, Tests=5, 1 wallclock secs ( 0.03 usr 0.01 sys + 0.72 cusr
0.04 csys = 0.80 CPU)
Result: FAIL
Failed 1/2 test programs. 1/5 subtests failed.
make: *** [test_dynamic] Error 1
JROCKWAY/Template-Plugin-DateTime-Format-0.01.tar.gz
I am installing against perl 5.10 on Centos 5.4