我正在尝试让 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 身份运行(PLESK 11)。
FindBin.pm
位于命名目录中,我已经尝试将其设置为 777。