<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br><div><div>On 13 Mar 2014, at 23:05 , Justin Clift &lt;<a href="mailto:justin@gluster.org">justin@gluster.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">On 13/03/2014, at 9:04 PM, Dennis Schafroth wrote:<br><blockquote type="cite">On 31 Aug 2013, at 01:52 , Justin Clift &lt;<a href="mailto:jclift@redhat.com">jclift@redhat.com</a>&gt; wrote:<br><blockquote type="cite">On 30/08/2013, at 10:59 PM, Peng Yu wrote:<br><blockquote type="cite">Hi,<br><br>I run ./configure then make. But I see the following error. Does<br>anybody know how to compile gluster 3.4 on Mac OS X 10.8.4? Thanks.<br></blockquote><br>Hi Peng,<br><br>GlusterFS doesn't yet work on OSX. :(<br><br>A long time ago (many versions), it used to. &nbsp;But it doesn't<br>any more.<br><br>Out of curiosity, are you a C coder, potentially interested<br>in making it work? :)<br></blockquote><br>I am a C/C++ coder, but I have mostly been in Java land the later years. Interested in making it work, but not sure how big a task it is.<span class="Apple-converted-space">&nbsp;</span><br><br>Some linux / UNIX 2008 functions is missing on OSX (and BSD?), like at-functions. I can see two libraries (gnulib or libspl from MacZFS) that technical could help with this, but are there licensing issue using these?<span class="Apple-converted-space">&nbsp;</span><br></blockquote><br>Not sure about any licensing issues, but from a technical standpoint<br>gnulib probably won't work for us. &nbsp;I tried getting it to work with<br>gnulib for exactly this a while back. ;)<br><br>Gnulib's approach macro expands every mention of 'stat' through a<br>code base... which for GlusterFS is _everywhere_ since we're a<br>filesystem project. &nbsp;It's not something that can be turned off<br>either (when checking last year anyway). :(<br><br>When discussing with Eric Blake (Gnulib guy), he said that if we<br>really need to use gnulib for this, we'll need to rename our existing<br>usages of "stat" to something else. &nbsp;(pretty sure this isn't<br>feasible)<br><br>(Happy to forward the emails about this to you if it helps. &nbsp;I<br>might have been misunderstanding, etc.)<br></div></blockquote><div><br></div>I think I got to the same point and went back to the libspl solution&nbsp;</div><div><br></div><div><blockquote type="cite"><div style="font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br>Libspl I hadn't heard of though, so haven't looked into this.<br></div></blockquote><div><br></div><div>There are some compilation issue here as well, but haven’t got that far yet.&nbsp;</div><div><br><blockquote type="cite"></blockquote></div><blockquote type="cite"><div style="font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br>If you can get Gluster working on OSX, that would be *great*! :)<br><br><br><blockquote type="cite">Also rpc_sizeof method (but seems easy enough) &nbsp;is missing. &nbsp;Will it work between different implementations?<span class="Apple-converted-space">&nbsp;</span><br><br>FUSE seems to be the biggest problem, with macfuse being unsupported for years and osxfuse also behind in version.<br><br>Beside autoconf, automake, format strings and other trivial (famous last word) stuff, are there other stuff I am overlooking?<span class="Apple-converted-space">&nbsp;</span><br></blockquote><br><br>The missing at-functions were the biggest hurdle I hit and didn't<br>persist with after trying Gnulib unsuccessfully. &nbsp;If you can get<br>Gnulib solved, I'm pretty sure the rest of the main Gluster pieces<br>will compile. &nbsp;Gluster definitely works on NetBSD, which might be<br>a good sign. ;)<br><br>Regards and best wishes,<br><br>Justin Clift<br><br>--<br>Open Source and Standards @ Red Hat<br><br><a href="http://twitter.com/realjustinclift">twitter.com/realjustinclift</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">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a></div></blockquote></div><br></body></html>