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