Perl DateTime ::找不到TimeZone(Bugzilla安装)
发布时间:2020-12-15 21:42:21 所属栏目:大数据 来源:网络整理
导读:我想在我的Centos服务器上安装Bugzilla.但是我收到了这个错误: Checking for DateTime-TimeZone (v0.71) not found 和 COMMANDS TO INSTALL REQUIRED MODULES (You *must* run all these commands and then re-run this script): /usr/bin/perl install-mod
我想在我的Centos服务器上安装Bugzilla.但是我收到了这个错误:
Checking for DateTime-TimeZone (v0.71) not found 和 COMMANDS TO INSTALL REQUIRED MODULES (You *must* run all these commands and then re-run this script): /usr/bin/perl install-module.pl DateTime::TimeZone 如果我运行:/usr/bin/perl install-module.pl DateTime :: TimeZone 然后我明白了: CPAN: Storable loaded ok (v2.15)Reading '/root/.cpan/Metadata' Database was generated on Sun,09 Oct 2011 17:27:24 GMT Installing DateTime::TimeZone version 1.39... CPAN: Module::CoreList loaded ok (v2.56) DateTime::TimeZone is up to date (1.39). 我怎样才能解决这个问题? 解决方法
我在升级时遇到了同样的问题.似乎已安装DateTime :: TimeZone模块,但Bugzilla checksetup.pl脚本始终报告未找到它.以下修复了我的问题(从Bugzilla安装目录运行):
$perl install-module.pl Params::Util $perl install-module.pl Module::Runtime 我发现这是通过编写两行perl脚本来模拟Bugzilla完成的检查: use lib qw(. lib); use DateTime::TimeZone; 然后运行它来查看错误: perl /tmp/foo.pl 安装上述模块后,foo.pl脚本会通过,Bugzilla checksetup.pl也会通过. (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |