<div dir="ltr">Daniel's problem is probably not ./configure params. He is trying to get the module working with Samba 4.0. Currently the module exists on samba.git master branch (4.1.x?) and in <a href="http://forge.gluster.org">forge.gluster.org</a> for samba-3.6.x. There is no vfs module version available for Samba 4.0.<div>
<br></div><div>Avati</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Sep 11, 2013 at 12:02 PM, Jose Rivera <span dir="ltr"><<a href="mailto:jrivera@redhat.com" target="_blank">jrivera@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Daniel,<br>
<br>
I think your --with-glusterfs DIR should be<br>
<br>
/data/gluster/glusterfs-3.4.0final/debian/tmp/usr/<br>
<br>
since we look for things in $DIR/include, $DIR/lib, etc.<br>
<br>
It might be more accurate for our docs to call this the glusterfs<br>
installation prefix instead. :) Let me know if this works.<br>
<br>
Cheers,<br>
--Jose<br>
<div class="HOEnZb"><div class="h5"><br>
----- Original Message -----<br>
> From: "Lalatendu Mohanty" <<a href="mailto:lmohanty@redhat.com">lmohanty@redhat.com</a>><br>
> To: <a href="mailto:mueller@tropenklinik.de">mueller@tropenklinik.de</a><br>
> Cc: <a href="mailto:gluster-users@gluster.org">gluster-users@gluster.org</a><br>
> Sent: Wednesday, September 11, 2013 2:20:50 AM<br>
> Subject: Re: [Gluster-users] compiling samba vfs module<br>
><br>
> On 09/11/2013 12:43 PM, Lalatendu Mohanty wrote:<br>
> > On 09/11/2013 11:34 AM, Daniel Müller wrote:<br>
> >> Hi again,<br>
> >><br>
> >> I did not manage to bring samba 4 up, with sambas glusterfs vfs<br>
> >> module on<br>
> >> centos 6.4 with glusterfs-3.4.0, too.<br>
> >> I think it is only working with a special version.<br>
> >><br>
> >> Greetings<br>
> >> Daniel<br>
> > Hi Daniel,<br>
> ><br>
> > You can try getting the samba source from<br>
> > <a href="https://forge.gluster.org/samba-glusterfs" target="_blank">https://forge.gluster.org/samba-glusterfs</a>. Though I dont expect it is<br>
> > different then upstream samba but it is worth a try.<br>
> Oops!! it only contain the VFS plug-in code, not the whole samba source<br>
> code. So it would not serve your purpose.<br>
><br>
> ><br>
> > Thanks,<br>
> > Lala<br>
> >><br>
> >> -----------------------------------------------<br>
> >> EDV Daniel Müller<br>
> >><br>
> >> Leitung EDV<br>
> >> Tropenklinik Paul-Lechler-Krankenhaus<br>
> >> Paul-Lechler-Str. 24<br>
> >> 72076 Tübingen<br>
> >><br>
> >> Tel.: 07071/206-463, Fax: 07071/206-499<br>
> >> eMail: <a href="mailto:mueller@tropenklinik.de">mueller@tropenklinik.de</a><br>
> >> Internet: <a href="http://www.tropenklinik.de" target="_blank">www.tropenklinik.de</a><br>
> >> -----------------------------------------------<br>
> >><br>
> >> -----Ursprüngliche Nachricht-----<br>
> >> Von: <a href="mailto:gluster-users-bounces@gluster.org">gluster-users-bounces@gluster.org</a><br>
> >> [mailto:<a href="mailto:gluster-users-bounces@gluster.org">gluster-users-bounces@gluster.org</a>] Im Auftrag von Tamas Papp<br>
> >> Gesendet: Dienstag, 10. September 2013 23:57<br>
> >> An: <a href="mailto:gluster-users@gluster.org">gluster-users@gluster.org</a><br>
> >> Betreff: [Gluster-users] compiling samba vfs module<br>
> >><br>
> >> hi All,<br>
> >><br>
> >> The system is Ubuntu 12.04<br>
> >><br>
> >> I download and extracted source packages of samba and glusterfs and I<br>
> >> built<br>
> >> glusterfs, so I get the right necessary structure:<br>
> >> glusterfs version is 3.4 and it's from ppa.<br>
> >><br>
> >> # ls<br>
> >> /data/gluster/glusterfs-3.4.0final/debian/tmp/usr/include/glusterfs/api/glfs<br>
> >><br>
> >> .h<br>
> >> /data/gluster/glusterfs-3.4.0final/debian/tmp/usr/include/glusterfs/api/glfs<br>
> >><br>
> >> .h<br>
> >><br>
> >><br>
> >> Unfortunately I'm getting this error:<br>
> >><br>
> >> # ./configure --with-samba-source=/data/samba/samba-3.6.3/<br>
> >> --with-glusterfs=/data/gluster/glusterfs-3.4.0final/debian/tmp/usr/include/g<br>
> >><br>
> >> lusterfs/<br>
> >> checking for gcc... gcc<br>
> >> checking whether the C compiler works... yes checking for C compiler<br>
> >> default<br>
> >> output file name... a.out checking for suffix of executables...<br>
> >> checking whether we are cross compiling... no checking for suffix of<br>
> >> object<br>
> >> files... o checking whether we are using the GNU C compiler... yes<br>
> >> checking<br>
> >> whether gcc accepts -g... yes checking for gcc option to accept ISO<br>
> >> C89...<br>
> >> none needed checking for a BSD-compatible install... /usr/bin/install -c<br>
> >> checking build system type... x86_64-unknown-linux-gnu checking host<br>
> >> system<br>
> >> type... x86_64-unknown-linux-gnu checking how to run the C<br>
> >> preprocessor...<br>
> >> gcc -E checking for grep that handles long lines and -e... /bin/grep<br>
> >> checking for egrep... /bin/grep -E checking for ANSI C header<br>
> >> files... yes<br>
> >> checking for sys/types.h... yes checking for sys/stat.h... yes<br>
> >> checking for<br>
> >> stdlib.h... yes checking for string.h... yes checking for memory.h...<br>
> >> yes<br>
> >> checking for strings.h... yes checking for inttypes.h... yes checking<br>
> >> for<br>
> >> stdint.h... yes checking for unistd.h... yes checking api/glfs.h<br>
> >> usability... no checking api/glfs.h presence... no checking for<br>
> >> api/glfs.h... no<br>
> >><br>
> >> Cannot find api/glfs.h. Please specify --with-glusterfs=dir if necessary<br>
> >><br>
> >><br>
> >><br>
> >> I don't see, what its problem is?<br>
> >><br>
> >><br>
> >> Thanks,<br>
> >> tamas<br>
> >> _______________________________________________<br>
> >> Gluster-users mailing list<br>
> >> <a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
> >> <a href="http://supercolony.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a><br>
> >><br>
> >> _______________________________________________<br>
> >> Gluster-users mailing list<br>
> >> <a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
> >> <a href="http://supercolony.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a><br>
> ><br>
> > _______________________________________________<br>
> > Gluster-users mailing list<br>
> > <a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
> > <a href="http://supercolony.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a><br>
><br>
><br>
_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://supercolony.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a></div></div></blockquote></div><br></div>