gluster-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gluster-devel] [Gluster-users] Status on Gluster on OS X (10.9)


From: Dennis Schafroth
Subject: Re: [Gluster-devel] [Gluster-users] Status on Gluster on OS X (10.9)
Date: Sat, 5 Apr 2014 07:59:54 +0200


On 05 Apr 2014, at 07:38 , Anand Avati <address@hidden> wrote:

And here:

./gf-error-codes.h:12:10: fatal error: 'libintl.h' file not found

I guess I was wrong that gettext / libintl.h was not required. It seems to be in use in logging.c

Until I figure out if this is the case, I would suggest installing gettext.

cheers,
:-Dennis



On Fri, Apr 4, 2014 at 10:15 PM, Dennis Schafroth <address@hidden> wrote:

Pushed a fix to make it work without gettext / libintl header. 

I compiled without the CFLAGS and LDFLAGS

Hmm. Apparently not.



cheers, 
:-Dennis

On 05 Apr 2014, at 07:04 , Dennis Schafroth <address@hidden> wrote:


Bummer. 

That is from gettext which I thought was only optional. 

I got it using either Homebrew (http://brew.sh/) or macports

Homebrew seems quite good these days I would prob. recommend that.

It will install using a one-liner in /usr/local and but require sudo right underway to sett rights 

brew install gettext

It will require setting some CFLAGS / LDFLAGS when ./configure:
LDFLAGS=-L/usr/local/opt/gettext/lib
CPPFLAGS=-I/usr/local/opt/gettext/include

cheers,
:-Dennis

On 05 Apr 2014, at 06:56 , Anand Avati <address@hidden> wrote:

Build fails for me:

Making all in libglusterfs
Making all in src
  CC       libglusterfs_la-dict.lo
  CC       libglusterfs_la-xlator.lo
  CC       libglusterfs_la-logging.lo
logging.c:26:10: fatal error: 'libintl.h' file not found
#include <libintl.h>
         ^
1 error generated.
make[4]: *** [libglusterfs_la-logging.lo] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


How did you get libintl.h in your system? Also, please add a check for it in configure.ac and report the missing package.

Thanks,


On Fri, Apr 4, 2014 at 6:08 PM, Dennis Schafroth <address@hidden> wrote:

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. 

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. 

Anyone brave enough wanting to try the client can check out:

Still need Xcode + command line tools (clang, make)
A installed OSXFUSE (FUSE for OS X)

$ git clone address@hidden:~schafdog/glusterfs-core/osx-glusterfs.git
$ cd osx-glusterfs

Either
$ ./configure.osx
Or
- $ ./autogen.sh (requires aclocal, autoconf, automake)
- $ ./configure

$ make
$ sudo make install

You should be able to mount using sudo glusterfs --volfile=<your vol file>.vol <mount point>

And yes this is very much bleeding edge. My mac did kernel panic yesterday, when it was running both client and server. 

I would really like to get feed back from anyone trying this out. 

cheers, 
:-Dennis Schafroth 


_______________________________________________
Gluster-users mailing list
address@hidden
http://supercolony.gluster.org/mailman/listinfo/gluster-users


_______________________________________________
Gluster-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/gluster-devel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]