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 clear="all">Harshavardhana<br>"Yantra Shilpi"<br>Z Research Inc - <a href="http://www.zresearch.com">http://www.zresearch.com</a><br><br>
<br><br><div class="gmail_quote">On Tue, Mar 10, 2009 at 3:08 PM, Ivan Dimitrov <span dir="ltr"><<a href="mailto:dobber@amln.net">dobber@amln.net</a>></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;">
Hello list, this is my first time writing here<br>
<br>
I've been trying to compile mod_glusterfs 2.0.0.rc4 for debian lenny with apache2.2 from debian package.<br>
I'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 specify path to apxs. If mod_glusterfs is not required, do not pass --enable-mod_glusterfs option to configure<br>
...................................<br>
<br>
Debian puts apxs in "/usr/bin/apxs2" and "--with-apxs=/usr/bin/" does not discover it. I had to make a symlink /usr/bin/apxs -> /usr/bin/apxs2 in order to make configure recognize it.<br>
For apache1.3 deb package puts the apxs in the same place /usr/bin/apxs. I suggest to make this option a full path to the binary in order to support multiple apache installations residing 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's httpd binary is in "/usr/sbin/apache2", so I make a symlink again and configure again. For apache1.3 the binary is called "/usr/sbin/apache"<br>
checking for apxs... apxs<br>
<br>
mod_glusterfs : yes (2.2)<br>
<br>
<br>
Unfortunately I'm not very experienced with configure to make a patch for it..<br>
<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>
</blockquote></div><br>