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

I'm having a problem installing the latest version of XML::Grove (version 0.46).

The make test fails on steps 2-5.

I've done everything I can think of to make it work but looking at the cpan test results it seems like everyones install is failing.

Should I go back to a previous version ? (Version 0.45 is the next most recent version but I cant find it). Or should I hack the test files to force the tests to always pass ?

Thanks, Digsy

Replies are listed 'Best First'.
Re: XML::Grove install problem
by mirod (Canon) on Jun 09, 2006 at 14:22 UTC

    Do you really need to use XML::Grove? It was one of the first XML::Parser-based module released, but it hasn't been updated this millenium (version 0.46alpha is dated 09 Sep 1999). That might also explain why it fails the tests on a recent perl.

    XML::LibXML (based on libxml2), or (shameless plug!) XML::Twig (based on XML::Parser and thus expat) are both well-maintained, and would be better choices these days.

      Well I am trying to install Net::DBus which needs XML::Grove (I believe).

      Is there an alternative to Net::DBus ?

Re: XML::Grove install problem
by Joost (Canon) on Jun 09, 2006 at 14:29 UTC
    Hmm... I also get test errors:
    t/grove......FAILED tests 3-4 Failed 2/5 tests, 60.00% okay Failed Test Stat Wstat Total Fail Failed List of Failed ---------------------------------------------------------------------- +------------------------- t/grove.t 5 2 40.00% 3-4 Failed 1/2 test scripts, 50.00% okay. 2/10 subtests failed, 80.00% oka +y. make: *** [test_dynamic] Error 255 [ERROR] MAKE TEST failed: No such file or directory PERL_DL_NONLAZY=1 +/usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, ' +blib/lib', 'blib/arch')" t/*.t
    Looking here It appears to fail at perl versions 5.8.0 and higher.

    The only other version I could find on backpan (0.05) also fails 2 tests.

    You can try filing a bugreport, but since the distro hasn't been updated in 7 years, I suggest you also start looking for another module.

Re: XML::Grove install problem
by gellyfish (Monsignor) on Jun 09, 2006 at 14:28 UTC

    From a cursory glance at the tests of XML::Grove it looks like an encoding problem and it could be just related to the tests. However I'm with mirod and would suggest that you look at a more recent module.

    /J\

Re: XML::Grove install problem
by wazoox (Prior) on Jun 10, 2006 at 09:12 UTC
    Net::DBus is recent and active. You should file a very serious bug to its author; it shouldn't rely on deprecated stuff such as XML::Grove, but rather use modern XML modules.
    However, perhaps forcing XML::Grove installation will be enough to get Net::DBus working (it may not depend upon the broken parts in XML::Grove ).
A reply falls below the community's threshold of quality. You may see it by logging in.