加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 大数据 > 正文

perl – CPAN无法安装DateTime模块

发布时间:2020-12-15 21:33:04 所属栏目:大数据 来源:网络整理
导读:我尝试通过运行“cpan”并在提示符下键入“install DateTime”来安装Perl DateTime模块.经过大量的处理和打印后,我得到了这样的信息: Compilation failed in require at (eval 907) line 3.# Looks like your test died before it could output anything.t/
我尝试通过运行“cpan”并在提示符下键入“install DateTime”来安装Perl DateTime模块.经过大量的处理和打印后,我得到了这样的信息:
Compilation failed in require at (eval 907) line 3.
# Looks like your test died before it could output anything.
t/41cldr_format.........dubious                                              
        Test returned status 255 (wstat 65280,0xff00)
DIED. FAILED tests 1-101
        Failed 101/101 tests,0.00% okay
t/42duration_class......ok                                                   
t/pod-coverage..........skipped
        all skipped: Test::Pod::Coverage 1.08 required for testing POD coverage
t/pod...................skipped
        all skipped: Test::Pod 1.14 required for testing POD
Failed Test          Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/07compare.t         255 65280    26   18  69.23%  18-26
t/17set_return.t      255 65280     7   12 171.43%  2-7
t/19leap_second.t     255 65280   172  302 175.58%  22-172
t/23storable.t        255 65280    21   42 200.00%  1-21
t/24from_object.t     255 65280    10    8  80.00%  7-10
t/30future_tz.t       255 65280     5   10 200.00%  1-5
t/34set_tz.t          255 65280     8   16 200.00%  1-8
t/36invalid_local.t   255 65280     4    5 125.00%  1-4
t/37local-add.t       255 65280    26   52 200.00%  1-26
t/38local-subtract.t  255 65280   127  254 200.00%  1-127
t/41cldr_format.t     255 65280   101  202 200.00%  1-101
3 tests and 9 subtests skipped.
Failed 11/44 test scripts,75.00% okay. 462/3296 subtests failed,85.98% okay.
make: *** [test_dynamic] Error 255
  DROLSKY/DateTime-0.50.tar.gz
  /usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module,try:
  reports DROLSKY/DateTime-0.50.tar.gz
Running make install
  make test had returned bad status,won't install without force
Failed during this command:
 DROLSKY/DateTime-0.50.tar.gz                 : make_test NO

它是什么意思,我该如何解决?

编辑:我正在运行Fedora.

解决方法

您使用的操作系统/发行版是什么?从包中安装这些模块通常更容易,因为这样也会获得依赖性.在Ubuntu你只会:
sudo apt-get install libdatetime-perl

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读