Jaap van Wingerden
2021-Nov-16 12:43 UTC
[Samba] Building v4.15 with glusterfs VFS module, still possible?
I've been trying to build v4.15 from source on ubuntu 20.04, since i need gluster support. According to the documentation ( https://www.samba.org/samba/docs/current/man-html/vfs_glusterfs.8.html) it should still be available. But compiling with --enable-glusterfs builds no glusterfs.so. I tried modifying source3/modules/wscript_build to hard code glusterfs to enabled, but compilation fails looking for glusterfs/api/glfs.h . I even tried downloading the gluster source (v9) and linking that to the apropriate folder, but then compilation fails with errors about too many arguments. So this begs the question, is it possible at all to build the latest release with gluster support?
Stefan Kania
2021-Nov-16 13:01 UTC
[Samba] Building v4.15 with glusterfs VFS module, still possible?
Better use the glusterfs_fuse module. I tested all possibilities for using Glusterfs together with Samba and CTDB, the best result was always with glusterfs_fuse. Am 16.11.21 um 13:43 schrieb Jaap van Wingerden via samba:> I've been trying to build v4.15 from source on ubuntu 20.04, since i need > gluster support. According to the documentation ( > https://www.samba.org/samba/docs/current/man-html/vfs_glusterfs.8.html) it > should still be available. But compiling with --enable-glusterfs builds no > glusterfs.so. > I tried modifying source3/modules/wscript_build to hard code glusterfs to > enabled, but compilation fails looking for glusterfs/api/glfs.h . I even > tried downloading the gluster source (v9) and linking that to the > apropriate folder, but then compilation fails with errors about too many > arguments. > > So this begs the question, is it possible at all to build the latest > release with gluster support? >-- Stefan Kania Landweg 13 25693 St. Michaelisdonn Signieren jeder E-Mail hilft Spam zu reduzieren und sch?tzt Ihre Privatsph?re. Ein kostenfreies Zertifikat erhalten Sie unter https://www.dgn.de/dgncert/index.html Download der root-Zertifikate: https://www.dgn.de/dgncert/downloads.html
Jeremy Allison
2021-Nov-16 17:40 UTC
[Samba] Building v4.15 with glusterfs VFS module, still possible?
On Tue, Nov 16, 2021 at 01:43:58PM +0100, Jaap van Wingerden via samba wrote:>I've been trying to build v4.15 from source on ubuntu 20.04, since i need >gluster support. According to the documentation ( >https://www.samba.org/samba/docs/current/man-html/vfs_glusterfs.8.html) it >should still be available. But compiling with --enable-glusterfs builds no >glusterfs.so. >I tried modifying source3/modules/wscript_build to hard code glusterfs to >enabled, but compilation fails looking for glusterfs/api/glfs.h . I even >tried downloading the gluster source (v9) and linking that to the >apropriate folder, but then compilation fails with errors about too many >arguments.You need to have the glusterfs-dev package (or similar name) installed on your machine. glusterfs.so builds fine here for me.
Anoop C S
2021-Nov-17 04:30 UTC
[Samba] Building v4.15 with glusterfs VFS module, still possible?
On Tue, 2021-11-16 at 13:43 +0100, Jaap van Wingerden via samba wrote:> I've been trying to build v4.15 from source on ubuntu 20.04, since i > need > gluster support. According to the documentation ( > https://www.samba.org/samba/docs/current/man-html/vfs_glusterfs.8.html > ) it > should still be available. But compiling with --enable-glusterfs > builds no > glusterfs.so. > I tried modifying source3/modules/wscript_build to hard code > glusterfs to > enabled, but compilation fails looking for glusterfs/api/glfs.h . I > even > tried downloading the gluster source (v9) and linking that to the > apropriate folder, but then compilation fails with errors about too > many > arguments.As Jeremy mentioned in the other reply, you need to install GlusterFS development package(glusterfs-dev) to have those headers files present at standard locations where Samba will look for during compilation. Regards, Anoop C S