首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Perl: Statistics::Normality安装失败

Perl: Statistics::Normality安装失败
EN

Stack Overflow用户
提问于 2019-04-03 01:09:29
回答 1查看 496关注 0票数 0

我正在尝试安装perl的Statistics::Normality (https://metacpan.org/pod/Statistics::Normality),但遇到错误,我不知道如何在CPAN2.26和Perl5.26.1的命令行中修复

我已经尝试过该页面上的安装说明,但它们产生了错误

代码语言:javascript
复制
Reading '/home/con/.local/share/.cpan/Metadata'   Database was generated on Tue, 02 Apr 2019 16:17:03 GMT Running install for module 'Statistics::Normality' Checksum for /home/con/.local/share/.cpan/sources/authors/id/M/MW/MWENDL/Statistics-Normality-0.01.tar.gz ok Scanning cache /home/con/.local/share/.cpan/build for sizes ............................................................................DONE Configuring M/MW/MWENDL/Statistics-Normality-0.01.tar.gz with Makefile.PL Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Statistics::Normality Writing MYMETA.yml and MYMETA.json   MWENDL/Statistics-Normality-0.01.tar.gz   /usr/bin/perl Makefile.PL INSTALLDIRS=site -- OK Running make for M/MW/MWENDL/Statistics-Normality-0.01.tar.gz cp lib/Statistics/Normality.pm blib/lib/Statistics/Normality.pm Manifying 1 pod document   MWENDL/Statistics-Normality-0.01.tar.gz   /usr/bin/make -- OK Running make test for MWENDL/Statistics-Normality-0.01.tar.gz PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00-load.t ....... 1/1 # Testing Statistics::Normality 0.01, Perl 5.026001, /usr/bin/perl t/00-load.t ....... ok    t/01-normality.t .. 1/? # Tests were run but no plan was declared and done_testing() was not seen. t/01-normality.t .. Dubious, test returned 254 (wstat 65024, 0xfe00) All 4 subtests passed  t/pod-coverage.t .. 1/1 
#   Failed test 'Pod coverage on Statistics::Normality'
#   at /usr/local/share/perl/5.26.0/Test/Pod/Coverage.pm line 133.
# Coverage for Statistics::Normality is 0.0%, with 2 naked subroutines:
#   dagostino_k_square_test
#   shapiro_wilk_test
# Looks like you failed 1 test of 1. t/pod-coverage.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests  t/pod.t ........... ok   

Test Summary Report
------------------- t/01-normality.t (Wstat: 65024 Tests: 4 Failed: 0)   Non-zero exit status: 254   Parse errors: No plan found in TAP output t/pod-coverage.t (Wstat: 256 Tests: 1 Failed: 1)   Failed test:  1   Non-zero exit status: 1 Files=4, Tests=7,  0 wallclock secs ( 0.03 usr
0.00 sys +  0.18 cusr  0.01 csys =  0.22 CPU) Result: FAIL Failed 2/4 test programs. 1/7 subtests failed. Makefile:822: recipe for target 'test_dynamic' failed make: *** [test_dynamic] Error 255   MWENDL/Statistics-Normality-0.01.tar.gz   /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try:   reports MWENDL/Statistics-Normality-0.01.tar.gz Failed during this command:  MWENDL/Statistics-Normality-0.01.tar.gz      : make_test NO

我不知道如何解决这个问题:

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2019-04-03 01:12:49

如果这是唯一的测试错误,那只是一个文档问题,没什么好担心的。强制安装模块。

代码语言:javascript
复制
$ cpan -f Statistics::Normality
票数 3
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/55480186

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档