Hi Keith,<br>Please find the comments inlined.<br><br><div class="gmail_quote">On Tue, Dec 30, 2008 at 11:38 AM, Keith Freedman <span dir="ltr">&lt;<a href="mailto:freedman@freeformit.com">freedman@freeformit.com</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;">is there documentation for the apache mod?<br>
or a sample of how to configure it in httpd.conf?</blockquote><div><br>Documentation can be found in mod_glusterfs/apache/1.3/src/README.txt. We will be updating the documentation for 2.2 shortly, though there is not much difference in installation procedure b/w 1.3 and 2.2.<br>
<br>&#39;make install&#39; does not install the mod_glusterfs.so into apache modules directory. Instead it prints the apxs command along with its arguments on the screen. All you need to do is to copy the command and execute it.<br>
<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<br>
also, make install doesn&#39;t install it to the apache directory, which<br>
I suppose is fine, but I had to search for the thing which, for a<br>
lazy person such as myself, is undesirable :)<br>
<div><div></div><div class="Wj3C7c"><br>
At 10:59 PM 12/29/2008, Harshavardhana Ranganath wrote:<br>
&gt;Hi Stas,<br>
&gt;<br>
&gt; &nbsp; &nbsp; mod_glusterfs is for checking for apache module build directly<br>
&gt;with glusterfs build. But there is no lighttpd support at the moment<br>
&gt;at the configure level.<br>
&gt;<br>
&gt;Regards<br>
&gt;On 12/30/08, Stas Oskin &lt;<a href="mailto:stas.oskin@gmail.com">stas.oskin@gmail.com</a>&gt; wrote:<br>
&gt; &gt; Hi.<br>
&gt; &gt;<br>
&gt; &gt; Yes, this is clear to me, as I built lighttpd modules in the past.<br>
&gt; &gt;<br>
&gt; &gt; What I&#39;m asking about, is what the &quot;mod_glusterfs&quot; option means<br>
&gt; in configure<br>
&gt; &gt; script?<br>
&gt; &gt;<br>
&gt; &gt; Regards.<br>
&gt; &gt;<br>
&gt; &gt; 2008/12/29 Harshavardhana Ranganath &lt;<a href="mailto:harsha@zresearch.com">harsha@zresearch.com</a>&gt;<br>
&gt; &gt;<br>
&gt; &gt;&gt; Hi Stas,<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; &nbsp; &nbsp;Seperately means not even through the configure script. You need to<br>
&gt; &gt;&gt; copy<br>
&gt; &gt;&gt; the lighttpd files from glusterfs directory and copy it to actual lighttpd<br>
&gt; &gt;&gt; source directory<br>
&gt; &gt;&gt; and patch its Makefile using the *.diff provided under lighttpd directory<br>
&gt; &gt;&gt; from glusterfs<br>
&gt; &gt;&gt; Only then you will be able to build lighttpd glusterfs module.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Regards<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; On Mon, Dec 29, 2008 at 3:54 PM, Stas Oskin &lt;<a href="mailto:stas.oskin@gmail.com">stas.oskin@gmail.com</a>&gt; wrote:<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;&gt; Hi.<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; If the lighttpd module needs to be compiled separately, what the the<br>
&gt; &gt;&gt;&gt; lighttpd config option does in the ./configure script?<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; Regards.<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; 2008/12/29 Harshavardhana Ranganath &lt;<a href="mailto:harsha@zresearch.com">harsha@zresearch.com</a>&gt;<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; Hi Stas,<br>
&gt; &gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt; &nbsp; &nbsp; Right now there are no such ways, you need to read the README inside<br>
&gt; &gt;&gt;&gt;&gt; the glusterfs lighttpd directory and copy the source files to lighttpd<br>
&gt; &gt;&gt;&gt;&gt; source directory and patch the Makefile using the diff provided and<br>
&gt; &gt;&gt;&gt;&gt; compile.<br>
&gt; &gt;&gt;&gt;&gt; Apart from that you can build RPMS for glusterfs and get it installed as<br>
&gt; &gt;&gt;&gt;&gt; stated earlier . Also you need glusterfs rpms installed for lighttpd<br>
&gt; &gt;&gt;&gt;&gt; module<br>
&gt; &gt;&gt;&gt;&gt; of glusterfs to work as it depends on &quot;libglusterfsclient&quot;<br>
&gt; &gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt; Regards<br>
&gt; &gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt; On Sun, Dec 28, 2008 at 2:41 AM, Stas Oskin &lt;<a href="mailto:stas.oskin@gmail.com">stas.oskin@gmail.com</a>&gt;wrote:<br>
&gt; &gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt; Hi.<br>
&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt; I&#39;m just building my own copy of GlusterFS 1.4.0rc7 RPM. Anyone knows<br>
&gt; &gt;&gt;&gt;&gt;&gt; of<br>
&gt; &gt;&gt;&gt;&gt;&gt; a way to build the mod_glusterfs for Lighttpd via RPM?<br>
&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt; Regards.<br>
&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt; 2008/12/21 Harshavardhana Ranganath &lt;<a href="mailto:harsha@zresearch.com">harsha@zresearch.com</a>&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt; &nbsp;rpmbuild -ta glusterfs-1.4.0rc6.tar.gz --without modglfs<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt; should work for you. Let us know if you get any issue.<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt; On Sun, Dec 21, 2008 at 1:14 AM, Matt Lawrence &lt;<a href="mailto:matt.lawrence@tamu.edu">matt.lawrence@tamu.edu</a><br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt; &gt; wrote:<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; Harshavardhana Ranganath wrote:<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; * Replies inline *<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; On Sun, Dec 21, 2008 at 1:05 AM, Matt Lawrence &lt;<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; <a href="mailto:matt.lawrence@tamu.edu">matt.lawrence@tamu.edu</a> &lt;mailto:<a href="mailto:matt.lawrence@tamu.edu">matt.lawrence@tamu.edu</a>&gt;&gt; wrote:<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &nbsp; &nbsp;Matt Lawrence wrote:<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &nbsp; &nbsp;&gt; I am trying to build the latest release candidate and have run<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &nbsp; &nbsp;into a<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &nbsp; &nbsp;&gt; bit of a problem.<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &nbsp; &nbsp;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &nbsp; &nbsp;&gt; When I run ./configure, I get:<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &nbsp; &nbsp;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &nbsp; &nbsp;&gt; GlusterFS configure summary<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &nbsp; &nbsp;&gt; ===========================<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &nbsp; &nbsp;&gt; FUSE client &nbsp; &nbsp; &nbsp; &nbsp;: no<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &nbsp; &nbsp;&gt; Infiniband verbs &nbsp; : no<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &nbsp; &nbsp;&gt; epoll IO multiplex : yes<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &nbsp; &nbsp;&gt; Berkeley-DB &nbsp; &nbsp; &nbsp; &nbsp;: no<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &nbsp; &nbsp;&gt; libglusterfsclient : yes<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &nbsp; &nbsp;&gt; mod_glusterfs &nbsp; &nbsp; &nbsp;: no ()<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &nbsp; &nbsp;&gt; argp-standalone &nbsp; &nbsp;: no<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &nbsp; &nbsp;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &nbsp; &nbsp;I&#39;m answering my own question. &nbsp;In my case, the solution was to<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; run<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &nbsp; &nbsp;&quot;rpmbuild -ta glusterfs-1.4.0rc6.tar.gz&quot;, install packages to<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; satisfy<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &nbsp; &nbsp;dependencies and then run &quot;rpmbuild -ta glusterfs-1.4.0rc6.tar.gz<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &nbsp; &nbsp;--without apxs_default&quot;.<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &nbsp; &nbsp;Minor problem when I went to install:<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &nbsp; &nbsp;-bash-3.2# rpm -U /usr/src/redhat/RPMS/x86_64/glusterfs-*rpm<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &nbsp; &nbsp;/var/tmp/rpm-tmp.71291: line 2: /apxs: No such file or directory<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &nbsp; &nbsp;error: %post(glusterfs-1.4.0rc6-1.x86_64) scriptlet failed, exit<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &nbsp; &nbsp;status 127<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &nbsp;rpmbuild &quot;--without apxs_default&quot; needs to be used in conjunction<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; with &quot;--define apxs_path /usr/local/apache&quot;<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; if you have &quot;apxs&quot; installed in standard path then such an option is<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; not required. Also look inside glusterfs.spec file inside tarball<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; for more<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; information on glusterfs specific rpmbuild command line parameters<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; I looked in the spec file, but I&#39;m a novice at them. &nbsp;How do I build<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; a<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; glusterfs rpm without any apache support?<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; -- Matt<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt; --<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt; Harshavardhana<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt; [y4m4 on #<a href="mailto:gluster@irc.freenode.net">gluster@irc.freenode.net</a>]<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt; &quot;Samudaya TantraShilpi&quot;<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt; Z Research Inc - <a href="http://www.zresearch.com" target="_blank">http://www.zresearch.com</a><br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt; _______________________________________________<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt; Gluster-users mailing list<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt; <a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt; <a href="http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users" target="_blank">http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users</a><br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt; --<br>
&gt; &gt;&gt;&gt;&gt; Harshavardhana<br>
&gt; &gt;&gt;&gt;&gt; [y4m4 on #<a href="mailto:gluster@irc.freenode.net">gluster@irc.freenode.net</a>]<br>
&gt; &gt;&gt;&gt;&gt; &quot;Samudaya TantraShilpi&quot;<br>
&gt; &gt;&gt;&gt;&gt; Z Research Inc - <a href="http://www.zresearch.com" target="_blank">http://www.zresearch.com</a><br>
&gt; &gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; --<br>
&gt; &gt;&gt; Harshavardhana<br>
&gt; &gt;&gt; [y4m4 on #<a href="mailto:gluster@irc.freenode.net">gluster@irc.freenode.net</a>]<br>
&gt; &gt;&gt; &quot;Samudaya TantraShilpi&quot;<br>
&gt; &gt;&gt; Z Research Inc - <a href="http://www.zresearch.com" target="_blank">http://www.zresearch.com</a><br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt;<br>
&gt;--<br>
&gt;Harshavardhana<br>
&gt;[y4m4 on #<a href="mailto:gluster@irc.freenode.net">gluster@irc.freenode.net</a>]<br>
&gt;&quot;Samudaya TantraShilpi&quot;<br>
&gt;Z Research Inc - <a href="http://www.zresearch.com" target="_blank">http://www.zresearch.com</a><br>
&gt;<br>
&gt;_______________________________________________<br>
&gt;Gluster-users mailing list<br>
&gt;<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
&gt;<a href="http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users" target="_blank">http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users</a><br>
<br>
<br>
_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users" target="_blank">http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Raghavendra G<br><br>