这错是因为安装bugzilla时,运行命令perl checksetup.pl 无法自动生成localconfig文件。只需将“\Bugzilla\Bugzilla\Install\Requirements.pm”文件中的下面代码进行修改:
my $found_string;
#We do a string compare in case it's non-numeric.
if ($found and $found eq "-1") {
$found_string = install_string('module_not_found');
}
elseif ($found) {
$found_string = install_string('module_found', { ver => $found });
}
else {
$found_string = install_string('module_unknown_version');
}
改成:
my $found_string;
# We do a string compare in case it's non-numeric.
#if ($found and $found eq "-1") {
# $found_string = install_string('module_not_found');
#}
if ($found) {
$found_string = install_string('module_found', { ver => $found });
}
else {
$found_string = install_string('module_unknown_version');
}