<?xml version="1.0"?>
<rss version="2.0">
<channel>
  <title>Samuraism - apache tag</title>
  <link>http://yusuke.homeip.net/blog/tags/apache/</link>
  <description></description>
  <language>en</language>
  <copyright>Yusuke Yamamoto</copyright>
  <lastBuildDate>Tue, 22 Sep 2009 16:44:00 GMT</lastBuildDate>
  <generator>Pebble (http://pebble.sourceforge.net)</generator>
  <docs>http://backend.userland.com/rss</docs>
  
  
  <item>
    <title>Installing Apache 2.0.63</title>
    <link>http://yusuke.homeip.net/blog/2008/09/09/installing_apache_2_0_63.html</link>
    
      
        <description>
          &lt;p&gt;I&#039;ve just updated my Apache 2.0 instance on my server.
Keep in mind that it&#039;s always a good idea to keep your web server, JVM and JBoss versions up-to-date although I skipped Apache from 2.0.60 to 2.0.62.
The version is now 2.0.63.&lt;/p&gt;

&lt;p&gt;Here is a note for my future reference.&lt;/p&gt;
&lt;p&gt;My configure options are as follows:
&lt;pre class=&#034;codeSample&#034;&gt;$./configure --prefix=${installdir}/apache2 --enable-deflate --enable-proxy --enable-proxy-http --enable-so --enable-shared=yes --enable-rewrite --enable-dav=yes --enable-ssl=static --with-mpm=worker --with-berkeley-db=${installdir}/db4.4  --enable-headers&lt;/pre&gt;
now let&#039;s make it,
&lt;pre class=&#034;codeSample&#034;&gt;$ make
.
.
.
sendrecv.c:965:2: error: #error APR has detected sendfile on your system, but nobody has written a
sendrecv.c:966:2: error: #error version of it for APR yet. To get past this, either write apr_sendfile
sendrecv.c:967:2: error: #error or change APR_HAS_SENDFILE in apr.h to 0.&lt;/pre&gt;
From certain version of Mac OSX(probably from the Leopard release), I&#039;m getting the APR(Apache Portable Runtime) related error.
Though I don&#039;t understand the exact meaning of the error, I know the solution.
It&#039;s as simple as just modifying the APR_HAVE_SYS_SENDFILE_H in ./srclib/apr/include/apr.h from 1 to 0.
&lt;pre class=&#034;codeSample&#034;&gt;-#define APR_HAVE_SYS_SENDFILE_H  1
+#define APR_HAVE_SYS_SENDFILE_H  0&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;
After that, make; make install finished without any problem.
&lt;pre class=&#034;codeSample&#034;&gt;$ make clean
$ make
$ make install&lt;/pre&gt;&lt;/p&gt;
        </description>
      
      
    
    
    
    <comments>http://yusuke.homeip.net/blog/2008/09/09/installing_apache_2_0_63.html#comments</comments>
    <guid isPermaLink="true">http://yusuke.homeip.net/blog/2008/09/09/installing_apache_2_0_63.html</guid>
    <pubDate>Mon, 08 Sep 2008 17:43:00 GMT</pubDate>
  </item>
  
  </channel>
</rss>
