Skip Menu |
 

This queue is for tickets about the XML-Twig CPAN distribution.

Report information
The Basics
Id: 7346
Status: resolved
Priority: 0/
Queue: XML-Twig

People
Owner: Nobody in particular
Requestors: michael [...] fingerson.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 3.15
Fixed in: (no value)



Subject: Can't install
Download (untitled) / with headers
text/plain 5.9k
Show quoted text
cpan> install XML::Twig
Running install for module XML::Twig Running make for M/MI/MIROD/XML-Twig-3.15.tar.gz Is already unwrapped into directory /export/home/fingerso/.cpan/build/XML-Twig-3.15 Has already been processed within this session Running make test echo "building Twig.pm" building Twig.pm /usr/bin/perl speedup Twig.pm.slow > Twig.pm perl version is 5.008001 XML::Parser version is 2.34 /usr/bin/perl check_optional_modules Skip blib/lib/XML/Twig.pm (unchanged) Skip blib/lib/XML/Twig/XPath.pm (unchanged) PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/is_field..........................ok t/pod...............................ok t/test1.............................ok t/test2.............................ok t/test3.............................ok t/test4.............................ok t/test5.............................ok t/test_additional................... undefined entity at line 1, column 44, byte 44 at /usr/perl5/5.8.1/lib/site_perl/5.8.1/i86pc-solaris/XML/Parser.pm line 187 t/test_additional...................dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 270-646 Failed 377/646 tests, 41.64% okay t/test_attregexp_cond...............ok t/test_cdata........................ok t/test_class_methods................ok t/test_comment_handler..............ok t/test_drop_comments................ok t/test_entities.....................This error is probably due to an incompatibility between XML::Twig and the version of libexpat that you are using See the README and the XML::Twig FAQ for more information t/test_entities.....................dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-6 Failed 6/6 tests, 0.00% okay t/test_erase........................ok t/test_errors.......................ok t/test_expand_external_entities..... undefined entity at line 2, column 8, byte 68 at /usr/perl5/5.8.1/lib/site_perl/5.8.1/i86pc-solaris/XML/Parser.pm line 187 t/test_expand_external_entities.....dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-3 Failed 3/3 tests, 0.00% okay t/test_ignore_elts..................ok t/test_nav..........................ok t/test_need_io_scalar...............ok t/test_need_use_bytes...............ok t/test_pi_handler...................ok t/test_pos..........................ok t/test_simplify.....................Name "XML::Simple::PREFERRED_PARSER" used only once: possible typo at t/test_simplify.t line 22. t/test_simplify.....................ok 1/1skipping: YAML is not installed t/test_simplify.....................ok t/test_spaces....................... undefined entity at line 2, column 4, byte 36 at /usr/perl5/5.8.1/lib/site_perl/5.8.1/i86pc-solaris/XML/Parser.pm line 187 t/test_spaces.......................dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-3 Failed 3/3 tests, 0.00% okay t/test_twig_roots...................ok t/test_unique_xpath.................ok t/test_variables....................ok t/test_with_lwp.....................ok 3/13 ### warning is normal here ### file:test_with_lwp_no_file.xml File `test_with_lwp_no_file.xml' does not exist at t/test_with_lwp.t line 40 t/test_with_lwp.....................ok t/test_xpath_cond...................ok t/xmlxpath_01basic..................ok t/xmlxpath_02descendant.............ok t/xmlxpath_03star...................ok t/xmlxpath_04pos....................ok t/xmlxpath_05attrib.................ok t/xmlxpath_06attrib_val.............ok t/xmlxpath_07count..................ok t/xmlxpath_08name...................ok t/xmlxpath_09a_string_length........ok t/xmlxpath_09string_length..........ok t/xmlxpath_10pipe...................ok t/xmlxpath_12axisdescendant.........ok t/xmlxpath_13axisparent.............ok t/xmlxpath_14axisancestor...........ok t/xmlxpath_15axisfol_sib............ok t/xmlxpath_16axisprec_sib...........ok t/xmlxpath_17axisfollowing..........ok t/xmlxpath_18axispreceding..........ok t/xmlxpath_19axisd_or_s.............ok t/xmlxpath_20axisa_or_s.............ok t/xmlxpath_21allnodes...............ok t/xmlxpath_22name_select............ok t/xmlxpath_23func...................ok t/xmlxpath_24namespaces.............ok t/xmlxpath_25scope..................ok t/xmlxpath_26predicate..............ok t/xmlxpath_28ancestor2..............ok t/xmlxpath_29desc_with_predicate....ok t/xmlxpath_30lang...................ok t/xmlxpath_additional...............ok t/xmlxpath_nav......................ok t/xmlxpath_test1....................ok t/xmlxpath_test_twig_roots..........ok t/xmlxpath_test_with_handlers.......ok t/xmlxpath_xpath_cond...............ok t/zz_dump_config.................... Configuration: perl: 5.008001 OS: solaris - i86pc-solaris XML::Parser : 2.34 expat : 1.95.4 Scalar::Util : 1.14 Encode : 1.9801 LWP : 5.76 HTML::Entities : 1.27 Tie::IxHash : 1.21 XML::XPath : 1.13 Test : 1.24 Test::Pod : 1.20 XML::Simple : 2.12 XML::Handler::YAWriter : 0.23 XML::SAX::Writer : <not available> IO::Scalar : 2.105 Please add this information to bug reports (you can run t/zz_dump_config.t to get it) t/zz_dump_config....................ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/test_additional.t 255 65280 646 754 116.72% 270-646 t/test_entities.t 255 65280 6 12 200.00% 1-6 t/test_expand_external_entities.t 255 65280 3 6 200.00% 1-3 t/test_spaces.t 255 65280 3 6 200.00% 1-3 Failed 4/66 test scripts, 93.94% okay. 389/1656 subtests failed, 76.51% okay. make: *** [test_dynamic] Error 29 /usr/local/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force Show quoted text
cpan>
Download (untitled) / with headers
text/plain 455b
The version of expat that you are using is 1.95.4, which is not compatible with XML::Twig (see http://xmltwig.com/xmltwig/twig_stable.html#NOTES_XML_Twig_and_various_versions_of_Perl_XML_Parser_and_expat) This is what the message "This error is probably due to an incompatibility between XML::Twig and the version of libexpat that you are using" means. I will change the wording of the message to point to the proper place in the docs though. __ Mirod


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.