bugzilla 安装问题

I am trying to install Bugzilla on my Centos server. but I got this error:

Checkingfor   DateTime-TimeZone(v0.71)    not found 

and

    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

If I run: /usr/bin/perl install-module.pl DateTime::TimeZone

then I get this:

    CPAN:Storable loaded ok (v2.15)Reading'/root/.cpan/Metadata'
   
Database was generated on Sun,09Oct201117:27:24 GMT
   
InstallingDateTime::TimeZone version 1.39...
    CPAN
:Module::CoreList loaded ok (v2.56)
   
DateTime::TimeZone is up to date (1.39).

How can I fix this?

 

 

I was having the same problem when upgrading. The DateTime::TimeZone module appeared to be installed but the Bugzilla checksetup.pl script always reported that it was not found. The following fixed the problem for me (run from the Bugzilla install dir):

$ perl install-module.pl Params::Util
$ perl install
-module.pl Module::Runtime

I found this by writing a two line perl script to simulate the check done by Bugzilla:

use lib qw(. lib);
useDateTime::TimeZone;

and then running it to see the errors:

perl /tmp/foo.pl

After installing the above modules the foo.pl script passes and so does Bugzilla checksetup.pl.

转载于:https://www.cnblogs.com/dapachong/archive/2012/04/07/2435849.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值