[Gluster-users] compiling samba vfs module

Jose Rivera jrivera at redhat.com
Wed Sep 11 19:02:20 UTC 2013


Hello Daniel,

I think your --with-glusterfs DIR should be

/data/gluster/glusterfs-3.4.0final/debian/tmp/usr/

since we look for things in $DIR/include, $DIR/lib, etc.

It might be more accurate for our docs to call this the glusterfs 
installation prefix instead. :) Let me know if this works.

Cheers,
--Jose

----- Original Message -----
> From: "Lalatendu Mohanty" <lmohanty at redhat.com>
> To: mueller at tropenklinik.de
> Cc: gluster-users at gluster.org
> Sent: Wednesday, September 11, 2013 2:20:50 AM
> Subject: Re: [Gluster-users] compiling samba vfs module
> 
> On 09/11/2013 12:43 PM, Lalatendu Mohanty wrote:
> > On 09/11/2013 11:34 AM, Daniel Müller wrote:
> >> Hi again,
> >>
> >> I did not manage to bring samba 4 up, with sambas glusterfs vfs
> >> module on
> >> centos 6.4 with glusterfs-3.4.0, too.
> >> I think it is only working with a special version.
> >>
> >> Greetings
> >> Daniel
> > Hi Daniel,
> >
> > You can try getting the samba source  from
> > https://forge.gluster.org/samba-glusterfs. Though I dont expect it is
> > different then upstream samba but it is worth a try.
> Oops!! it only contain the VFS plug-in code, not the whole samba source
> code. So it would not serve your purpose.
> 
> >
> > Thanks,
> > Lala
> >>
> >> -----------------------------------------------
> >> EDV Daniel Müller
> >>
> >> Leitung EDV
> >> Tropenklinik Paul-Lechler-Krankenhaus
> >> Paul-Lechler-Str. 24
> >> 72076 Tübingen
> >>
> >> Tel.: 07071/206-463, Fax: 07071/206-499
> >> eMail: mueller at tropenklinik.de
> >> Internet: www.tropenklinik.de
> >> -----------------------------------------------
> >>
> >> -----Ursprüngliche Nachricht-----
> >> Von: gluster-users-bounces at gluster.org
> >> [mailto:gluster-users-bounces at gluster.org] Im Auftrag von Tamas Papp
> >> Gesendet: Dienstag, 10. September 2013 23:57
> >> An: gluster-users at gluster.org
> >> Betreff: [Gluster-users] compiling samba vfs module
> >>
> >> hi All,
> >>
> >> The system is Ubuntu 12.04
> >>
> >> I download and extracted source packages of samba and glusterfs and I
> >> built
> >> glusterfs, so I get the right necessary structure:
> >> glusterfs version is 3.4 and it's from ppa.
> >>
> >> # ls
> >> /data/gluster/glusterfs-3.4.0final/debian/tmp/usr/include/glusterfs/api/glfs
> >>
> >> .h
> >> /data/gluster/glusterfs-3.4.0final/debian/tmp/usr/include/glusterfs/api/glfs
> >>
> >> .h
> >>
> >>
> >> Unfortunately I'm getting this error:
> >>
> >> # ./configure --with-samba-source=/data/samba/samba-3.6.3/
> >> --with-glusterfs=/data/gluster/glusterfs-3.4.0final/debian/tmp/usr/include/g
> >>
> >> lusterfs/
> >> checking for gcc... gcc
> >> checking whether the C compiler works... yes checking for C compiler
> >> default
> >> output file name... a.out checking for suffix of executables...
> >> checking whether we are cross compiling... no checking for suffix of
> >> object
> >> files... o checking whether we are using the GNU C compiler... yes
> >> checking
> >> whether gcc accepts -g... yes checking for gcc option to accept ISO
> >> C89...
> >> none needed checking for a BSD-compatible install... /usr/bin/install -c
> >> checking build system type... x86_64-unknown-linux-gnu checking host
> >> system
> >> type... x86_64-unknown-linux-gnu checking how to run the C
> >> preprocessor...
> >> gcc -E checking for grep that handles long lines and -e... /bin/grep
> >> checking for egrep... /bin/grep -E checking for ANSI C header
> >> files... yes
> >> checking for sys/types.h... yes checking for sys/stat.h... yes
> >> checking for
> >> stdlib.h... yes checking for string.h... yes checking for memory.h...
> >> yes
> >> checking for strings.h... yes checking for inttypes.h... yes checking
> >> for
> >> stdint.h... yes checking for unistd.h... yes 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
> >>
> >>
> >>
> >> I don't see, what its problem is?
> >>
> >>
> >> Thanks,
> >> tamas
> >> _______________________________________________
> >> Gluster-users mailing list
> >> Gluster-users at gluster.org
> >> http://supercolony.gluster.org/mailman/listinfo/gluster-users
> >>
> >> _______________________________________________
> >> Gluster-users mailing list
> >> Gluster-users at gluster.org
> >> http://supercolony.gluster.org/mailman/listinfo/gluster-users
> >
> > _______________________________________________
> > Gluster-users mailing list
> > Gluster-users at gluster.org
> > http://supercolony.gluster.org/mailman/listinfo/gluster-users
> 
> 



More information about the Gluster-users mailing list