Hi Ramon,<br><br>That looks to be a problem in our <a href="http://configure.ac">configure.ac</a> file which needs to check for the proper apache version. Thanks a lot for reporting will be fixed in <a href="http://configure.ac">configure.ac</a><br>
<br>Regards<br>--<br clear="all">Harshavardhana<br>Z Research Inc <a href="http://www.zresearch.com/">http://www.zresearch.com/</a><br>
<br><br><div class="gmail_quote">On Thu, Jul 9, 2009 at 2:57 PM, Ramon Bastiaans <span dir="ltr">&lt;<a href="mailto:ramon.bastiaans@sara.nl">ramon.bastiaans@sara.nl</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;">
If I don&#39;t hack the .spec file to use --disable-mod_glusterfs for<br>
./configure, I get a build failure.<br>
<br>
This output is from &quot;rpmbuild -ta glusterfs-2.0.3.tar.gz --without<br>
ibverbs --without bdb&quot;<br>
<br>
Here are the last lines of output while building:<br>
<br>
Making all in glusterfsd<br>
make[2]: Entering directory<br>
`/usr/src/redhat/BUILD/glusterfs-2.0.3/glusterfsd&#39;<br>
Making all in src<br>
make[3]: Entering directory<br>
`/usr/src/redhat/BUILD/glusterfs-2.0.3/glusterfsd/src&#39;<br>
if gcc -DHAVE_CONFIG_H -I. -I. -I../..    -fPIC -Wall<br>
-D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DGF_LINUX_HOST_OS<br>
-I../../libglusterfs/src -DDATADIR=\&quot;/var\&quot;<br>
-DCONFDIR=\&quot;/etc/glusterfs\&quot;  -O2 -g -march=i386 -mcpu=i686 -MT<br>
glusterfsd.o -MD -MP -MF &quot;.deps/glusterfsd.Tpo&quot; -c -o glusterfsd.o<br>
glusterfsd.c; \<br>
then mv -f &quot;.deps/glusterfsd.Tpo&quot; &quot;.deps/glusterfsd.Po&quot;; else rm -f<br>
&quot;.deps/glusterfsd.Tpo&quot;; exit 1; fi<br>
if gcc -DHAVE_CONFIG_H -I. -I. -I../..    -fPIC -Wall<br>
-D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DGF_LINUX_HOST_OS<br>
-I../../libglusterfs/src -DDATADIR=\&quot;/var\&quot;<br>
-DCONFDIR=\&quot;/etc/glusterfs\&quot;  -O2 -g -march=i386 -mcpu=i686 -MT<br>
fetch-spec.o -MD -MP -MF &quot;.deps/fetch-spec.Tpo&quot; -c -o fetch-spec.o<br>
fetch-spec.c; \<br>
then mv -f &quot;.deps/fetch-spec.Tpo&quot; &quot;.deps/fetch-spec.Po&quot;; else rm -f<br>
&quot;.deps/fetch-spec.Tpo&quot;; exit 1; fi<br>
/bin/sh ../../libtool --tag=CC --mode=link gcc -fPIC -Wall<br>
-D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DGF_LINUX_HOST_OS<br>
-I../../libglusterfs/src -DDATADIR=\&quot;/var\&quot;<br>
-DCONFDIR=\&quot;/etc/glusterfs\&quot;  -O2 -g -march=i386 -mcpu=i686   -o<br>
glusterfsd -rdynamic  glusterfsd.o fetch-spec.o<br>
../../libglusterfs/src/<a href="http://libglusterfs.la" target="_blank">libglusterfs.la</a>  -ldl -lpthread<br>
libtool: link: gcc -fPIC -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE<br>
-DGF_LINUX_HOST_OS -I../../libglusterfs/src -DDATADIR=\&quot;/var\&quot;<br>
-DCONFDIR=\&quot;/etc/glusterfs\&quot; -O2 -g -march=i386 -mcpu=i686 -o<br>
.libs/glusterfsd -rdynamic glusterfsd.o fetch-spec.o<br>
../../libglusterfs/src/.libs/libglusterfs.so -ldl -lpthread<br>
make[3]: Leaving directory<br>
`/usr/src/redhat/BUILD/glusterfs-2.0.3/glusterfsd/src&#39;<br>
make[3]: Entering directory<br>
`/usr/src/redhat/BUILD/glusterfs-2.0.3/glusterfsd&#39;<br>
make[3]: Nothing to be done for `all-am&#39;.<br>
make[3]: Leaving directory<br>
`/usr/src/redhat/BUILD/glusterfs-2.0.3/glusterfsd&#39;<br>
make[2]: Leaving directory<br>
`/usr/src/redhat/BUILD/glusterfs-2.0.3/glusterfsd&#39;<br>
Making all in mod_glusterfs<br>
make[2]: Entering directory<br>
`/usr/src/redhat/BUILD/glusterfs-2.0.3/mod_glusterfs&#39;<br>
Making all in apache<br>
make[3]: Entering directory<br>
`/usr/src/redhat/BUILD/glusterfs-2.0.3/mod_glusterfs/apache&#39;<br>
Making all in 2.0<br>
/bin/sh: line 0: cd: 2.0: No such file or directory<br>
make[3]: *** [all-recursive] Error 1<br>
make[3]: Leaving directory<br>
`/usr/src/redhat/BUILD/glusterfs-2.0.3/mod_glusterfs/apache&#39;<br>
make[2]: *** [all-recursive] Error 1<br>
make[2]: Leaving directory<br>
`/usr/src/redhat/BUILD/glusterfs-2.0.3/mod_glusterfs&#39;<br>
make[1]: *** [all-recursive] Error 1<br>
make[1]: Leaving directory `/usr/src/redhat/BUILD/glusterfs-2.0.3&#39;<br>
make: *** [all] Error 2<br>
error: Bad exit status from /var/tmp/rpm-tmp.74845 (%build)<br>
<br>
<br>
<br>
- Ramon.<br>
<div class="im"><br>
<br>
Harshavardhana wrote:<br>
&gt; Handling of installation of mod_glusterfs from rpm is removed so is<br>
&gt; disabling modglusterfs. Even if mod_glusterfs.so is built it will not<br>
&gt; be meddled with as it was<br>
&gt; done earlier. As mod_glusterfs is deprecated so it was reflected in<br>
&gt; rpm spec file.<br>
&gt;<br>
&gt; Are you facing any issue in this regard? build failures?<br>
&gt;<br>
&gt; Regards<br>
&gt; --<br>
&gt; Harshavardhana<br>
&gt; Z Research Inc <a href="http://www.zresearch.com/" target="_blank">http://www.zresearch.com/</a><br>
&gt;<br>
&gt;<br>
&gt; On Thu, Jul 9, 2009 at 2:28 PM, Ramon Bastiaans<br>
</div><div class="im">&gt; &lt;<a href="mailto:ramon.bastiaans@sara.nl">ramon.bastiaans@sara.nl</a> &lt;mailto:<a href="mailto:ramon.bastiaans@sara.nl">ramon.bastiaans@sara.nl</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;     I downloaded the latest 2.0.3 tarball and now it seems I can&#39;t<br>
&gt;     build the<br>
&gt;     RPM without the apache/lighthttp module.<br>
&gt;<br>
&gt;     Is there a reason why building the RPM with<br>
&gt;     --disable-mod_glusterfs was<br>
&gt;     removed from the .spec file?<br>
&gt;<br>
&gt;     The changelog reads:<br>
&gt;<br>
&gt;     %changelog<br>
&gt;     * Wed Jul 01 2009 Harshavardhana &lt;<a href="mailto:harsha@gluster.com">harsha@gluster.com</a><br>
</div>&gt;     &lt;mailto:<a href="mailto:harsha@gluster.com">harsha@gluster.com</a>&gt;&gt; - 2.1<br>
<div class="im">&gt;     - Removed mod_glusterfs.so and added new --without epoll build<br>
&gt;      option.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;     Kind regards,<br>
&gt;     - Ramon.<br>
&gt;<br>
&gt;     --<br>
&gt;     R. Bastiaans, B.ICT :: Systems Programmer, HPC&amp;V<br>
&gt;<br>
&gt;     SARA - Computing &amp; Networking Services<br>
&gt;     Science Park 121     PO Box 94613<br>
&gt;     1098 XG Amsterdam NL 1090 GP Amsterdam NL<br>
&gt;     P.+31 (0)20 592 3000 F.+31 (0)20 668 3167<br>
&gt;<br>
&gt;<br>
&gt;     _______________________________________________<br>
&gt;     Gluster-users mailing list<br>
</div>&gt;     <a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a> &lt;mailto:<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a>&gt;<br>
<div class="im">&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;<br>
&gt;<br>
<br>
<br>
</div>--<br>
<div><div></div><div class="h5">R. Bastiaans, B.ICT :: Systems Programmer, HPC&amp;V<br>
<br>
SARA - Computing &amp; Networking Services<br>
Science Park 121     PO Box 94613<br>
1098 XG Amsterdam NL 1090 GP Amsterdam NL<br>
P.+31 (0)20 592 3000 F.+31 (0)20 668 3167<br>
<br>
</div></div></blockquote></div><br>