kan*_*and 6 apache perl apache2 mod-perl mod-perl2
我正试图用perl安装apache.我按照位于此处的mod_perl站点上的说明进行操作:http://perl.apache.org/docs/2.0/user/install/install.html
我得到它要求我运行此命令的部分,但我得到一个错误:
$ 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
Run Code Online (Sandbox Code Playgroud)
我运行了他们建议安装apache的命令来安装我的apache:
$ ./configure --prefix=$HOME/httpd/prefork --with-mpm=prefork
$ make && make install
Run Code Online (Sandbox Code Playgroud)
但是我不确定这个apr-config应该在哪里,因为它似乎不在我的apache2文件夹中.
如果它可能是一个问题,我使用的是Mac OS X 10.7.3.我知道Mac OS X附带了一个apache服务器,但是我需要在不同的计算机上安装这个,所以我必须在我的计算机上从头开始安装.
提前感谢您提供的任何帮助.
当mod_perl 2.0.8出来时,我希望它最终获得httpd 2.4支持,因为当前的版本肯定没有.
当你修复你的初始问题时,你最终会陷入'conn_rec'而没有名为'remote_ip'的成员.删除httpd 2.4并同时使用2.2.
| 归档时间: |
|
| 查看次数: |
13357 次 |
| 最近记录: |