运行bugzilla查看命令
perl ./checksetup.pl
的时候 报错:
Can't locate version.pm in @INC (@INC contains: . lib /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at Bugzilla/Install/Requirements.pm line 17.
BEGIN failed--compilation aborted at Bugzilla/Install/Requirements.pm line 17.
Compilation failed in require at ./checksetup.pl line 25.
BEGIN failed--compilation aborted at ./checksetup.pl line 25.
问题原因缺少perl的一些包,需要补充安装:
yum install perl-ExtUtils-CBuilder perl-ExtUtils-MakeMaker -y
yum install perl-ExtUtils-Embed -y
perl 进入下载模式:
sudo perl -MCPAN -e shell安装perl包可能出现环境信息不全的报错 此时安装这些包
libpq-devpostgresqllibdbd-pg-perl
perl-DBD-Pglibpq-dev
在尝试运行Bugzilla的checksetup.pl脚本时遇到Can't locate version.pm错误,这表明Perl环境中缺少必要模块。解决方案是通过Perl的包管理器安装缺失的依赖,如version.pm。确保所有必要的Perl包都已安装,以成功运行Bugzilla。
4166

被折叠的 条评论
为什么被折叠?



