<div dir="ltr">And here:<div><br></div><div>./gf-error-codes.h:12:10: fatal error: 'libintl.h' file not found<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Apr 4, 2014 at 10:15 PM, Dennis Schafroth <span dir="ltr"><<a href="mailto:dennis@schafroth.dk" target="_blank">dennis@schafroth.dk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><br></div><div>Pushed a fix to make it work without gettext / libintl header. </div>
<div><br></div><div>I compiled without the CFLAGS and LDFLAGS</div><div><br></div><div>cheers, </div><div>:-Dennis</div><br><div><div><div class="h5"><div>On 05 Apr 2014, at 07:04 , Dennis Schafroth <<a href="mailto:dennis@schafroth.dk" target="_blank">dennis@schafroth.dk</a>> wrote:</div>
<br></div></div><blockquote type="cite"><div><div class="h5"><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<br>Bummer. </div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<br></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
That is from gettext which I thought was only optional. </div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<br></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
I got it using either Homebrew (<a href="http://brew.sh/" target="_blank">http://brew.sh/</a>) or macports</div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<br></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
Homebrew seems quite good these days I would prob. recommend that.</div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<br></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
It will install using a one-liner in /usr/local and but require sudo right underway to sett rights </div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<br></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
brew install gettext</div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<br></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
It will require setting some CFLAGS / LDFLAGS when ./configure:</div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<div style="margin:0px;font-size:11px;font-family:Menlo">LDFLAGS=-L/usr/local/opt/gettext/lib</div><div style="margin:0px;font-size:11px;font-family:Menlo">CPPFLAGS=-I/usr/local/opt/gettext/include</div></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<br></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
cheers,</div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
:-Dennis</div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<br></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<div>On 05 Apr 2014, at 06:56 , Anand Avati <<a href="mailto:avati@gluster.org" target="_blank">avati@gluster.org</a>> wrote:</div><br><blockquote type="cite"><div dir="ltr">Build fails for me:<div><br></div><div><div>
Making all in libglusterfs</div><div>Making all in src</div><div> CC libglusterfs_la-dict.lo</div><div> CC libglusterfs_la-xlator.lo</div><div> CC libglusterfs_la-logging.lo</div><div>logging.c:26:10: fatal error: 'libintl.h' file not found</div>
<div>#include <libintl.h></div><div> ^</div><div>1 error generated.</div><div>make[4]: *** [libglusterfs_la-logging.lo] Error 1</div><div>make[3]: *** [all] Error 2</div><div>make[2]: *** [all-recursive] Error 1</div>
<div>make[1]: *** [all-recursive] Error 1</div><div>make: *** [all] Error 2</div></div><div><br></div><div><br></div><div>How did you get libintl.h in your system? Also, please add a check for it in<span> </span><a href="http://configure.ac/" target="_blank">configure.ac</a><span> </span>and report the missing package.</div>
<div><br></div><div>Thanks,</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Apr 4, 2014 at 6:08 PM, Dennis Schafroth<span> </span><span dir="ltr"><<a href="mailto:dennis@schafroth.dk" target="_blank">dennis@schafroth.dk</a>></span><span> </span>wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word"><br>It’s been quiet on this topic, but actually Harshavardhana and I have been quite busy off-line working on this. Since my initial “success” we have been able to get it to compile with clang (almost as clean as with gcc) and actually run. The later was a bit tricky because clang has more strict strategy about exporting functions with inline, which ended with many runs with missing functions. <div>
<br></div><div>So right now I can run everything, but there is an known issue with NFS/NLM4, but this should not matter for people trying to run the client with OSX FUSE. </div><div><br></div><div>Anyone brave enough wanting to try the<span> </span><b>client</b><span> </span>can check out:</div>
<div><div><br></div><div>Still need Xcode + command line tools (clang, make)</div><div>A installed OSXFUSE (FUSE for OS X)</div><div><br></div></div><div>$ git clone<span> </span><a href="mailto:git@forge.gluster.org" target="_blank">git@forge.gluster.org</a>:~schafdog/glusterfs-core/osx-glusterfs.git</div>
<div>$ cd osx-glusterfs</div><div><br></div><div>Either</div><div>$ ./configure.osx</div><div>Or</div><div>- $ ./autogen.sh (requires aclocal, autoconf, automake)</div><div>- $ ./configure</div><br><div>$ make</div><div>$ sudo make install</div>
<div><br></div><div>You should be able to mount using sudo glusterfs --volfile=<your vol file>.vol <mount point></div><div><br></div><div>And yes this is very much bleeding edge. My mac did kernel panic yesterday, when it was running both client and server. </div>
<div><br></div><div>I would really like to get feed back from anyone trying this out. </div><div><br></div><div>cheers, </div><span><font color="#888888"><div>:-Dennis Schafroth </div><div><br></div></font></span></div><br>
_______________________________________________<br>Gluster-users mailing list<br><a href="mailto:Gluster-users@gluster.org" target="_blank">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>
</blockquote></div><br></div></blockquote></div><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
</div></div><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">_______________________________________________</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">Gluster-devel mailing list</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<a href="mailto:Gluster-devel@nongnu.org" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank">Gluster-devel@nongnu.org</a><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<a href="https://lists.nongnu.org/mailman/listinfo/gluster-devel" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank">https://lists.nongnu.org/mailman/listinfo/gluster-devel</a></blockquote>
</div><br></div></blockquote></div><br></div>