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