perl - 安装 bugzilla 时出错 - 您必须安装 Linux::Pid

标签 perl ubuntu apache2 bugzilla

我按照本指南在 apache2 服务器上安装 bugzilla:
http://www.bugzilla.org/docs/4.4/en/html/configuration.html

我安装了所有模块并配置了所有文件。在本节之前一切顺利:
2.2.4.1.2。 Apache httpd™ 与 mod_perl

我需要在 apache2.conf 中添加这些行:

PerlSwitches -w -T

PerlConfigRequire /var/www/html/bugzilla/mod_perl.pl

尝试通过重新启动 apache 来完成所有进程时,出现此错误:
You must install Linux::Pid for Apache::SizeLimit to work on your platform.......

我在网上搜索了解决方案,但找不到任何说明如何安装它或以其他方式解决它..

请帮忙

附言

这是一个异常(exception):

/etc/apache2/apache2.conf 第 95 行的语法错误:
您必须为 Apache::SizeLimit 安装 Linux::Pid 才​​能在您的平台上工作。在/usr/local/lib/perl/5.14.2/Apache/SizeLimit/Core.pm 第 128 行。\nBEGIN 失败 - 编译在/usr/local/lib/perl/5.14.2/Apache/SizeLimit/Core 中止.pm 第 171 行。\n编译在/usr/local/lib/perl/5.14.2/Apache2/SizeLimit.pm 第 48 行失败。\nBEGIN 失败--编译在/usr/local/lib/perl/5.14 中止.2/Apache2/SizeLimit.pm 第 48 行。\n在/var/www/bugzilla-4.4/mod_perl.pl 第 52 行的 require 中编译失败。\nBEGIN 失败--编译在/var/www/bugzilla-4.4/mod_perl 中止.pl 第 52 行。\n在 (eval 2) 第 1 行的 require 中编译失败。\n
操作“configtest”失败。
Apache 错误日志可能包含更多信息。
...失败!

最佳答案

返回 previous page of the instructions ,然后尝试命令

perl install-module.pl Linux::Pid

关于perl - 安装 bugzilla 时出错 - 您必须安装 Linux::Pid,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19209298/

相关文章:

perl - Perl 中的 "1;"是什么意思?

linux - 在 Windows 7 上安装 ubuntu 对其他 Windows 驱动器有影响吗?

apache2 - 如何在本地主机上设置带或不带 www 前缀的子域/域

mono - 安装 mod_mono 可能会卸载 PHP Apache 模块。显然他们不能共存

c++ - 如何为我的 Apache 模块定义自定义配置指令?

ruby - 删除文件中第二个文件中没有匹配项的行的最快方法是什么?

perl - 是否有因子图和积调度的 Perl 实现?

html - 如何在我的 perl 程序中访问其他 perl 程序的变量

linux - 如何通过 svn post-commit hook 运行 svn update

java - 带有 Spark 的 Cassandra:java.io.IOException:无法在 {127.0.0.1:9042} 打开到 Cassandra 的 native 连接::