I hope this is considered within the scope of Perl knowledge since it pertains mainly to Module installation.

I am trying to install XML-DOM on a box running Perl 5.8.3. During the CPAN install I am receiving a number errors regarding other moldules it is dependent on. I am not a Linux or Perl guru by any means and I am about ready to repeatedly punch the bathroom paper towel dispenser. Below is what I am getting from the CPAN wrapper. Please help me before I kill again!!! - Matthew
cpan> install XML::Parser Running install for module XML::Parser Running make for M/MS/MSERGEANT/XML-Parser-2.34.tar.gz Is already unwrapped into directory /root/.cpan/build/XML-Parser-2.3 +4 Has already been processed within this session Running make test make[1]: Entering directory `/root/.cpan/build/XML-Parser-2.34/Expat' make[1]: Leaving directory `/root/.cpan/build/XML-Parser-2.34/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 t/defaulted.......ok t/encoding........"my" variable $p masks earlier declaration in same s +cope at t/encoding.t line 94. t/encoding........ok t/external_ent....ok 1/5 501 Protocol scheme 'file' is not supported file:/root/.cpan/build/XML +-Parser-2.34/a.ent Handler couldn't resolve external entity at line 7, column 5, byte 117 error in processing external entity reference at line 7, column 5, byt +e 117 at /root/.cpan/build/XML-Parser-2.34/blib/lib/XML/Parser.pm lin +e 187 t/external_ent....dubious Test returned status 255 (wstat 65280, 0xff00) Scalar found where operator expected at (eval 152) line 1, near "'int' + $__val" (Missing operator before $__val?) DIED. FAILED tests 2-5 Failed 4/5 tests, 20.00% okay t/file............ok t/finish..........ok t/namespaces......ok t/parament........ok 1/12 501 Protocol scheme 'file' is not supported file:/root/.cpan/build/XML +-Parser-2.34/t/foo.dtd Handler couldn't resolve external entity at line 8, column 0, byte 173 error in processing external entity reference at line 8, column 0, byt +e 173: <!ENTITY more SYSTEM "t/ext2.ent"> ] > ^ <foo>Happy, happy <bar>&joy;, &joy;</bar> at /root/.cpan/build/XML-Parser-2.34/blib/lib/XML/Parser.pm line 187 t/parament........dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 2-12 Failed 11/12 tests, 8.33% okay t/partial.........ok t/skip............ok t/stream..........ok t/styles..........ok Failed Test Stat Wstat Total Fail Failed List of Failed ---------------------------------------------------------------------- +--------- t/external_ent.t 255 65280 5 8 160.00% 2-5 t/parament.t 255 65280 12 22 183.33% 2-12 Failed 2/14 test scripts, 85.71% okay. 15/130 subtests failed, 88.46% +okay. make: *** [test_dynamic] Error 255 /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force cpan>

In reply to All I want is XML::DOM by mmetzger

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.