Apache安装; libpcre错误 [英] Apache installation; libpcre error

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

问题描述

在Ubuntu 11.10上安装Apache时,出现以下错误:

When installing Apache on Ubuntu 11.10, I get the following error:

配置:错误:未找到APR.请阅读文档.

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

我按照此处的说明进行操作,然后出现以下错误:

I followed the instructions here, then, I get the error below:

配置:错误:找不到libpcre的pcre-config. PCRE是必需的,可以从 http://pcre.org/

我在做什么错,我该如何解决?

What am I doing wrong and how can I resolve it?

推荐答案

1.从 PCRE.org

2.用前缀编译并安装:

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

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

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