perl 5.8.8 on redhat linux

expat 2.0.1 installed

trying to install XML::Parser 2.41 I get the following errors

[tauser02@gfmwsp11lds XML-Parser-2.41]$ make test make[1]: Entering directory `/home/tauser02/XML-Parser-2.41/Expat' make[1]: Leaving directory `/home/tauser02/XML-Parser-2.41/Expat' PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_h +arness(0, 'blib/lib', 'blib/arch')" t/*.t t/astress.........ok + t/cdata...........ok + t/decl............ok 1/30 + syntax error at line 14, column 3, byte 214: %ext; <![%bar;[ ==^ <!ATTLIST bar xyz (a|b|c) 'b'> ]]> error in processing external entity reference at line 21, column 3, by +te 3161: <!ELEMENT bar ANY> <!ATTLIST bar big CDATA 'This is a large string value to test wheth +er the declaration parser still works when the entity or attribute de +fault value may be broken into multiple calls to the default handler. + 01234567890123456789012345678901234567890123456789012345678901234567 +890123456789 01234567890123456789012345678901234567890123456789012345 +678901234567890123456789 01234567890123456789012345678901234567890123 +456789012345678901234567890123456789 01234567890123456789012345678901 +234567890123456789012345678901234567890123456789 01234567890123456789 +012345678901234567890123456789012345678901234567890123456789 01234567 +890123456789012345678901234567890123456789012345678901234567890123456 +789 01234567890123456789012345678901234567890123456789012345678901234 +567890123456789 01234567890123456789012345678901234567890123456789012 +345678901234567890123456789 01234567890123456789012345678901234567890 +123456789012345678901234567890123456789 01234567890123456789012345678 +901234567890123456789012345678901234567890123456789 01234567890123456 +789012345678901234567890123456789012345678901234567890123456789 01234 +567890123456789012345678901234567890123456789012345678901234567890123 +456789 01234567890123456789012345678901234567890123456789012345678901 +234567890123456789 '> ]> ==^ <foo/> at /home/tauser02/XML-Parser-2.41/blib/lib/XML/Parser.pm line 187 t/decl............dubious + Test returned status 9 (wstat 2304, 0x900) DIED. FAILED tests 2-30 Failed 29/30 tests, 3.33% okay t/defaulted.......ok + t/encoding........ok + t/external_ent....ok + t/file............ok + t/finish..........ok + t/namespaces......ok + t/parament........NOK 2Confused test output: test 3 answered after tes +t 6 t/parament........NOK 4Confused test output: test 4 answered after tes +t 7 Confused test output: test 5 answered after test 8 Confused test output: test 6 answered after test 9 Confused test output: test 7 answered after test 10 error in processing external entity reference at line 2, column 32, by +te 76: <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE foo SYSTEM "t/foo.dtd"> ===============================^ <foo>Happy, happy <bar>&joy;, &joy;</bar> at /home/tauser02/XML-Parser-2.41/blib/lib/XML/Parser.pm line 187 t/parament........dubious + Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 2-6, 8, 12 Failed 7/12 tests, 41.67% okay t/partial.........ok + t/skip............ok + t/stream..........ok + t/styles..........ok + Failed Test Stat Wstat Total Fail Failed List of Failed ---------------------------------------------------------------------- +--------- t/decl.t 9 2304 30 58 193.33% 2-30 t/parament.t 255 65280 12 8 66.67% 2-6 8 12 Failed 2/14 test scripts, 85.71% okay. 36/130 subtests failed, 72.31% +okay. make: *** [test_dynamic] Error 255
Any advice?

In reply to problems installing xml::parser by mifflin

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.