1、解決gdlib-config找不到的問題。
sudo apt-get install libgd2-xpm-dev
**UNRECOVERABLE ERROR**
Could not find gdlib-config in the search path. Please install libgd 2.0.28 or higher.
If you want to try to compile anyway, please rerun this script with the option --ignore_missing_gd.
Warning: No success on command[/usr/bin/perl Makefile.PL INSTALLDIRS=site LIB="/var/www/bugzilla/lib" INSTALLMAN1DIR="/var/www/bugzilla/lib/man/man1" INSTALLMAN3DIR="/var/www/bugzilla/lib/man/man3" INSTALLBIN="/var/www/bugzilla/lib/bin" INSTALLSCRIPT="/var/www/bugzilla/lib/bin" INSTALLDIRS=perl]
LDS/GD-2.52.tar.gz
/usr/bin/perl Makefile.PL INSTALLDIRS=site LIB="/var/www/bugzilla/lib" INSTALLMAN1DIR="/var/www/bugzilla/lib/man/man1" INSTALLMAN3DIR="/var/www/bugzilla/lib/man/man3" INSTALLBIN="/var/www/bugzilla/lib/bin" INSTALLSCRIPT="/var/www/bugzilla/lib/bin" INSTALLDIRS=perl -- NOT OK
Skipping test because of notest pragma
Running make install
Make had some problems, won't install
Could not read metadata file. Falling back to other methods to determine prerequisites
2、在Bugzilla目錄下安裝圖形模塊。
perl install-module.pl GD
perl install-module.pl Chart::Base
perl install-module.pl Template::Plugin::GD::Image
perl install-module.pl Date::Parse
3、重啓Apache服務。
4、參考鏈接: