[Gluster-users] 1.3.10 compile failure on FC9 w/ Gluster-patched Fuse

Daniel Maher dma+gluster at witbe.net
Tue Jul 22 08:18:57 UTC 2008


On Mon, 21 Jul 2008 14:20:40 -0700
Keith Freedman <freedman at FreeFormIT.com> wrote:

> I was able to successfully compile gluster 1.3.10 on FC9, but 
> installation was a bit tricky.
> I had to manually cd to the xlators/mount/fuse  directory to install 
> the mount.glusterfs pieces.
> so it makes me wonder what other pieces aren't installed.. but I'm 
> able to now mount a filesystem via fstab and things seem to be
> plugging along
> 
> I did, however, have the same problems you did with the rpmbuild.
> 
> so, the software does seem to compile and install, but somethings odd 
> about the rpm build? :(
> 
> what're your thoughts about the gluster-fuse ?  should I install that 
> too or just leave things alone
> what value does it bring?

The solution for building the 1.30.10 tarball directly via rpmbuild on
FC9 is to remove the "-D_FORTIFY_SOURCE=2" option from the RPM default
macros. This is accomplished by editing the
"/usr/lib/rpm/redhat/macros", and modifying the "%__global_cflags"
line.

After that, it compiles and builds the RPMs cleanly.  I didn't have any
other problems with objects not being installed properly - after
installing the newly-built RPM on my servers and clients (all FC9), i
had an AFR cluster set up and functional in about 15 minutes, without
jumping through any additional hoops in this regard.

The only odd thing that i did was to install the FC9 Fuse packages
via Yum first, then i "upgraded" to the Gluster fuse packages (also
built by me on FC9) after the fact.  This seemed to work quite
nicely. :)

-- 
Daniel Maher <dma AT witbe DOT net>




More information about the Gluster-users mailing list