我在 RHEL 5.9 服务器上使用 ActivePerl 5.16。我已经设置了 PATH 变量,以便首先找到 ActivePerl 可执行文件。现在我正在尝试编译 mod_perl.so。但是,该命令perl Makefile.PL MP_APXS=/usr/sbin/apxs
会产生:
I have found ExtUtils::Embed 1.3001 at
/opt/ActivePerl-5.16/lib/ExtUtils/Embed.pm
This is probably not the right one for this perl version. Please make sure
there is only one version of this module installed and that it is the one
that comes with this perl version.
If you insist on using the ExtUtils::Embed as is set the environment
variable MP_USE_MY_EXTUTILS_EMBED=1 and try again.
Details: expecting ExtUtils::Embed 1.30 (according to Module::CoreList)
BEGIN failed--compilation aborted at lib/Apache2/Build.pm line 64.
Compilation failed in require at Makefile.PL line 37.
BEGIN failed--compilation aborted at Makefile.PL line 37.
我对这一切有点困惑......我是一个 Perl 初学者,我只想在我的服务器上启动并运行一些软件(很大程度上基于 Perl)。有什么建议吗?