zuiaixiaohu 发表于 2009-8-20 11:51:46

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::Dumper (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::Parser (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::Plugin::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::Parser (v3.40)   ok: found v3.59
Checking forHTML::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::Plugin::GD: /usr/bin/perl -MCPAN -e 'install "Template::Plugin::GD"'

If you want to see pretty HTML views of patches, you should install the
PatchReader module:
PatchReader: /usr/bin/perl -MCPAN -e 'install "PatchReader"'
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::Dumper (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::Parser (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::Plugin::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::Parser (v3.40)   ok: found v3.59
Checking forHTML::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::Plugin::GD: /usr/bin/perl -MCPAN -e 'install "Template::Plugin::GD"'

If you want to see pretty HTML views of patches, you should install the
PatchReader module:
PatchReader: /usr/bin/perl -MCPAN -e 'install "PatchReader"'
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:56

有一些模块没有安装上,手动安装一下就好了
安装的方式就是提示信息里面了:
/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:38

记错了,应该用这样的命令
ppm> rep add Bugzilla http://landfill.bugzilla.org/ppm回车
ppm> install GD 回车
类似与这样的

zuiaixiaohu 发表于 2009-8-20 16:47:22

好似不是吧,只要是Checking perl modules ...下那些装上不就可以了么

chehvyin 发表于 2009-12-25 17:06:10

我也遇到同样的问题了,请问搂主解决了吗?
页: [1]
查看完整版本: bugzilla问题,在线等