700字范文,内容丰富有趣,生活中的好帮手!
700字范文 > Linux解决编译Apache出现的问题:configure: error: APR not found

Linux解决编译Apache出现的问题:configure: error: APR not found

时间:2019-09-05 00:52:33

相关推荐

Linux解决编译Apache出现的问题:configure: error: APR not found

问题

#./configure --prefix……检查编辑环境时出现:checking for APR... noconfigure: error: APR not found . Please read the documentation

方法

1.下载所需软件包:

wget/dist/apr/apr-1.4.5.tar.gz wget/dist/apr/apr-util-1.3.12.tar.gz wgethttp://jaist./project/pcre/pcre/8.10/pcre-8.10.zip

a:解决apr not found问题>>>>>>

[root@xttest]#tar-zxfapr-1.4.5.tar.gz [root@xttest]#cdapr-1.4.5 [root@xtapr-1.4.5]#./configure--prefix=/usr/local/apr [root@xtapr-1.4.5]#make&&makeinstall

b:解决APR-util not found问题>>>>

[root@xttest]#tar-zxfapr-util-1.3.12.tar.gz [root@xttest]#cdapr-util-1.3.12 [root@xtapr-util-1.3.12]#./configure--prefix=/usr/local/apr-util-with-apr=/usr/local/apr/bin/apr-1-config [root@xtapr-util-1.3.12]#make&&makeinstall

c:解决pcre问题>>>>>>>>>

[root@xttest]#unzip-opcre-8.10.zip [root@xttest]#cdpcre-8.10 [root@xtpcre-8.10]#./configure--prefix=/usr/local/pcre [root@xtpcre-8.10]#make&&makeinstall

2.apache然后可以顺利编译了

[root@localhost httpd-2.4.43]# ./configure --prefix=/usr/local/apache \> --with-apr=/usr/local/apr \> --with-apr-util=/usr/local/apr-util/ \> --with-pcre=/usr/local/pcre

/wajika/p/6428659.html?utm_source=itdadao&utm_medium=referral

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。