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

Anand Avati avati at gluster.org
Sat Apr 5 05:38:43 UTC 2014


And here:

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


On Fri, Apr 4, 2014 at 10:15 PM, Dennis Schafroth <dennis at schafroth.dk>wrote:

>
> Pushed a fix to make it work without gettext / libintl header.
>
> I compiled without the CFLAGS and LDFLAGS
>
> cheers,
> :-Dennis
>
> On 05 Apr 2014, at 07:04 , Dennis Schafroth <dennis at schafroth.dk> 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 <avati at gluster.org> 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 <dennis at schafroth.dk>
> 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 git at forge.gluster.org
>> :~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
>> Gluster-users at gluster.org
>> http://supercolony.gluster.org/mailman/listinfo/gluster-users
>>
>
>
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at nongnu.org
> https://lists.nongnu.org/mailman/listinfo/gluster-devel
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-devel/attachments/20140404/0d4a324a/attachment-0001.html>


More information about the Gluster-devel mailing list