So I was trying to install the XML::DOM Perl module from CPAN using MCPAN on OS X (don’t even ask!).

Seems like this post got mangled during the conversion from MovableType to WordPress. The gist of it was that I was making fun of the XML::DOM test suite which was reporting way more errors than tests run for an outrageous failure percentage. Obviously, the error messages were less than helpful but it turned out as persisten.info explains that you need to install Expat before attempting to install XML::DOM

I found a cached version of the post on Yahoo!. Here it is:

So I was trying to install the XML::DOM Perl module from CPAN using MCPAN on OS X (don’t even ask!). The results:

Failed Test          Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/build_dom.t           2   512     2    3 150.00%  1-2
t/dom_astress.t         2   512     4    7 175.00%  1-4
t/dom_attr.t            2   512    23   45 195.65%  1-23
t/dom_cdata.t           2   512     3    5 166.67%  1-3
t/dom_documenttype.t    2   512     1    1 100.00%  1
t/dom_encode.t          2   512     3    5 166.67%  1-3
t/dom_example.t         2   512     5    9 180.00%  1-5
t/dom_extent.t          2   512     1    1 100.00%  1
t/dom_jp_astress.t      2   512     4    7 175.00%  1-4
t/dom_jp_attr.t         2   512    23   45 195.65%  1-23
t/dom_jp_cdata.t        2   512     3    5 166.67%  1-3
t/dom_jp_example.t      2   512     5    9 180.00%  1-5
t/dom_jp_minus.t        2   512     2    3 150.00%  1-2
t/dom_jp_modify.t       2   512    16   31 193.75%  1-16
t/dom_jp_print.t        2   512     3    5 166.67%  1-3
t/dom_minus.t           2   512     2    3 150.00%  1-2
t/dom_modify.t          2   512    16   31 193.75%  1-16
t/dom_noexpand.t        2   512     3    5 166.67%  1-3
t/dom_print.t           2   512     3    5 166.67%  1-3
t/dom_template.t        2   512     2    3 150.00%  1-2
t/dom_text.t            2   512     5    9 180.00%  1-5
Failed 21/21 test scripts, 0.00% okay. 129/129 subtests failed, 0.00% okay.
make: *** [test_dynamic] Error 2
  /usr/bin/make test -- NOT OK

OH REALLY? The tests are NOT OK? I’d say as much when you try to run 23 tests and fail 45 times for 195.65% of failure!!

The laugh was welcome at the time… especially because I found the article mentionned above not long after running into that little test problem…

No related posts.

Related posts brought to you by Yet Another Related Posts Plugin.