I am trying to install version 2.29 of XML::Parser on a Solaris 9 box. 2.29 was the last version to come with
its own version of expat. I can make, and everything compiles just fine, but when I make test I get
the following error.

PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" " +test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/astress.........FAILED tests 4-24 Failed 21/25 tests, 16.00% okay t/cdata........... no element found at line 1, column 0, byte -1: 14^ 88608 at /u01/falcon/XML-Parser-2.29/blib/lib/XML/Parser.pm line 185 t/cdata...........dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED test 2 Failed 1/2 tests, 50.00% okay t/decl............ no element found at line 1, column 0, byte -1: 14^ 64696 at /u01/falcon/XML-Parser-2.29/blib/lib/XML/Parser.pm line 185 t/decl............dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 2-30 Failed 29/30 tests, 3.33% okay t/defaulted....... no element found at line 1, column 0, byte -1 at /u01/falcon/XML-Parse +r-2.29/blib/lib/XML/Parser.pm line 185 t/defaulted.......dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 2-4 Failed 3/4 tests, 25.00% okay t/encoding........ no element found at line 1, column 0, byte -1 at /u01/falcon/XML-Parse +r-2.29/blib/lib/XML/Parser.pm line 185 t/encoding........dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 2-4 Failed 3/4 tests, 25.00% okay t/external_ent.... no element found at line 1, column 0, byte -1 at /u01/falcon/XML-Parse +r-2.29/blib/lib/XML/Parser.pm line 185 t/external_ent....dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 2-5 Failed 4/5 tests, 20.00% okay t/file............ok t/finish..........ok t/namespaces...... no element found at line 1, column 0, byte -1: 14^ 58416 at /u01/falcon/XML-Parser-2.29/blib/lib/XML/Parser.pm line 185 t/namespaces......dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 2-16 Failed 15/16 tests, 6.25% okay t/parament........ no element found at line 1, column 0, byte -1: 14^ 60624 at /u01/falcon/XML-Parser-2.29/blib/lib/XML/Parser.pm line 185 t/parament........dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 2-12 Failed 11/12 tests, 8.33% okay t/partial......... no element found at line 1, column 0, byte -1 at t/partial.t line 33 t/partial.........dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 2-3 Failed 2/3 tests, 33.33% okay t/skip............ok t/stream..........ok Failed Test Stat Wstat Total Fail Failed List of Failed ---------------------------------------------------------------------- +--------- t/astress.t 25 21 84.00% 4-24 t/cdata.t 255 65280 2 2 100.00% 2 t/decl.t 255 65280 30 58 193.33% 2-30 t/defaulted.t 255 65280 4 6 150.00% 2-4 t/encoding.t 255 65280 4 6 150.00% 2-4 t/external_ent.t 255 65280 5 8 160.00% 2-5 t/namespaces.t 255 65280 16 30 187.50% 2-16 t/parament.t 255 65280 12 22 183.33% 2-12 t/partial.t 255 65280 3 4 133.33% 2-3 Failed 9/13 test scripts, 30.77% okay. 89/113 subtests failed, 21.24% +okay. make: *** [test_dynamic] Error 29
Any idea what is causing this? I googled this, but they all say to install expat, which I shouldn't need to do because it is included with my version of XML::Parser

In reply to make test failing for XML::Parser version 2.29 by choedebeck

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.