HTTP安装在libpcre错误 [英] HTTP install, error in libpcre

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

问题描述

当我试图在我的Ubuntu 11.10安装HTTP,我得到了以下错误

When i tried to install http in my ubuntu 11.10, i got the following error

configure: error: APR not found.  Please read the documentation.

然后我跟着的问题[/ 9436860]指示:的Apache httpd的设置和安装

下面我也遇到错误如下:

Here too i got error as follows

configure: error: pcre-config for libpcre not found. PCRE is required and available from http://pcre.org/

我应该怎么做。在此先感谢

what should i do now. Thanks in advance

推荐答案

1。从 PCRE.org

2。以preFIX编译并安装它:

2. Compile it with a prefix and install it:

./configure --prefix=/usr/local/pcre
make
make install

3。回去的地方,你的Apache安装和PCRE编译Apache:

3. Go back to where your Apache installation is and compile Apache with PCRE:

--with-pcre=/usr/local/pcre

这篇关于HTTP安装在libpcre错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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