从源码安装apache2,遇到错误:cannot install `libaprutil-1.la'
2009-06-02 01:03
281 查看
从源码安装apache2,遇到错误:cannot install `libaprutil-1.la'
教人学Apache...... 用http://www.apache.org/上下载的源码安装apache2, Redhat AS 4 执行了configure,make后 make install时出错: /bin/sh /usr/local/httpd-2.2.3/srclib/apr/libtool --mode=install /usr/bin/install -c -m 755 libaprutil-1.la /usr/local/apache2/lib libtool: install: error: cannot install `libaprutil-1.la' to a directory not ending in /usr/local/apache22/lib make[2]: *** [install] Error 1 经过折腾之后找到规律: ./configure make make install 顺序不会出错 ./configure --prefix=/app/apache make make install 顺序就会出错... 分析: 从apache网站上下载的source code,应该不会有如此不能安装到非/usr/local目录的低级错误。 肯定是自己有疏忽,猜测可能是以前安装用过./configure 来直接安装到/usr/local/apache2 导致安装文件已经不太“干净” 解决: 删除source code目录,重新tar -zxvf下载的apache安装包,上面的问题解决。 后来google了下面一句: If some options do not become active after doing a configure; make; make install, try to do a make clean after configure. |
相关文章推荐
- 从源码安装apache2,遇到错误:cannot install `libaprutil-1.la'
- APACHE安装 cannot install libaprutil-1.la to adirectory
- APACHE安装_cannot install `libaprutil-1.la' to a directory
- APACHE安装出现 cannot install `libaprutil-1.la' to a directory解决
- 使用.NET Framework提供的InstallUtil.exe安装Windows服务安装时遇到的2种常见错误
- centOS 源码安装apache2遇到的错误
- 制作mac安装盘 遇到错误 sudo: /Applications/Install OS X Yosemite.app/Contents/Resources/createinstallmedia: c
- 纯源码包安装 lua 的时候遇到的错误和解决办法~~~
- ubuntu13.10 源码安装apache2,php5,mysql 遇到的困难和解决方法
- linux问题记录:源码安装python遇到make: *** [libinstall] Error 1错误
- 《eclipse安装adt插件 提示的常见错误 - Cannot complete the install because one or more required items could not 》
- 纯源码包安装 lua 的时候遇到的错误和解决办法~~~
- keepalived源码安装及编译遇到的错误
- Apache 安装过程中 Cannot use an external APR with the bundled APR-util 错误
- Linux安装apache源码包报错:Cannot use an external APR with the bundled APR-util
- ubuntu apache 源码安装错误 configure: error: C compiler cannot create executables 解决
- 源码安装ruby时 ERROR: Loading command: install (LoadError) cannot load such file -- zlib 解决方法
- matlab安装遇到问题/install/Matlab/bin/util/oscheck.sh: /lib64/libc.so.6: not found
- 安装oracle 10g遇到cannot open shared object file这个错误以及解决方法
- 源码安装Apache,报错:Cannot use an external APR with the bundled APR-util和httpd: Could not reliably determine the server's fully qualified domain name, using