标签:
官网http://httpd.apache.org/download.cgi下载apache源码包后
/*解包*/ gzip -d httpd-2_x_NN.tar.gz tar -xf httpd-2_x_NN.tar /*编译并安装*/ cd httpd-2_x_NN ./configure --prefix=/usr/local/apache2 make make install
编译apache出现的问题:configure: error: APR not found . Please read the documentation
下载APR包并解包(http://archive.apache.org/dist/apr/)
./configure --prefix=/usr/local/apr make sudo make install
同理解决APR-util not found问题,上面同一连接下载APR-util包并解压
./configure --prefix=/usr/local/apr-util -with- apr=/usr/local/apr/bin/apr-1-config make sudo make install
pcre缺失问题也一样,下载链接(ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/)
标签:
原文地址:http://www.cnblogs.com/qf19910623/p/4914684.html