Its only hardcoded as default behaviour, you should be using <br><br>./configure --with-apxspath=/usr/local/bin/apxs2 --with-apachepath=/usr/local/bin/apache2 <br><br>This will override the default behaviour.<br><br>Regards<br>
--<br clear="all">Harshavardhana<br>&quot;Yantra Shilpi&quot;<br>Z Research Inc - <a href="http://www.zresearch.com">http://www.zresearch.com</a><br><br>
<br><br><div class="gmail_quote">On Wed, Mar 11, 2009 at 1:24 PM, Ivan Dimitrov <span dir="ltr">&lt;<a href="mailto:dobber@amln.net">dobber@amln.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Thanks<br>
I tried that but every time I saw &quot;checking for apxs... no&quot; I would ctrl+c the process. Now I waited until it finished and it seems to be completed fine:<div class="im"><br>
mod_glusterfs : yes (2.2)<br>
<br>
<br></div>
Also, I&#39;ve been digging through the configure file and I still don&#39;t understand it very well, but I have a question.<br>
<br>
MOD_GLUSTERFS_HTTPD_VERSION=`$HTTPD_BIN_DIR/httpd -V | head -1 | awk &quot;{print $3}&quot; | sed &#39;s/[^0-9.]//g&#39; | sed &#39;s/\(.*\..*\)\..*/\1/&#39;`<br>
Does this line have to be hardcoded (httpd -V) like that?<br>
<br>
Harshavardhana ÎÁÐÉÓÁ:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">
Hi Ivan,<br>
<br>
--with-apxspath Path to apxs binary<br>
--with-apachepath Path to apache binary<br>
<br>
You can use following options at the configure level to specify the apxs and apache binary directly.<br>
<br>
Regards<br>
--<br>
Harshavardhana<br>
&quot;Yantra Shilpi&quot;<br>
Z Research Inc - <a href="http://www.zresearch.com" target="_blank">http://www.zresearch.com</a><br>
<br>
<br>
<br></div><div><div></div><div class="h5">
On Tue, Mar 10, 2009 at 3:08 PM, Ivan Dimitrov &lt;<a href="mailto:dobber@amln.net" target="_blank">dobber@amln.net</a> &lt;mailto:<a href="mailto:dobber@amln.net" target="_blank">dobber@amln.net</a>&gt;&gt; wrote:<br>
<br>
 š šHello list, this is my first time writing here<br>
<br>
 š šI&#39;ve been trying to compile mod_glusterfs 2.0.0.rc4 for debian<br>
 š šlenny with apache2.2 from debian package.<br>
 š šI&#39;ve got the following debian packages installed:<br>
 š šapache2-mpm-prefork<br>
 š šapache2-prefork-dev<br>
 š šapache2-utils<br>
 š šapache2.2-common<br>
<br>
 š š./configure --enable-mod_glusterfs --with-apxs=/usr/bin/<br>
 š š...................................<br>
 š šchecking for apxs... no<br>
 š šapxs is required to build mod_glusterfs. Use --with-apxs to<br>
 š šspecify path to apxs. If mod_glusterfs is not required, do not<br>
 š špass --enable-mod_glusterfs option to configure<br>
 š š...................................<br>
<br>
 š šDebian puts apxs in &quot;/usr/bin/apxs2&quot; and &quot;--with-apxs=/usr/bin/&quot;<br>
 š šdoes not discover it. I had to make a symlink /usr/bin/apxs -&gt;<br>
 š š/usr/bin/apxs2 in order to make configure recognize it.<br>
 š šFor apache1.3 deb package puts the apxs in the same place<br>
 š š/usr/bin/apxs. I suggest to make this option a full path to the<br>
 š šbinary in order to support multiple apache installations residing<br>
 š šin one directory (apache1, apache2, some-custom-apache)<br>
<br>
<br>
 š š./configure --enable-mod_glusterfs --with-apxs=/usr/bin/<br>
 š š.............................<br>
 š šchecking for apxs... apxs<br>
 š š./configure: line 20804: /usr/sbin/httpd: No such file or directory<br>
 š š...............................<br>
 š šAt this point the configure completed<br>
 š šmod_glusterfs : yes ()<br>
<br>
 š šBy default, Debian&#39;s httpd binary is in &quot;/usr/sbin/apache2&quot;, so I<br>
 š šmake a symlink again and configure again. For apache1.3 the binary<br>
 š šis called &quot;/usr/sbin/apache&quot;<br>
 š šchecking for apxs... apxs<br>
<br>
 š šmod_glusterfs : yes (2.2)<br>
<br>
<br>
 š šUnfortunately I&#39;m not very experienced with configure to make a<br>
 š špatch for it..<br>
<br>
<br>
<br>
 š š_______________________________________________<br>
 š šGluster-devel mailing list<br></div></div>
 š š<a href="mailto:Gluster-devel@nongnu.org" target="_blank">Gluster-devel@nongnu.org</a> &lt;mailto:<a href="mailto:Gluster-devel@nongnu.org" target="_blank">Gluster-devel@nongnu.org</a>&gt;<div class="im"><br>
 š š<a href="http://lists.nongnu.org/mailman/listinfo/gluster-devel" target="_blank">http://lists.nongnu.org/mailman/listinfo/gluster-devel</a><br>
<br>
<br>
</div></blockquote><div><div></div><div class="h5">
<br>
<br>
<br>
_______________________________________________<br>
Gluster-devel mailing list<br>
<a href="mailto:Gluster-devel@nongnu.org" target="_blank">Gluster-devel@nongnu.org</a><br>
<a href="http://lists.nongnu.org/mailman/listinfo/gluster-devel" target="_blank">http://lists.nongnu.org/mailman/listinfo/gluster-devel</a><br>
</div></div></blockquote></div><br>