我尝试将自定义perl版本从5.10.1升级到5.16.3,现在我的日志中出现以下错误:
[Wed Wed 21 00:05:32 2014] [错误]无法找到unicore / Canonical.pl 在@INC中(@INC包含:/opt/test/perl/lib/5.10.1/i686-linux /opt/test/perl/lib/5.10.1 /opt/test/perl/lib/site_perl/5.10.1/i686-linux /opt/test/perl/lib/site_perl/5.10.1。 / opt / test / httpd)at /opt/test/perl/lib/5.10.1/utf8_heavy.pl第139行。\ n
有人可以帮我解决一下吗?
答案 0 :(得分:0)
尝试使用cpan重新安装缺少的模块。
"升级"可能在你的系统上创建了第二个并行的Perl安装...
然后你删除了旧的'版?
答案 1 :(得分:0)
按照以下命令:
1 /使用yum install cpan
或apt-get install cpan
2 /在命令提示符下输入:cpan install unicore:Canonical