apache-2.4.3源代码安装Q&A[阮胜昌]
1.configure: error: APR not found. Please read the documentation经网上查阅资料才知道这是Apache的关联软件
在apr.apache.org网站上可以下载此软件(apr-1.4.5.tar.gz);
2.编译httpd出错 cannot find libapr-1.la
编译 httpd-2.2.15
./configure 命令执行无错。执行make命令时出错。。
如果你知道如何解决,请告诉我。请不要顾左右而言他。
编译参数:
./configure --prefix=/usr/local/httpd \
--enable-modules=rewrite expires cache file-cache disk-cache mem=-cache proxy proxy-connect proxy-ftp proxy-http proxy-ajp proxy-balancer \
--enable-ssl \
--with -apr=/usr/local/apr \
--with-apr-util=/usr/local/apr-util \
--enable-so
错误提示:
libtool:link:warnig:library '/usr/local/aprlib/libapr-1.la' was moved.
libtool:link:cannot find the library '/usr/local/httpd/lib/libapr-1.la' or unhandled argument '/usr/local/httpd/lib/libapr-1.la'
make:***Error 1
make:Leaving directory '/usr/src/httpd-2.2.15/support'
make:*** Error 1
make:Leaving directory '/usr/src/httpd-2.2.15/support'
make:*** Error 1
问题解决。。
这个问题在在编译前加创建好目录就过了,望后来者知
mkdir /usr/local/httpd/lib
cp /usr/local/aprlib/libapr-1.la /usr/local/httpd/lib/
make
done!
页:
[1]