On 13/03/2014, at 9:04 PM, Dennis Schafroth wrote:
On 31 Aug 2013, at 01:52 , Justin Clift <jclift@xxxxxxxxxx> wrote:
On 30/08/2013, at 10:59 PM, Peng Yu wrote:
Hi,
I run ./configure then make. But I see the following error. Does
anybody know how to compile gluster 3.4 on Mac OS X 10.8.4? Thanks.
Hi Peng,
GlusterFS doesn't yet work on OSX. :(
A long time ago (many versions), it used to. But it doesn't
any more.
Out of curiosity, are you a C coder, potentially interested
in making it work? :)
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.
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?
Not sure about any licensing issues, but from a technical standpoint
gnulib probably won't work for us. I tried getting it to work with
gnulib for exactly this a while back. ;)
Gnulib's approach macro expands every mention of 'stat' through a
code base... which for GlusterFS is _everywhere_ since we're a
filesystem project. It's not something that can be turned off
either (when checking last year anyway). :(
When discussing with Eric Blake (Gnulib guy), he said that if we
really need to use gnulib for this, we'll need to rename our existing
usages of "stat" to something else. (pretty sure this isn't
feasible)
(Happy to forward the emails about this to you if it helps. I
might have been misunderstanding, etc.)