{"id":1232,"date":"2015-01-03T23:22:01","date_gmt":"2015-01-03T23:22:01","guid":{"rendered":"http:\/\/www.omniweb.com\/wordpress\/?p=1232"},"modified":"2015-01-03T23:25:00","modified_gmt":"2015-01-03T23:25:00","slug":"trouble-installing-xmlparser-on-centos","status":"publish","type":"post","link":"https:\/\/www.omniweb.com\/wordpress\/?p=1232","title":{"rendered":"Trouble Installing XML::Parser on CentOS"},"content":{"rendered":"<p>While trying to install XML::RSS from CPAN on a CentOS installation with Perl 5.10, it kept failing on the pre-requisite XML::Parser<\/p>\n<p>For example, one of the failures showed:<\/p>\n<blockquote><p>t\/astress.t &#8230;&#8230;&#8230;.. Failed 15\/27 subtests<\/p><\/blockquote>\n<p>and concluded with <\/p>\n<blockquote><p>Test Summary Report<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br \/>\nt\/astress.t         (Wstat: 0 Tests: 27 Failed: 15)<br \/>\n  Failed tests:  5-11, 14, 18-24<br \/>\nFiles=15, Tests=141,  1 wallclock secs ( 0.07 usr  0.03 sys +  0.88 cusr  0.14 csys =  1.12 CPU)<br \/>\nResult: FAIL<br \/>\nFailed 1\/15 test programs. 15\/141 subtests failed.<br \/>\nmake: *** [test_dynamic] Error 255<br \/>\n  TODDR\/XML-Parser-2.43.tar.gz<br \/>\n  \/usr\/bin\/make test &#8212; NOT OK<br \/>\n\/\/hint\/\/ to see the cpan-testers results for installing this module, try:<br \/>\n  reports TODDR\/XML-Parser-2.43.tar.gz<br \/>\nRunning make install<br \/>\n  make test had returned bad status, won&#8217;t install without force<\/p><\/blockquote>\n<p>To resolve this, I found the <a href=\"https:\/\/metacpan.org\/source\/TODDR\/XML-Parser-2.43\/README\">doc<\/a> said <\/p>\n<blockquote><p>&#8220;You can install this module from OS package too, but CPAN has most fresh version.<br \/>\nCentOS\/RHEL\/Fedora: perl-XML-Parser<\/p><\/blockquote>\n<p>so based on this I used<br \/>\n <code>yum install perl-XML-Parser<\/code><br \/>\nto install the Perl XML Parser, and that then allowed<br \/>\n <code>cpan XML::RSS<\/code><br \/>\nto finally complete the install correctly.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>While trying to install XML::RSS from CPAN on a CentOS installation with Perl 5.10, it kept failing on the pre-requisite XML::Parser For example, one of the failures showed: t\/astress.t &#8230;&#8230;&#8230;.. Failed 15\/27 subtests and concluded with Test Summary Report &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- &hellip; <a href=\"https:\/\/www.omniweb.com\/wordpress\/?p=1232\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1232"}],"collection":[{"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1232"}],"version-history":[{"count":5,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1232\/revisions"}],"predecessor-version":[{"id":1237,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1232\/revisions\/1237"}],"wp:attachment":[{"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1232"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1232"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.omniweb.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1232"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}