<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></title> 
<link>http://jackxiang.com/index.php</link> 
<description><![CDATA[赢在IT，Playin' with IT,Focus on Killer Application,Marketing Meets Technology.]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></copyright>
<item>
<link>http://jackxiang.com/post//</link>
<title><![CDATA[从源码安装apache2，遇到错误:cannot install libaprutil-1.la]]></title> 
<author>jack &lt;xdy108@126.com&gt;</author>
<category><![CDATA[WEB2.0]]></category>
<pubDate>Mon, 05 Apr 2010 14:33:53 +0000</pubDate> 
<guid>http://jackxiang.com/post//</guid> 
<description>
<![CDATA[ 
	编译：<br/>./configure --prefix=/usr/local/sqlrelay --with-rudiments-prefix=/usr/local/rudiments --with-mysql-prefix=/usr/local/webserver/mysql --with-php-prefix=/usr/local/webserver/php&nbsp;&nbsp;;make ;make install;<br/>出现：<br/>error: cannot install&nbsp;&nbsp; to a directory not ending in<br/><br/>教人学Apache......<br/><br/>用www.apache.org上下载的源码安装apache2，<br/>Redhat AS 4<br/>执行了configure,make后<br/>make install时出错：<br/><br/>/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<br/>libtool: install: error: cannot install `libaprutil-1.la' to a directory not ending in /usr/local/apache22/lib<br/>make[2]: *** [install] Error 1<br/><br/><br/>经过折腾之后找到规律：<br/>./configure <br/>make<br/>make install<br/>顺序不会出错<br/><br/>./configure --prefix=/app/apache<br/>make<br/>make install<br/>顺序就会出错...<br/><br/><br/>分析：<br/>从apache网站上下载的source code，应该不会有如此不能安装到非/usr/local目录的低级错误。<br/>肯定是自己有疏忽，猜测可能是以前安装用过./configure 来直接安装到/usr/local/apache2<br/>导致安装文件已经不太“干净”<br/><br/>解决：<br/>删除source code目录，重新tar -zxvf下载的apache安装包，上面的问题解决。<br/><br/>后来google了下面一句：<br/><br/>If some options do not become active after doing a configure; make; make install, try to do a make clean after configure.<br/>看来make clean也是一个解决方式.... 可叹以前重新编译Linux 内核的时候还用过它...四年不用就忘这么干净。<br/> <br/>受到启发 ，从新解压一份源码，后安装，OK了！
]]>
</description>
</item><item>
<link>http://jackxiang.com/post//#blogcomment</link>
<title><![CDATA[[评论] 从源码安装apache2，遇到错误:cannot install libaprutil-1.la]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://jackxiang.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>