CPAN Authen简单LDAP HTTP错误

时间:2013-03-15 19:45:59

标签: perl apache

我使用CPAN安装了LDAP.pm:

install Authen::Simple::LDAP

我尝试使用以下命令在Apache中加载模块:

PerlLoadModule Authen::Simple::LDAP

每当我尝试启动服务器时,都会收到错误消息:

Syntax error on line 285 of /etc/httpd/conf/httpd.conf:
Attempt to reload Authen/Simple/LDAP.pm aborted.\nCompilation failed in require at (eval 12) line 3.\n

我的httpd配置文件的第285行:

PerlLoadModule Authen::Simple::LDAP

安装LDAP perl模块有什么问题吗?还有其他方法可以安装此模块吗?我错过了其他任何模块,我怎么知道哪些模块?

其他信息:正在运行

perl -MAuthen::Simple::LDAP -e ''

返回:

Bareword "Params::Validate::SCALAR" not allowed while "strict subs" in use at /usr/local/share/perl5/Authen/Simple/Adapter.pm line 42.
Bareword "Params::Validate::SCALAR" not allowed while "strict subs" in use at /usr/local/share/perl5/Authen/Simple/Adapter.pm line 42.
Compilation failed in require at (eval 2) line 3.
...propagated at /usr/share/perl5/base.pm line 94.
BEGIN failed--compilation aborted at /usr/local/share/perl5/Authen/Simple/LDAP.pm line 5.
Compilation failed in require.
BEGIN failed--compilation aborte

0 个答案:

没有答案