标签:source error download local requested
在2.2之前版本在编译安装Apache的时候不需要直接编译 --with-included-apr这个就可以了,但是在2.4的版本时候会报错
configure: error: Bundled APR requested but not found at ./srclib/. Download and unpack the corresponding apr and apr-util packages to ./srclib/. 它的意思是说:需要下载apr和apr-utils并解压到 ./srclib/ 目录下, 再进行编译。 view source? cd /usr/local/src #源码包统一放到此目录 wget -c http://apache.etoak.com/apr/apr-util-1.4.1.tar.gz wget -c http://apache.etoak.com/apr/apr-1.4.6.tar.gz tar -xzvf ./apr-1.4.6.tar.gz tar -xzvf ./apr-utli-1.4.1.tar.gz cp -rf ./apr-1.4.6 ./httpd-2.4.6/srclib/apr cp -rf ./apr-util-1.4.6 ./httpd-2.4.6/srclib/apr-util
configure: error: in `/usr/local/src/httpd-2.4.18/srclib/apr‘: configure: error: no acceptable C compiler found in $PATH #解决办法: yum install -y gcc
checking for pcre-config... false configure: error: pcre-config for libpcre not found. PCRE is required and available from yum install pcre pcre-devel -y #devel是开发版本的意思
标签:source error download local requested
原文地址:http://frankch.blog.51cto.com/10836181/1755472