Subject: | Can't locate object method "new" via package "XML::SAX::Writer" at t/05basic.t line 18 |
I just downloaded, extracted, built XML-SAX-Writer-0.50
But make test fails (I truncated two long lines):
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/05basic........# Failed test (t/05basic.t at line 10)
# Tried to use 'XML::SAX::Writer'.
t/05basic........NOK 1d-multi
/usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi/5.8.5 [...long]
# BEGIN failed--compilation aborted at
/tmp/XML-SAX-Writer-0.50/blib/lib/XML/SAX/Writer.pm line 8.
# Compilation failed in require at (eval 1) line 2.
Name "XML::SAX::Writer::DEFAULT_ESCAPE" used only once: possible typo at
t/05basic.t line 23.
Can't locate object method "new" via package "XML::SAX::Writer" at
t/05basic.t line 18.
# Looks like you planned 27 tests but only ran 1.
# Looks like your test died just after 1.
t/05basic........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-27
Failed 27/27 tests, 0.00% okay
t/10consumers....Can't locate Text/Iconv.pm in @INC [...long]
BEGIN failed--compilation aborted at
/tmp/XML-SAX-Writer-0.50/blib/lib/XML/SAX/Writer.pm line 8.
Compilation failed in require at t/10consumers.t line 33.
BEGIN failed--compilation aborted at t/10consumers.t line 33.
# Looks like your test died before it could output anything.
t/10consumers....dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 1-15
Failed 15/15 tests, 0.00% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/05basic.t 255 65280 27 53 196.30% 1-27
t/10consumers.t 2 512 15 30 200.00% 1-15
Failed 2/2 test scripts, 0.00% okay. 42/42 subtests failed, 0.00% okay.
make: *** [test_dynamic] Error 2
This is perl, v5.8.5 built for i386-linux-thread-multi
Linux engbuildpc 2.6.9-22.ELsmp #1 SMP Mon Sep 19 18:32:14 EDT 2005 i686
i686 i386 GNU/Linux
Thanks!
Marc