1、
checking for APR... no configure: error: APR not found. Please read the documentation.
用./configure –help | grep apr 查看帮助。 --with-included-apr Use bundled copies of APR/APR-Util --with-apr=PATH prefix for installed APR or the full path to apr-config --with-apr-util=PATH prefix for installed APU or the full path to
安装APR(Apache Portable Runtime ) 下载:[root@localhost LAMP]# wget
[root@localhost LAMP]# wget#tar -zxvf apr-1.4.2.tar.gz
#cd apr-1.4.2 #./configure #make && make install
2、
checking for APR-util... noconfigure: error: APR-util not found . Please read the documentation.
下载:http://download.chinaunix.net/download/0001000/472.shtml[root@localhost LAMP]# wget
#tar -zxvf apr-util-1.4.1.tar.gz#cd apr-util-1.3.9
#./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr #make && make install3、
./configure仍提示APR-util not found,增加--with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util后出现
configure: error: pcre-config for libpcre not found. PCRE is required and available from#./configure –help | grep pcre
--with-pcre=PATH Use external PCRE library下载:
#unzip -o pcre-8.10.zip #cd pcre-8.10 #./configure --prefix=/usr/local/pcre #make && make install