apr問題

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 )
下載:
http://apr.apache.org/download.cgi

[root@localhost LAMP]# wget http://www.fayea.com/apache-mirror//apr/apr-1.4.6.tar.gz
 [root@localhost LAMP]# wget http://nchc.dl.sourceforge.net/project/pcre/pcre/8.31/pcre-8.31.zip
 

#tar -zxvf apr-1.4.2.tar.gz 

#cd apr-1.4.2
        #./configure
        #make && make install

2、

checking for APR-util... no
configure: error: APR-util not found .  Please read the documentation.


下載:http://download.chinaunix.net/download/0001000/472.shtml

[root@localhost LAMP]# wget http://www.fayea.com/apache-mirror//apr/apr-util-1.4.1.tar.gz


#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 install

3、

./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 http://pcre.org/

#./configure –help | grep pcre
--with-pcre=PATH        Use external PCRE library

下載:http://sourceforge.net/projects/pcre
#unzip -o pcre-8.10.zip
#cd pcre-8.10
#./configure --prefix=/usr/local/pcre
#make && make install

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章