【发布时间】:2017-11-14 11:49:02
【问题描述】:
尝试在 OpenShift 小型设备上安装 Bugzilla。使用 SSH 到 wget 5.0 tarball,解压缩并运行 checksetup.pl --check-modules 脚本给我这个错误:
Can't locate parent.pm in @INC (INC contains: . lib /var/openshift/[app-id]/app-root
/runtime/repo/libs /var/lib/openshift/[app-id]/perl/perl5lib/lib/perl5 /usr/local/lib64
/perl5 /usr/local/share/perl5 /usr/lib/lib64/perl5/vendor-perl /usr/share/perl5/vendor-perl
/usr/lib64/perl5 usr/share/perl5) at Bugzilla/Constants.pm line 14.
BEGIN failed--compilation aborted at Bugzilla/Constants.pm line 14.
Compilation failed in require at ./checksetup.pl line 27.
BEGIN failed--compilation aborted at ./checksetup.pl line 27.
Line 14 of Bugzilla/Constants.pm: `use parent qw(Exporter);`
Line 27 of ./checksetup.pl: `use Bugzilla::Constants;`
路径中的[app-id] 只是一个随机的十六进制数字字符串,用于识别 OpenShift 应用程序。
所有帮助将不胜感激。提前致谢!
【问题讨论】: