[Bugs] [Bug 1636297] Make it easy to build / host a project which just builds glusterfs translator

bugzilla at redhat.com bugzilla at redhat.com
Mon Oct 8 18:42:41 UTC 2018


https://bugzilla.redhat.com/show_bug.cgi?id=1636297



--- Comment #1 from Kaleb KEITHLEY <kkeithle at redhat.com> ---
I bashed together an example autoconf and rpm .spec file for building the
experimental/posix2 xlator outside the tree.

You can check it out at https://github.com/gluster/glusterfs-posix2. The xlator
sources are unchanged. There are some very small diffs between the in-tree
Makefile.am files and the out-of-tree Makefile.am files, but on the whole
they're minor. E.g. one of diffs is that for this quick-and-dirty example I
didn't include linking with the .sym file.

Instructions for compiling the xlator and building an RPM for it are in the
INSTALL file. (You probably want to build an rpm to install, otherwise a
non-rpm install will install to /usr/local by default. Or you can use options
to configure to get it to install to /usr/lib64/glusterfs/4.1.5/.... instead of
/usr/local/...)

IMO it should be fairly straightforward to drop in a different xlator in the
xlators tree and build.

It doesn't deal with the issue of automatically adding the xlator to a volume
graph. (That would obviously be a lot more work.)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list