Perl v5.14.2安装List::SomeUtils时遇Undefined subroutine错误
Perl v5.14.2安装List::SomeUtils失败问题
- 运行环境:Perl v5.14.2
- 尝试的安装途径:CPAN、cpanm工具,以及从MetaCPAN下载源码后执行
perl Makefile.PL、make编译 - 统一问题:所有安装方式均失败,执行
make test时触发相同错误:Undefined subroutine &Module::Implementation::implementation_for - 顾虑:List::SomeUtils是其他依赖包的必需模块,不确定跳过测试强制安装是否会引发后续问题
测试失败详细日志:
t/Functions.t .......... 7/? Undefined subroutine &Module::Implementation::implementation_for called at /usr/src/List-SomeUtils-0.58/blib/lib/List/SomeUtils.pm line 94. # Child (pairwise) exited without calling finalize() # Failed test 'pairwise' # at /opt/perl/lib/site_perl/5.14.2/Test/Builder.pm line 279. # Tests were run but no plan was declared and done_testing() was not seen. # Looks like your test exited with 29 just after 31. t/Functions.t .......... Dubious, test returned 29 (wstat 7424, 0x1d00) Failed 1/31 subtests t/Import.t ............. ok t/pp-only.t ............ Undefined subroutine &Module::Implementation::implementation_for called at t/pp-only.t line 10. t/pp-only.t ............ Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run Test Summary Report ------------------- t/Functions.t (Wstat: 7424 Tests: 31 Failed: 1) Failed test: 31 Non-zero exit status: 29 Parse errors: No plan found in TAP output t/pp-only.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output Files=5, Tests=34, 1 wallclock secs ( 0.06 usr 0.01 sys + 0.65 cusr 0.02 csys = 0.74 CPU) Result: FAIL Failed 2/5 test programs. 1/34 subtests failed. make: *** [test_dynamic] Error 255
内容的提问来源于stack exchange,提问作者Ian
相关产品推荐
相关产品推荐

