linux "perl(xml::dom)" rpm,linux - Error installing XML::DOM::XPath - Stack Overflow

I've written a small Perl script that uses the Bio::Seq and Bio::SeqIO packages. When I try to run the script on a linux-based server. I got a lot of errors which basically told me that BioPerl hadn't been installed.

I installed ActiveState Perl 5.26 locally and have taken care of most of the prerequisites in order to install Bio::Perl. Only XML::DOM::XPath remains a problem. After trying to install the package, I received the following error:

Test Summary Report

-------------------

t/test_non_ascii.t (Wstat: 512 Tests: 0 Failed: 0)

Non-zero exit status: 2

Parse errors: Bad plan. You planned 10 tests but ran 0.

Files=35, Tests=183, 4 wallclock secs ( 0.12 usr 0.04 sys + 3.46 cusr 0.52 csys = 4.14 CPU)

Result: FAIL

Failed 1/35 test programs. 0/183 subtests failed.

make: *** [test_dynamic] Error 255

MIROD/XML-DOM-XPath-0.14.tar.gz

/usr/bin/make test -- NOT OK

//hint// to see the cpan-testers results for installing this module, try:

reports MIROD/XML-DOM-XPath-0.14.tar.gz

Failed during this command:

MIROD/XML-DOM-XPath-0.14.tar.gz : make_test NO

nolock_cpan> reports MIROD/XML-DOM-XPath-0.14.tar.gz

Distribution: M/MI/MIROD/XML-DOM-XPath-0.14.tar.gz

Fetching 'http://www.cpantesters.org/show/XML-DOM-XPath.yaml'...DONE

Catching error: "CPAN::Exception::yaml_process_error=HASH(0x4ca5c28)" at /data/calvin/ActivePerl-5.26/lib/CPAN.pm line 392.

CPAN::shell() called at -e line 1

This error seems to be connected to t/test_non_ascii.t, as an earlier output of trying to run the command install "XML::DOM::XPath" gave the following error:

t/test_non_ascii.t .................... The encoding pragma is no longer supported. Check cperl at t/test_non_ascii.t line 10.

BEGIN failed--compilation aborted at t/test_non_ascii.t line 10.

Looks like your test exited with 2 before it could output anything.

t/test_non_ascii.t .................... Dubious, test returned 2 (wstat 512, 0x200)

Failed 10/10 subtests

Does anybody know what the exact cause of the error is and how I can fix it?

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值