XML-Simple - Errors with make test

Posted on Wed Dec 14 00:57:57 2005 by robertb
Errors with make test
I am trying to install XML::Simple on a Redhat Enterprise Linux ES release 4 (Nahant Update 2) box. The perl installed is v5.8.5 built for i386-linux-thread-multi.
I did not get these errors installing on several Redhat Enterprise Linux ES release 3 boxes and a White Box release 3 box.
Is it safe to force the install or does something need fixing?
The output from make test is below:
Thanks in advance for any help/advice.
# make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/a +rch')" t/*.t # Package Version # perl 5.8.5 # XML::Simple 2.14 # Storable 2.15 # XML::Parser Not Installed # XML::SAX 0.13 # XML::NamespaceSupport 1.09 # XML::SAX::PurePerl 0.90 (default parser) t/0_Config........ok t/1_XMLin.........ok 5/122Unable to recognise encoding of this document at /usr/lib/perl5/site_perl +/5.8.5/XML/SAX/PurePerl/EncodingDetect.pm line 96. t/1_XMLin.........ok 7/122Unable to recognise encoding of this document at /usr/lib/perl5/site_perl +/5.8.5/XML/SAX/PurePerl/EncodingDetect.pm line 96. t/1_XMLin.........ok 8/122Unable to recognise encoding of this document at /usr/lib/perl5/site_perl +/5.8.5/XML/SAX/PurePerl/EncodingDetect.pm line 96. t/1_XMLin.........ok 9/122Unable to recognise encoding of this document at /usr/lib/perl5/site_perl +/5.8.5/XML/SAX/PurePerl/EncodingDetect.pm line 96. t/1_XMLin.........ok 10/122Unable to recognise encoding of this document at /usr/lib/perl5/site_per +l/5.8.5/XML/SAX/PurePerl/EncodingDetect.pm line 96. t/1_XMLin.........ok 11/122Unable to recognise encoding of this document at /usr/lib/perl5/site_per +l/5.8.5/XML/SAX/PurePerl/EncodingDetect.pm line 96. t/1_XMLin.........ok 12/122Unable to recognise encoding of this document at /usr/lib/perl5/site_per +l/5.8.5/XML/SAX/PurePerl/EncodingDetect.pm line 96. t/1_XMLin.........ok 13/122Unable to recognise encoding of this document at /usr/lib/perl5/site_per +l/5.8.5/XML/SAX/PurePerl/EncodingDetect.pm line 96. t/1_XMLin.........ok 14/122Unable to recognise encoding of this document at /usr/lib/perl5/site_per +l/5.8.5/XML/SAX/PurePerl/EncodingDetect.pm line 96. t/1_XMLin.........ok 15/122Unable to recognise encoding of this document at /usr/lib/perl5/site_per +l/5.8.5/XML/SAX/PurePerl/EncodingDetect.pm line 96. t/1_XMLin.........ok 16/122Unable to recognise encoding of this document at /usr/lib/perl5/site_per +l/5.8.5/XML/SAX/PurePerl/EncodingDetect.pm line 96. t/1_XMLin.........ok 17/122Unable to recognise encoding of this document at /usr/lib/perl5/site_per +l/5.8.5/XML/SAX/PurePerl/EncodingDetect.pm line 96. t/1_XMLin.........ok 18/122Unable to recognise encoding of this document at /usr/lib/perl5/site_per +l/5.8.5/XML/SAX/PurePerl/EncodingDetect.pm line 96. t/1_XMLin.........ok 19/122Unable to recognise encoding of this document at /usr/lib/perl5/site_per +l/5.8.5/XML/SAX/PurePerl/EncodingDetect.pm line 96. t/1_XMLin.........ok 20/122Unable to recognise encoding of this document at /usr/lib/perl5/site_per +l/5.8.5/XML/SAX/PurePerl/EncodingDetect.pm line 96. t/1_XMLin.........ok 21/122Unable to recognise encoding of this document at /usr/lib/perl5/site_per +l/5.8.5/XML/SAX/PurePerl/EncodingDetect.pm line 96. t/1_XMLin.........ok 22/122Unable to recognise encoding of this document at /usr/lib/perl5/site_per +l/5.8.5/XML/SAX/PurePerl/EncodingDetect.pm line 96. t/1_XMLin.........ok 23/122Unable to recognise encoding of this document at /usr/lib/perl5/site_per +l/5.8.5/XML/SAX/PurePerl/EncodingDetect.pm line 96. t/1_XMLin.........ok 24/122Unable to recognise encoding of this document at /usr/lib/perl5/site_per +l/5.8.5/XML/SAX/PurePerl/EncodingDetect.pm line 96. t/1_XMLin.........ok 25/122Unable to recognise encoding of this document at /usr/lib/perl5/site_per +l/5.8.5/XML/SAX/PurePerl/EncodingDetect.pm line 96. t/1_XMLin.........ok 31/122# Failed test (t/1_XMLin.t at line 380) t/1_XMLin.........NOK 32# got: 'Unable to recognise encoding of this document at /usr/lib/ +perl5/site_perl/5.8.5/XML/SAX/PurePerl/EncodingDetect.pm line 96. # ' # expected: '' t/1_XMLin.........ok 36/122Unable to recognise encoding of this document at /usr/lib/perl5/site_per +l/5.8.5/XML/SAX/PurePerl/EncodingDetect.pm line 96. t/1_XMLin.........ok 37/122# Failed test (t/1_XMLin.t at line 426) t/1_XMLin.........NOK 38# Structures begin differing at: # $got->{cdata} = '<greeting>Hello, world!</greeting>>' # $expected->{cdata} = '<greeting>Hello, world!</greeting>' # Failed test (t/1_XMLin.t at line 432) t/1_XMLin.........NOK 39# Structures begin differing at: # $got->{x} = '<y>one</y>><y>two</y>>' # $expected->{x} = '<y>one</y><y>two</y>' t/1_XMLin.........ok 54/122Unable to recognise encoding of this document at /usr/lib/perl5/site_per +l/5.8.5/XML/SAX/PurePerl/EncodingDetect.pm line 96, <STDIN> line 1. t/1_XMLin.........ok 55/122Unable to recognise encoding of this document at /usr/lib/perl5/site_per +l/5.8.5/XML/SAX/PurePerl/EncodingDetect.pm line 96, <STDIN> line 1. t/1_XMLin.........ok 56/122Unable to recognise encoding of this document at /usr/lib/perl5/site_per +l/5.8.5/XML/SAX/PurePerl/EncodingDetect.pm line 96, <STDIN> line 1. t/1_XMLin.........ok 57/122Unable to recognise encoding of this document at /usr/lib/perl5/site_per +l/5.8.5/XML/SAX/PurePerl/EncodingDetect.pm line 96, <STDIN> line 1. t/1_XMLin.........ok 58/122Unable to recognise encoding of this document at /usr/lib/perl5/site_per +l/5.8.5/XML/SAX/PurePerl/EncodingDetect.pm line 96, <STDIN> line 1. t/1_XMLin.........ok 59/122Unable to recognise encoding of this document at /usr/lib/perl5/site_per +l/5.8.5/XML/SAX/PurePerl/EncodingDetect.pm line 96, <STDIN> line 1. t/1_XMLin.........ok 66/122Unable to recognise encoding of this document at /usr/lib/perl5/site_per +l/5.8.5/XML/SAX/PurePerl/EncodingDetect.pm line 96, <STDIN> line 1. t/1_XMLin.........ok 67/122Unable to recognise encoding of this document at /usr/lib/perl5/site_per +l/5.8.5/XML/SAX/PurePerl/EncodingDetect.pm line 96, <STDIN> line 1. t/1_XMLin.........ok 121/122# Failed test (t/1_XMLin.t at line 1443) t/1_XMLin.........NOK 122# Structures begin differing at: # $got->{pubpath}{test1}{title} = 'web_source -> web_target1' # $expected->{pubpath}{test1}{title} = 'web_source -&gt; web_target1' # Looks like you failed 4 tests of 122. t/1_XMLin.........dubious Test returned status 4 (wstat 1024, 0x400) DIED. FAILED tests 32, 38-39, 122 Failed 4/122 tests, 96.72% okay t/2_XMLout........ok 46/196# Failed test (t/2_XMLout.t at line 302) # Structures begin differing at: # $got->{c} = '&amp;C&amp;' # $expected->{c} = '&C&' t/2_XMLout........ok 186/196Unable to recognise encoding of this document at /usr/lib/perl5/site_pe +rl/5.8.5/XML/SAX/PurePerl/EncodingDetect.pm line 96. t/2_XMLout........ok 187/196Unable to recognise encoding of this document at /usr/lib/perl5/site_pe +rl/5.8.5/XML/SAX/PurePerl/EncodingDetect.pm line 96. t/2_XMLout........ok 188/196Unable to recognise encoding of this document at /usr/lib/perl5/site_pe +rl/5.8.5/XML/SAX/PurePerl/EncodingDetect.pm line 96. t/2_XMLout........ok 196/196# Looks like you failed 1 tests of 196. t/2_XMLout........dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 47 Failed 1/196 tests, 99.49% okay t/3_Storable......ok t/4_MemShare......ok t/5_MemCopy.......ok t/6_ObjIntf.......ok t/7_SaxStuff......ok t/8_Namespaces....ok t/9_Strict........ok 11/38Unable to recognise encoding of this document at /usr/lib/perl5/site_perl +/5.8.5/XML/SAX/PurePerl/EncodingDetect.pm line 96. t/9_Strict........ok 13/38Unable to recognise encoding of this document at /usr/lib/perl5/site_perl +/5.8.5/XML/SAX/PurePerl/EncodingDetect.pm line 96. t/9_Strict........ok 30/38Unable to recognise encoding of this document at /usr/lib/perl5/site_perl +/5.8.5/XML/SAX/PurePerl/EncodingDetect.pm line 96. t/9_Strict........ok 32/38Unable to recognise encoding of this document at /usr/lib/perl5/site_perl +/5.8.5/XML/SAX/PurePerl/EncodingDetect.pm line 96. t/9_Strict........ok t/A_XMLParser.....skipped all skipped: no XML::Parser Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/1_XMLin.t 4 1024 122 4 3.28% 32 38-39 122 t/2_XMLout.t 1 256 196 1 0.51% 47 1 test skipped. Failed 2/11 test scripts, 81.82% okay. 5/454 subtests failed, 98.90% okay. make: *** [test_dynamic] Error 255
Direct Responses: 1475 | Write a response