99麻豆久久久国产免费福利精品,国产精品成人国产乱,玖玖操,手机看片169,国产精彩视频在线观看,午夜亚洲福利视频,国产伦乱视频

龍巖易富通網(wǎng)絡(luò )科技有限公司

龍巖小程序開(kāi)發(fā),龍巖分銷(xiāo)系統

解決編譯Apache出現的問(wèn)題:configure: error: APR not found . Please read the documentation

2017.02.18 | 2044閱讀 | 0條評論 | 服務(wù)器配置

#./configure --prefix……檢查編輯環(huán)境時(shí)出現:


checking for APR... no

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


解決辦法:


1.下載所需軟件包:


wget http://archive.apache.org/dist/apr/apr-1.4.5.tar.gz  

wget http://archive.apache.org/dist/apr/apr-util-1.3.12.tar.gz  

wget http://jaist.dl.sourceforge.net/project/pcre/pcre/8.10/pcre-8.10.zip   


2.編譯安裝:


yum remove apr-util-devel apr apr-util-mysql apr-docs apr-devel apr-util apr-util-docs 

具體步驟如下:


a:解決apr not found問(wèn)題>>>>>>


[root@xt test]# tar -zxf apr-1.4.5.tar.gz  

[root@xt test]# cd  apr-1.4.5  

[root@xt apr-1.4.5]# ./configure --prefix=/usr/local/apr  

[root@xt apr-1.4.5]# make && make install  

 

b:解決APR-util not found問(wèn)題>>>>


[root@xt test]# tar -zxf apr-util-1.3.12.tar.gz  

[root@xt test]# cd apr-util-1.3.12  

[root@xt apr-util-1.3.12]# ./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr/bin/apr-1-config  

[root@xt apr-util-1.3.12]# make && make install 


c:解決pcre問(wèn)題>>>>>>>>>


[root@xt test]#unzip -o pcre-8.10.zip  

[root@xt test]#cd pcre-8.10  

[root@xt pcre-8.10]#./configure --prefix=/usr/local/pcre  

[root@xt pcre-8.10]#make && make install 


3.最后編譯Apache時(shí)加上:


--with-apr=/usr/local/apr \


--with-apr-util=/usr/local/apr-util/ \


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


成功編譯完成~


贊 (

發(fā)表評論

海晏县| 琼结县| 金阳县| 铁岭县| 余姚市| 通榆县| 苍溪县| 英吉沙县| 巢湖市| 昭平县| 祥云县| 襄樊市| 剑阁县| 渝北区| 富宁县| 宁陕县| 高邑县| 咸宁市| 商洛市| 吉木乃县| 山阴县| 东阿县| 莱州市| 甘洛县| 石城县| 洛宁县| 沁源县| 长沙县| 台前县| 大连市| 隆化县| 普安县| 巴林左旗| 吉安县| 苏尼特右旗| 彩票| 喀喇沁旗| 宿迁市| 宁武县| 扎囊县| 自贡市|