Dear Monks
I just tried to install XML::Simple on a unix machine (Sol8) with a perl version v5.8.2.
Can someone explain to me why it failed, but maybe more important, how to solve it!!
2/XML/SAX/PurePerl/EncodingDetect.pm line 96.
t/1_XMLin.........ok 16/122Unable to recognise encoding of this docume
+nt at /usr/local/lib/perl5/site_perl/5.8.2/XML/SAX/PurePerl/EncodingD
+etect.pm line 96.
t/1_XMLin.........ok 17/122Unable to recognise encoding of this docume
+nt at /usr/local/lib/perl5/site_perl/5.8.2/XML/SAX/PurePerl/EncodingD
+etect.pm line 96.
t/1_XMLin.........ok 18/122Unable to recognise encoding of this docume
+nt at /usr/local/lib/perl5/site_perl/5.8.2/XML/SAX/PurePerl/EncodingD
+etect.pm line 96.
t/1_XMLin.........ok 19/122Unable to recognise encoding of this docume
+nt at /usr/local/lib/perl5/site_perl/5.8.2/XML/SAX/PurePerl/EncodingD
+etect.pm line 96.
t/1_XMLin.........ok 20/122Unable to recognise encoding of this docume
+nt at /usr/local/lib/perl5/site_perl/5.8.2/XML/SAX/PurePerl/EncodingD
+etect.pm line 96.
t/1_XMLin.........ok 21/122Unable to recognise encoding of this docume
+nt at /usr/local/lib/perl5/site_perl/5.8.2/XML/SAX/PurePerl/EncodingD
+etect.pm line 96.
t/1_XMLin.........ok 22/122Unable to recognise encoding of this docume
+nt at /usr/local/lib/perl5/site_perl/5.8.2/XML/SAX/PurePerl/EncodingD
+etect.pm line 96.
t/1_XMLin.........ok 23/122Unable to recognise encoding of this docume
+nt at /usr/local/lib/perl5/site_perl/5.8.2/XML/SAX/PurePerl/EncodingD
+etect.pm line 96.
t/1_XMLin.........ok 24/122Unable to recognise encoding of this docume
+nt at /usr/local/lib/perl5/site_perl/5.8.2/XML/SAX/PurePerl/EncodingD
+etect.pm line 96.
t/1_XMLin.........ok 25/122Unable to recognise encoding of this docume
+nt at /usr/local/lib/perl5/site_perl/5.8.2/XML/SAX/PurePerl/EncodingD
+etect.pm line 96.
t/1_XMLin.........NOK 32# Failed test (t/1_XMLin.t at line 380)
+
# got: 'Unable to recognise encoding of this document at /usr
+/local/lib/perl5/site_perl/5.8.2/XML/SAX/PurePerl/EncodingDetect.pm l
+ine 96.
# '
# expected: ''
t/1_XMLin.........ok 36/122Unable to recognise encoding of this docume
+nt at /usr/local/lib/perl5/site_perl/5.8.2/XML/SAX/PurePerl/EncodingD
+etect.pm line 96.
t/1_XMLin.........NOK 38# Failed test (t/1_XMLin.t at line 426)
+
# Structures begin differing at:
# $got->{cdata} = '<greeting>Hello, world!</greeting>>'
# $expected->{cdata} = '<greeting>Hello, world!</greeting>'
t/1_XMLin.........NOK 39# Failed test (t/1_XMLin.t at line 432)
+
# 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 docume
+nt at /usr/local/lib/perl5/site_perl/5.8.2/XML/SAX/PurePerl/EncodingD
+etect.pm line 96, <STDIN> line 1.
t/1_XMLin.........ok 55/122Unable to recognise encoding of this docume
+nt at /usr/local/lib/perl5/site_perl/5.8.2/XML/SAX/PurePerl/EncodingD
+etect.pm line 96, <STDIN> line 1.
t/1_XMLin.........ok 56/122Unable to recognise encoding of this docume
+nt at /usr/local/lib/perl5/site_perl/5.8.2/XML/SAX/PurePerl/EncodingD
+etect.pm line 96, <STDIN> line 1.
t/1_XMLin.........ok 57/122Unable to recognise encoding of this docume
+nt at /usr/local/lib/perl5/site_perl/5.8.2/XML/SAX/PurePerl/EncodingD
+etect.pm line 96, <STDIN> line 1.
t/1_XMLin.........ok 58/122Unable to recognise encoding of this docume
+nt at /usr/local/lib/perl5/site_perl/5.8.2/XML/SAX/PurePerl/EncodingD
+etect.pm line 96, <STDIN> line 1.
t/1_XMLin.........ok 59/122Unable to recognise encoding of this docume
+nt at /usr/local/lib/perl5/site_perl/5.8.2/XML/SAX/PurePerl/EncodingD
+etect.pm line 96, <STDIN> line 1.
t/1_XMLin.........ok 66/122Unable to recognise encoding of this docume
+nt at /usr/local/lib/perl5/site_perl/5.8.2/XML/SAX/PurePerl/EncodingD
+etect.pm line 96, <STDIN> line 1.
t/1_XMLin.........ok 67/122Unable to recognise encoding of this docume
+nt at /usr/local/lib/perl5/site_perl/5.8.2/XML/SAX/PurePerl/EncodingD
+etect.pm line 96, <STDIN> line 1.
t/1_XMLin.........NOK 122# Failed test (t/1_XMLin.t at line 1443)
+
# Structures begin differing at:
# $got->{pubpath}{test1}{title} = 'web_source -> web_target1'
# $expected->{pubpath}{test1}{title} = 'web_source -> web_targe
+t1'
# 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........NOK 47# Failed test (t/2_XMLout.t at line 302)
+
# Structures begin differing at:
# $got->{c} = '&C&'
# $expected->{c} = '&C&'
t/2_XMLout........ok 186/196Unable to recognise encoding of this docum
+ent at /usr/local/lib/perl5/site_perl/5.8.2/XML/SAX/PurePerl/Encoding
+Detect.pm line 96.
t/2_XMLout........ok 187/196Unable to recognise encoding of this docum
+ent at /usr/local/lib/perl5/site_perl/5.8.2/XML/SAX/PurePerl/Encoding
+Detect.pm line 96.
t/2_XMLout........ok 188/196Unable to recognise encoding of this docum
+ent at /usr/local/lib/perl5/site_perl/5.8.2/XML/SAX/PurePerl/Encoding
+Detect.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 (less 1 skipped test: 194 okay
+, 98.98%)
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 documen
+t at /usr/local/lib/perl5/site_perl/5.8.2/XML/SAX/PurePerl/EncodingDe
+tect.pm line 96.
t/9_Strict........ok 13/38Unable to recognise encoding of this documen
+t at /usr/local/lib/perl5/site_perl/5.8.2/XML/SAX/PurePerl/EncodingDe
+tect.pm line 96.
t/9_Strict........ok 30/38Unable to recognise encoding of this documen
+t at /usr/local/lib/perl5/site_perl/5.8.2/XML/SAX/PurePerl/EncodingDe
+tect.pm line 96.
t/9_Strict........ok 32/38Unable to recognise encoding of this documen
+t at /usr/local/lib/perl5/site_perl/5.8.2/XML/SAX/PurePerl/EncodingDe
+tect.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 and 1 subtest skipped.
Failed 2/11 test scripts, 81.82% okay. 5/454 subtests failed, 98.90% o
+kay.
*** Error code 29
make: Fatal error: Command failed for target `test_dynamic'
/usr/ccs/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
cpan>
Thanks a lot in advance
Luca