我正在尝试让TWIKI工作(虚拟服务器Hosteurope ..PLESK 11 CentOS 6)。当我运行配置脚本时,出现以下错误:
[root@lvpsx.x.x.x bin]# ./configure
Failed to load the perl module FindBin. The module was found at /usr/share/perl5/FindBin.pm
Please ensure that:
1 FindBin is installed,
2 that the module is available on the @INC path,
3 that the webserver user (root) has permission to read the FindBin.pm file.
The detailed error seen was:
Subroutine export_fail redefined at /usr/share/perl5/Carp.pm line 25.
Compilation failed in require at /usr/share/perl5/FindBin.pm line 95.
BEGIN failed--compilation aborted at /usr/share/perl5/FindBin.pm line 95.
Compilation failed in require at (eval 3) line 2.
BEGIN failed--compilation aborted at (eval 3) line 2.我对shell的用法知之甚少,使用Perl的经验要少得多。
我以root用户身份运行配置脚本。据我所知,Apache也是以root用户身份运行的(Plesk11)。FindBin.pm位于指定目录中,我已经尝试将其设置为777。
发布于 2013-03-31 12:58:42
尝试安装VMS::Filespec,这似乎是FindBin尝试需要的模块。
在shell上:
cpanm VMS::Filespec
如果这不起作用(命令失败),请先尝试:
cpan App::cpanminus
...and然后再次尝试第一个命令。
HTH
弗朗西斯科
https://stackoverflow.com/questions/15723734
复制相似问题