I'm trying to install XML::Simple 2.14 using cpan.

Running perl v5.8.6 built for darwin-2level on OS 10.3.9

The problems start in the install report about here:

  # Package                        Version
  #  perl                           5.8.6
  #  XML::Simple                    2.14
  #  Storable                       2.13
  #  XML::Parser                    2.34
  #  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 /Library/Perl/5.8.6/XML/SAX/PurePerl/EncodingDetect.pm line 96.
  t/1_XMLin.........ok 7/122Unable to recognise encoding of this document
  at /Library/Perl/5.8.6/XML/SAX/PurePerl/EncodingDetect.pm line 96.

And so forth with the encoding errors for a couple of pages. There are a few other errors along the way but things appear to have gone bad well before thm. Finally, cpan reports:

  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 subtest skipped.
  Failed 2/11 test scripts, 81.82% okay. 5/468 subtests failed, 98.93% okay.
  make: *** [test_dynamic] Error 2
    /usr/bin/make test -- NOT OK
  Running make install
    make test had returned bad status, won't install without force


Any ideas what I've done wrong?



Another question: I've a lot of bad luck with cpan not installing modules. If I install OS X 10.4, will I get a clean perl installation to work with?

Reply via email to