1、configure: error: pcre-config for libpcre not found. PCRE is required and available from http://pcre.org/
解决:
wget
tar zxvf …..
cd…
./configure –prefix=/usr/local/pcre(配置apache时需要)
make
make install
2、配置apache时出现
configure: error: APR could not be located. Please use the --with-apr option(已经安装了APR)
解决:./configure .....................(后面加上—with-apr=/usr/…/apr –with-apr-util=…/apr-util,安装APR的路径)
3、configure: error: Size of "void *" is less than size of "long"
原因:--with-pcre=/usr/local/pcre/ 去掉