51Testing软件测试论坛

标题: bugzilla问题,在线等 [打印本页]

作者: zuiaixiaohu    时间: 2009-8-20 11:51
标题: bugzilla问题,在线等
我用在ubuntu下装了一个bugzilla3.4版的,但是不找汉化,然后又想装个bugzilla2.22.1版的,但是checksetup 的时候老所出错
Checking perl modules ...
Checking for       AppConfig (v1.52)   ok: found v1.66
Checking for             CGI (v2.93)   ok: found v3.29
Checking for    Data:umper (any)     ok: found v2.121_14
Checking for    Date::Format (v2.21)   ok: found v2.22
Checking for             DBI (v1.38)   ok: found v1.607
Checking for      File::Spec (v0.84)   ok: found v3.2501
Checking for      File::Temp (any)     ok: found v0.18
Checking for        Template (v2.10)   ok: found v2.22
Checking for      Text::Wrap (v2001.0131) ok: found v2006.1117
Checking for    Mail::Mailer (v1.67)   ok: found v2.04
Checking for    MIME::Base64 (v3.01)   ok: found v3.07_01
Checking for    MIME:arser (v5.406)  ok: found v5.427
Checking for        Storable (any)     ok: found v2.18

The following Perl modules are optional:
Checking for              GD (v1.20)    not found
Checking for Template:lugin::GD::Image (any)      not found
Checking for     Chart::Base (v1.0)     not found
Checking for       XML::Twig (any)     ok: found v3.32
Checking for       GD::Graph (any)      not found
Checking for GD::Text::Align (any)      not found
Checking for     PatchReader (v0.9.4)   not found
Checking for   Image::Magick (any)      not found
Checking for    HTML:arser (v3.40)   ok: found v3.59
Checking for  HTML::Scrubber (any)      not found

If you you want to see graphical bug charts (plotting historical data over
time), you should install libgd and the following Perl modules:

GD:          /usr/bin/perl -MCPAN -e 'install "GD"'
Chart:       /usr/bin/perl -MCPAN -e 'install "Chart::Base"'

If you want to convert BMP image attachments to PNG to conserve
disk space, you will need to install the ImageMagick application
Available from http://www.imagemagick.org, and the Image::Magick
Perl module by running (as root):

   /usr/bin/perl -MCPAN -e 'install "Image::Magick"'

If you you want to see graphical bug reports (bar, pie and line charts of
current data), you should install libgd and the following Perl modules:

GD:              /usr/bin/perl -MCPAN -e 'install "GD"'
GD::Graph:       /usr/bin/perl -MCPAN -e 'install "GD::Graph"'
GD::Text::Align: /usr/bin/perl -MCPAN -e 'install "GD::Text::Align"'
Template:lugin::GD: /usr/bin/perl -MCPAN -e 'install "Template:lugin::GD"'

If you want to see pretty HTML views of patches, you should install the
PatchReader module:
PatchReader: /usr/bin/perl -MCPAN -e 'install "atchReader"'
If you want additional HTML tags within product and group descriptions,
you should install:
HTML::Scrubber: /usr/bin/perl -MCPAN -e 'install "HTML::Scrubber"'

Checking user setup ...
Precompiling templates ...
Not a subroutine reference at Bugzilla/Template.pm line 59.
Compilation failed in require at checksetup.pl line 1269.
root@znk-desktop:/var/www/bugz2.22# /usr/bin/perl checksetup.pl

Checking perl modules ...
Checking for       AppConfig (v1.52)   ok: found v1.66
Checking for             CGI (v2.93)   ok: found v3.29
Checking for    Data:umper (any)     ok: found v2.121_14
Checking for    Date::Format (v2.21)   ok: found v2.22
Checking for             DBI (v1.38)   ok: found v1.607
Checking for      File::Spec (v0.84)   ok: found v3.2501
Checking for      File::Temp (any)     ok: found v0.18
Checking for        Template (v2.10)   ok: found v2.22
Checking for      Text::Wrap (v2001.0131) ok: found v2006.1117
Checking for    Mail::Mailer (v1.67)   ok: found v2.04
Checking for    MIME::Base64 (v3.01)   ok: found v3.07_01
Checking for    MIME:arser (v5.406)  ok: found v5.427
Checking for        Storable (any)     ok: found v2.18

The following Perl modules are optional:
Checking for              GD (v1.20)    not found
Checking for Template:lugin::GD::Image (any)      not found
Checking for     Chart::Base (v1.0)     not found
Checking for       XML::Twig (any)     ok: found v3.32
Checking for       GD::Graph (any)      not found
Checking for GD::Text::Align (any)      not found
Checking for     PatchReader (v0.9.4)   not found
Checking for   Image::Magick (any)      not found
Checking for    HTML:arser (v3.40)   ok: found v3.59
Checking for  HTML::Scrubber (any)      not found

If you you want to see graphical bug charts (plotting historical data over
time), you should install libgd and the following Perl modules:

GD:          /usr/bin/perl -MCPAN -e 'install "GD"'
Chart:       /usr/bin/perl -MCPAN -e 'install "Chart::Base"'

If you want to convert BMP image attachments to PNG to conserve
disk space, you will need to install the ImageMagick application
Available from http://www.imagemagick.org, and the Image::Magick
Perl module by running (as root):

   /usr/bin/perl -MCPAN -e 'install "Image::Magick"'

If you you want to see graphical bug reports (bar, pie and line charts of
current data), you should install libgd and the following Perl modules:

GD:              /usr/bin/perl -MCPAN -e 'install "GD"'
GD::Graph:       /usr/bin/perl -MCPAN -e 'install "GD::Graph"'
GD::Text::Align: /usr/bin/perl -MCPAN -e 'install "GD::Text::Align"'
Template:lugin::GD: /usr/bin/perl -MCPAN -e 'install "Template:lugin::GD"'

If you want to see pretty HTML views of patches, you should install the
PatchReader module:
PatchReader: /usr/bin/perl -MCPAN -e 'install "atchReader"'
If you want additional HTML tags within product and group descriptions,
you should install:
HTML::Scrubber: /usr/bin/perl -MCPAN -e 'install "HTML::Scrubber"'

Checking user setup ...
Precompiling templates ...
Not a subroutine reference at Bugzilla/Template.pm line 59.
Compilation failed in require at checksetup.pl line 1269.
作者: jiujin    时间: 2009-8-20 13:53
有一些模块没有安装上,手动安装一下就好了
安装的方式就是提示信息里面了:
/usr/bin/perl -MCPAN -e 'install "GD"'   或者 GD:              /usr/bin/perl -MCPAN -e 'install "GD"'
(有没有前面的GD:记不清了)
输入这些后回车,再看下提示信息,应该是程序会自动去找,然后得找一会,其它的也一样安装
/usr/bin/perl -MCPAN -e 'install "Chart::Base"'       回车
………………
最后再检查一遍,如果还不行,可以去网上找一下这些模块然后下载下来再安装
作者: jiujin    时间: 2009-8-20 14:30
记错了,应该用这样的命令
ppm> rep add Bugzilla http://landfill.bugzilla.org/ppm  回车
ppm> install GD 回车
类似与这样的
作者: zuiaixiaohu    时间: 2009-8-20 16:47
好似不是吧,只要是Checking perl modules ...下那些装上不就可以了么
作者: chehvyin    时间: 2009-12-25 17:06
我也遇到同样的问题了,请问搂主解决了吗?




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2