小明博客 > 文档中心 >
Apache安装问题:configure: error: APR not found . Please read the
文章来源:惜筠 时间:2025-03-28
Linux上安置Apache时,编译呈现缺陷:
checkingforAPR...noconfigure:error:APRnotfound.Pleasereadthedocumentation安设APR,停载所需硬件包,假设此时盘算机能够上彀,施行饬令停载文献:
wgethttp://archive.apache.org/dist/apr/apr-1.4.5.tar.gzwgethttp://archive.apache.org/dist/apr/apr-util-1.3.12.tar.gzwgethttp://jaist.dl.sourceforge.net/project/pcre/pcre/8.10/pcre-8.10.zipapr not found题目
tar-zxfapr-1.4.5.tar.gzcdapr-1.4.5./configure--prefix=/usr/local/aprmake&&makeinstallAPR-util not found题目
tar-zxfapr-util-1.3.12.tar.gzcdapr-util-1.3.12./configure--prefix=/usr/local/apr-util-with-apr=/usr/local/apr/bin/apr-1-configmake&&makeinstallpcre题目
unzip-opcre-8.10.zipcdpcre-8.10./configure--prefix=/usr/local/pcremake&&makeinstall末了编译Apache时加入:
--with-apr=/usr/local/apr--with-apr-util=/usr/local/apr-util/--with-pcre=/usr/local/pcre比方:
./configure--prefix=/usr/local/apache2--enable-so--with-apr=/usr/local/apr--with-apr-util=/usr/local/apr-util/--with-pcre=/usr/local/pcre停载apr-1.4.5.tar.gz停载apr-util-1.3.12.tar.gz
停载pcre-8.10.zip
推举您浏览更多相关于“ linuxapache编译apr安置 ”的著作