在Apache httpd的-2.4.2安装的mod_perl-2.0.7 [英] Installing mod_perl-2.0.7 on Apache httpd-2.4.2

查看:666
本文介绍了在Apache httpd的-2.4.2安装的mod_perl-2.0.7的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一股真气时间试图获得Apache的用Perl的安装。我下面就设在这里的mod_perl站点上的说明:<一href=\"http://perl.apache.org/docs/2.0/user/install/install.html\">http://perl.apache.org/docs/2.0/user/install/install.html

I am having an infuriating time trying to get an install of apache with perl. I am following the instructions on the mod_perl site located here: http://perl.apache.org/docs/2.0/user/install/install.html

我得到尽可能在它要求我运行此命令的一部分,但我得到一个错误:

I get as far as the part where it asks me to run this command, but I get an error:

$ perl Makefile.PL MP_APXS=/usr/local/httpd/prefork/bin/apxs
Reading Makefile.PL args from @ARGV
   MP_APXS = /usr/local/httpd/prefork/bin/apxs
no conflicting prior mod_perl version found - good.
Configuring Apache/2.4.2 mod_perl/2.0.7 Perl/v5.12.3
[  error] Can't find apr include/ directory,
[  error] use MP_APR_CONFIG=/path/to/apr-config

我跑到他们建议安装的Apache安装我的Apache的命令:

I ran the commands they suggested for installing apache to install my apache:

  $ ./configure --prefix=$HOME/httpd/prefork --with-mpm=prefork
  $ make && make install

但我不知道在哪里这个APR-配置的东西应该是因为它不会出现在我的Apache2文件夹中的任何地方。

But I am not sure where this apr-config thing is supposed to be as it doesn't appear to be anywhere in my apache2 folder.

如果它可能是一个问题,我使用的是Mac OS X 10.7.3。我知道Apache服务器自带的Mac OS X,但我需要这样做安装从地上爬起来在不同的计算机上,所以我要开始这个整体从地面我的电脑上安装了。

If it might be an issue, I am using Mac OS X 10.7.3. I know an apache server comes with Mac OS X, but I need to do this install on a different computer from the ground up, so I have to start this whole install from the ground up on my computer.

由于时间提前任何帮助,您可以提供。

Thanks ahead of time for any help you can provide.

推荐答案

在mod_perl的2.0.8出来的时候,我希望它得到最后的httpd 2.4的支持,因为目前的版本肯定没有。

When mod_perl 2.0.8 comes out, I hope that it gets finally httpd 2.4 support, because the current versions surely don't have.

当您解决您最初的问题,你最终会得到停留在'conn_rec没有名为成员remote_ip。删除的httpd 2.4和2.2使用与此同时。

When you fix your initial problems, you will eventually get stuck at ‘conn_rec’ has no member named ‘remote_ip’. Delete httpd 2.4 and use 2.2 meanwhile.

这篇关于在Apache httpd的-2.4.2安装的mod_perl-2.0.7的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆