我试图通过运行“cpan”并在提示符处input“install DateTime”来安装Perl DateTime模块。 经过大量的处理和打印后,我得到了这个消息:
在(eval 907)第3行的编译失败。
#看起来像是你的testing在输出任何东西之前就已经死亡了。
吨/ 41cldr_format .........可疑
testing返回状态255(wstat 65280,0xff00)
死了。 失败的testing1-101
失败101/101testing,0.00%好吧
吨/ 42duration_class ...... OK
T /荚覆盖..........跳过
全部跳过:Test :: Pod :: Coverage 1.08需要testingPOD覆盖率
吨/荚...................跳过
全部跳过:testingPOD需要testing:: Pod 1.14
testing统计失败Wstat失败失败列表失败
-------------------------------------------------- -----------------------------
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 / 23stores.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 / 37本地增加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个testing和9个子testing跳过。
失败的11/44testing脚本,75.00%没关系。 462/3296分测验失败,85.98%没问题。
make:*** [test_dynamic]错误255
DROLSKY /date-0.50.tar.gz
/ usr / bin / make test - 不行
//提示//查看安装此模块的cpan-testers结果,请尝试:
报告DROLSKY / DateTime-0.50.tar.gz
运行make install
使testing返回不良状态,不会强行安装
在此命令中失败:
DROLSKY / DateTime-0.50.tar.gz:make_test NO
这是什么意思,我该如何解决?
编辑:我正在运行Fedora。
你使用什么OS /发行版? 从一个软件包安装这些模块通常会更容易,因为这也会得到相关性。 在Ubuntu中,你只需要:
sudo apt-get install libdatetime-perl
其实我也没有在Fedora 14上用“cpanm”安装“DateTime”模块, 我确实想使用这个模块,而不是你的“TimeDate”。
转入根目录,“ yum install perl-DateTime.i686 ”
这完成了工作@ _ @