larsen has asked for the wisdom of the Perl Monks concerning the following question:

In order to try the Everything Engine on my box, I need XML::DOM installed. But I have some problems with the installation.

I have Expat 1.95.2, XML::Parser 2.30. Here the error messages I get:

make[1]: Entering directory `/home/stefano/libxml-enno-1.02/XQLParser' make[1]: Leaving directory `/home/stefano/libxml-enno-1.02/XQLParser' PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl +5/5.6.0/i386-linux -I/usr/lib/perl5/5.6.0 -e 'use Test::Harness qw(&r +untests $verbose); $verbose=0; runtests @ARGV;' t/*.t t/build_dom.........FAILED test 2 Failed 1/2 tests, 50.00% okay t/chk_batch.........FAILED tests 1, 3-4, 7, 14-15, 17-18, 21, 27-29, 3 +1-32, 35, 41-43, 46, 49, 56 Failed 21/56 tests, 62.50% okay t/dom_astress.......ok t/dom_attr..........dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 3, 20-23 Failed 5/23 tests, 78.26% okay t/dom_cdata.........ok t/dom_example.......ok t/dom_extent........dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED test 2 Failed 1/2 tests, 50.00% okay t/dom_jp_astress....dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED test 4 Failed 1/4 tests, 75.00% okay t/dom_jp_attr.......dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 3, 20-23 Failed 5/23 tests, 78.26% okay t/dom_jp_cdata......ok t/dom_jp_example....ok t/dom_jp_minus......ok t/dom_jp_modify.....ok t/dom_jp_print......FAILED test 2 Failed 1/3 tests, 66.67% okay t/dom_minus.........ok t/dom_modify........ok t/dom_print.........FAILED test 2 Failed 1/3 tests, 66.67% okay t/dom_template......ok t/xql_Strict........ok t/xql_attr..........ok t/xql_big...........ok t/xql_comment.......ok t/xql_cos...........ok t/xql_date..........ok t/xql_document......ok t/xql_eval..........ok t/xql_immed_precedes.ok t/xql_index.........ok t/xql_index2........ok t/xql_map...........ok t/xql_new...........ok t/xql_once..........ok t/xql_parent........ok t/xql_precedes......ok t/xql_recurse.......ok t/xql_recurse2......ok t/xql_sin2..........ok t/xql_subscript.....ok t/xql_subscript2....ok t/xql_subst.........ok t/xql_template......ok t/xql_test..........ok t/xql_test_DATA_CKL.ok t/xql_text..........ok t/xql_union.........ok t/xql_union2........ok Failed Test Status Wstat Total Fail Failed List of failed ---------------------------------------------------------------------- +--------- t/build_dom.t 2 1 50.00% 2 t/chk_batch.t 56 21 37.50% 1, 3-4, 7, 14-15, 17-18, + 21, 27- 29, 31-32, 35, 41-43, 46 +, 49, 56 t/dom_attr.t 255 65280 23 5 21.74% 3, 20-23 t/dom_extent.t 255 65280 2 1 50.00% 2 t/dom_jp_astres 255 65280 4 1 25.00% 4 t/dom_jp_attr.t 255 65280 23 5 21.74% 3, 20-23 t/dom_jp_print. 3 1 33.33% 2 t/dom_print.t 3 1 33.33% 2

Occasionally I get error messages like:

Can't locate object method "equals" via package "XML::Parser::ContentM +odel" at CmpDOM.pm line 179.

I hope this is enough for giving some advice. Thanks in advance.

Replies are listed 'Best First'.
Re: Problems installing XML::DOM
by mirod (Canon) on Sep 02, 2001 at 23:50 UTC

    There have been problems in the past with XML::Parser and XML::DOM not being synchronized. The problem was compounded by the fact that libxml-enno, which includes XML::DOM, also includes a bunch of poorly maintained modules. So recently libxml-enno has been replaced by the different modules it includes. So maybe you should try intalling the latest version, XML::DOM 1.31, dated August 29.

    You should be OK then as it looks like the faulty tests concern XML::XQL and not XML::DOM.

      Bless you !

      Just been through the sam enno->DOM->Parser hell. I suspected what you have stated but having it confirmed is a relief. Why the hell ennon found it necessary to put XML::DOM and XML::XQL etc. in same distro is beyond me. I feel theses modules are too important to get screwed up in Version hell.

      mitd-Made in the Dark
      'My favourite colour appears to be grey.'