Hi folks,

I've got CentOS6.4 with Samba 3.6.9 installed from the standard CentOS
repos via yum.  I also have GlusterFS 3.4.0 GA installed from RPMs
direct from gluster.org.

I'm trying to build the glusterfs VFS module for Samba to take
advantage of libgfapi for our Windows users, and migrate them off the
current Samba-on-FUSE setup we have currently.

I've downloaded the appropriate source trees for all projects
(GlusterFS from gluster.org, Samba from the matching CentOS6 SRPM, and
samba-glusterfs-vfs from the git repo), but am facing troubles early
on just finding appropriate headers.

[root@bne-gback000 samba-glusterfs-vfs]# find
/usr/local/src/glusterfs-3.4.0 -type f -name glfs.h
/usr/local/src/glusterfs-3.4.0/api/src/glfs.h

[root@bne-gback000 samba-glusterfs-vfs]# ./configure
--with-glusterfs=/usr/local/src/glusterfs-3.4.0
*snip*
checking api/glfs.h usability... no
checking api/glfs.h presence... no
checking for api/glfs.h... no
Cannot find api/glfs.h. Please specify --with-glusterfs=dir if necessary

If I install glusterfs-api-devel-3.4.0-8.el6.x86_64.rpm, I need to
copy /usr/include/glusterfs/api/glfs.h to /usr/include for it to be
found (even using --with-glusterfs= doesn't work), and then I get
further errors about not being able to link to glfs_init:

[root@bne-gback000 samba-glusterfs-vfs]# rpm -ivh
/tmp/glusterfs-api-devel-3.4.0-8.el6.x86_64.rpm
[root@bne-gback000 samba-glusterfs-vfs]# cp
/usr/include/glusterfs/api/glfs.h /usr/include/
[root@bne-gback000 samba-glusterfs-vfs]# ./configure
*snip*
checking api/glfs.h usability... yes
checking api/glfs.h presence... yes
checking for api/glfs.h... yes
checking for glfs_init... no
Cannot link to gfapi (glfs_init). Please specify --with-glusterfs=dir
if necessary

If anyone can point me in the right direction, that would be greatly
appreciated.

Cheers,

-Dan
_______________________________________________
Gluster-users mailing list
Gluster-users@gluster.org
http://supercolony.gluster.org/mailman/listinfo/gluster-users

Reply via email to