Riak Installation issue on Mac

Geeth Narayanan gnarayan1 at gmail.com
Wed Nov 9 15:00:09 EST 2011


Hi,

I am trying to install Riak on my Mac OS X and cloned the source from git
repo. When I tried to make, I am getting an error. Could you please let me
know what the issue is and how I can solve it? I have attached the info in
the shell.

Thanks.
Geeth
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20111109/eedf71e9/attachment.html>
-------------- next part --------------
sudo make
Password:
./rebar get-deps
==> cluster_info (get-deps)
==> skerl (get-deps)
==> lager (get-deps)
==> poolboy (get-deps)
==> protobuffs (get-deps)
==> basho_stats (get-deps)
==> riak_sysmon (get-deps)
==> mochiweb (get-deps)
==> webmachine (get-deps)
==> riak_core (get-deps)
==> riakc (get-deps)
==> luke (get-deps)
==> erlang_js (get-deps)
==> bitcask (get-deps)
==> merge_index (get-deps)
==> ebloom (get-deps)
==> eper (get-deps)
==> eleveldb (get-deps)
==> edown (get-deps)
==> sext (get-deps)
==> riak_pipe (get-deps)
==> basho_metrics (get-deps)
==> riak_kv (get-deps)
==> luwak (get-deps)
==> lucene_parser (get-deps)
==> riak_search (get-deps)
==> rel (get-deps)
==> riak (get-deps)
./rebar compile
==> cluster_info (compile)
==> skerl (compile)
Compiling c_src/skein.c
c_src/skein.c:13:63: error: string.h: No such file or directory
In file included from c_src/brg_types.h:49,
                 from c_src/skein_port.h:18,
                 from c_src/skein.h:32,
                 from c_src/skein.c:14:
/Developer/usr/bin/../lib/gcc/i686-apple-darwin10/4.2.1/include/limits.h:10:25: error: limits.h: No such file or directory
In file included from c_src/skein_port.h:49,
                 from c_src/skein.h:32,
                 from c_src/skein.c:14:
c_src/brg_endian.h:46:30: error: machine/endian.h: No such file or directory
c_src/skein.c: In function ?Skein_256_Init?:
c_src/skein.c:43: warning: implicit declaration of function ?memcpy?
c_src/skein.c:43: warning: incompatible implicit declaration of built-in function ?memcpy?
c_src/skein.c:56: warning: implicit declaration of function ?memset?
c_src/skein.c:56: warning: incompatible implicit declaration of built-in function ?memset?
c_src/skein.c: In function ?Skein_256_InitExt?:
c_src/skein.c:87: warning: incompatible implicit declaration of built-in function ?memset?
c_src/skein.c:95: warning: incompatible implicit declaration of built-in function ?memset?
c_src/skein.c:98: warning: incompatible implicit declaration of built-in function ?memcpy?
c_src/skein.c:111: warning: incompatible implicit declaration of built-in function ?memset?
c_src/skein.c: In function ?Skein_256_Update?:
c_src/skein.c:146: warning: incompatible implicit declaration of built-in function ?memcpy?
c_src/skein.c:170: warning: incompatible implicit declaration of built-in function ?memcpy?
c_src/skein.c: In function ?Skein_256_Final?:
c_src/skein.c:187: warning: incompatible implicit declaration of built-in function ?memset?
c_src/skein.c:196: warning: incompatible implicit declaration of built-in function ?memcpy?
c_src/skein.c: In function ?Skein_512_Init?:
c_src/skein.c:240: warning: incompatible implicit declaration of built-in function ?memcpy?
c_src/skein.c:253: warning: incompatible implicit declaration of built-in function ?memset?
c_src/skein.c: In function ?Skein_512_InitExt?:
c_src/skein.c:285: warning: incompatible implicit declaration of built-in function ?memset?
c_src/skein.c:293: warning: incompatible implicit declaration of built-in function ?memset?
c_src/skein.c:296: warning: incompatible implicit declaration of built-in function ?memcpy?
c_src/skein.c:309: warning: incompatible implicit declaration of built-in function ?memset?
c_src/skein.c: In function ?Skein_512_Update?:
c_src/skein.c:344: warning: incompatible implicit declaration of built-in function ?memcpy?
c_src/skein.c:368: warning: incompatible implicit declaration of built-in function ?memcpy?
c_src/skein.c: In function ?Skein_512_Final?:
c_src/skein.c:385: warning: incompatible implicit declaration of built-in function ?memset?
c_src/skein.c:394: warning: incompatible implicit declaration of built-in function ?memcpy?
c_src/skein.c: In function ?Skein1024_Init?:
c_src/skein.c:438: warning: incompatible implicit declaration of built-in function ?memcpy?
c_src/skein.c:450: warning: incompatible implicit declaration of built-in function ?memset?
c_src/skein.c: In function ?Skein1024_InitExt?:
c_src/skein.c:482: warning: incompatible implicit declaration of built-in function ?memset?
c_src/skein.c:490: warning: incompatible implicit declaration of built-in function ?memset?
c_src/skein.c:493: warning: incompatible implicit declaration of built-in function ?memcpy?
c_src/skein.c:506: warning: incompatible implicit declaration of built-in function ?memset?
c_src/skein.c: In function ?Skein1024_Update?:
c_src/skein.c:541: warning: incompatible implicit declaration of built-in function ?memcpy?
c_src/skein.c:565: warning: incompatible implicit declaration of built-in function ?memcpy?
c_src/skein.c: In function ?Skein1024_Final?:
c_src/skein.c:582: warning: incompatible implicit declaration of built-in function ?memset?
c_src/skein.c:591: warning: incompatible implicit declaration of built-in function ?memcpy?
c_src/skein.c: In function ?Skein_256_Final_Pad?:
c_src/skein.c:626: warning: incompatible implicit declaration of built-in function ?memset?
c_src/skein.c:629: warning: incompatible implicit declaration of built-in function ?memcpy?
c_src/skein.c: In function ?Skein_512_Final_Pad?:
c_src/skein.c:642: warning: incompatible implicit declaration of built-in function ?memset?
c_src/skein.c:645: warning: incompatible implicit declaration of built-in function ?memcpy?
c_src/skein.c: In function ?Skein1024_Final_Pad?:
c_src/skein.c:658: warning: incompatible implicit declaration of built-in function ?memset?
c_src/skein.c:661: warning: incompatible implicit declaration of built-in function ?memcpy?
c_src/skein.c: In function ?Skein_256_Output?:
c_src/skein.c:679: warning: incompatible implicit declaration of built-in function ?memset?
c_src/skein.c:680: warning: incompatible implicit declaration of built-in function ?memcpy?
c_src/skein.c: In function ?Skein_512_Output?:
c_src/skein.c:708: warning: incompatible implicit declaration of built-in function ?memset?
c_src/skein.c:709: warning: incompatible implicit declaration of built-in function ?memcpy?
c_src/skein.c: In function ?Skein1024_Output?:
c_src/skein.c:737: warning: incompatible implicit declaration of built-in function ?memset?
c_src/skein.c:738: warning: incompatible implicit declaration of built-in function ?memcpy?
ERROR: cc -c -m32  -g -Wall -fPIC  -I/usr/local/lib/erlang/lib/erl_interface-3.7.4/include -I/usr/local/lib/erlang/erts-5.8.4/include  c_src/skein.c -o c_src/skein.o failed with error: 1 and output:
c_src/skein.c:13:63: error: string.h: No such file or directory
In file included from c_src/brg_types.h:49,
                 from c_src/skein_port.h:18,
                 from c_src/skein.h:32,
                 from c_src/skein.c:14:
/Developer/usr/bin/../lib/gcc/i686-apple-darwin10/4.2.1/include/limits.h:10:25: error: limits.h: No such file or directory
In file included from c_src/skein_port.h:49,
                 from c_src/skein.h:32,
                 from c_src/skein.c:14:
c_src/brg_endian.h:46:30: error: machine/endian.h: No such file or directory
c_src/skein.c: In function ?Skein_256_Init?:
c_src/skein.c:43: warning: implicit declaration of function ?memcpy?
c_src/skein.c:43: warning: incompatible implicit declaration of built-in function ?memcpy?
c_src/skein.c:56: warning: implicit declaration of function ?memset?
c_src/skein.c:56: warning: incompatible implicit declaration of built-in function ?memset?
c_src/skein.c: In function ?Skein_256_InitExt?:
c_src/skein.c:87: warning: incompatible implicit declaration of built-in function ?memset?
c_src/skein.c:95: warning: incompatible implicit declaration of built-in function ?memset?
c_src/skein.c:98: warning: incompatible implicit declaration of built-in function ?memcpy?
c_src/skein.c:111: warning: incompatible implicit declaration of built-in function ?memset?
c_src/skein.c: In function ?Skein_256_Update?:
c_src/skein.c:146: warning: incompatible implicit declaration of built-in function ?memcpy?
c_src/skein.c:170: warning: incompatible implicit declaration of built-in function ?memcpy?
c_src/skein.c: In function ?Skein_256_Final?:
c_src/skein.c:187: warning: incompatible implicit declaration of built-in function ?memset?
c_src/skein.c:196: warning: incompatible implicit declaration of built-in function ?memcpy?
c_src/skein.c: In function ?Skein_512_Init?:
c_src/skein.c:240: warning: incompatible implicit declaration of built-in function ?memcpy?
c_src/skein.c:253: warning: incompatible implicit declaration of built-in function ?memset?
c_src/skein.c: In function ?Skein_512_InitExt?:
c_src/skein.c:285: warning: incompatible implicit declaration of built-in function ?memset?
c_src/skein.c:293: warning: incompatible implicit declaration of built-in function ?memset?
c_src/skein.c:296: warning: incompatible implicit declaration of built-in function ?memcpy?
c_src/skein.c:309: warning: incompatible implicit declaration of built-in function ?memset?
c_src/skein.c: In function ?Skein_512_Update?:
c_src/skein.c:344: warning: incompatible implicit declaration of built-in function ?memcpy?
c_src/skein.c:368: warning: incompatible implicit declaration of built-in function ?memcpy?
c_src/skein.c: In function ?Skein_512_Final?:
c_src/skein.c:385: warning: incompatible implicit declaration of built-in function ?memset?
c_src/skein.c:394: warning: incompatible implicit declaration of built-in function ?memcpy?
c_src/skein.c: In function ?Skein1024_Init?:
c_src/skein.c:438: warning: incompatible implicit declaration of built-in function ?memcpy?
c_src/skein.c:450: warning: incompatible implicit declaration of built-in function ?memset?
c_src/skein.c: In function ?Skein1024_InitExt?:
c_src/skein.c:482: warning: incompatible implicit declaration of built-in function ?memset?
c_src/skein.c:490: warning: incompatible implicit declaration of built-in function ?memset?
c_src/skein.c:493: warning: incompatible implicit declaration of built-in function ?memcpy?
c_src/skein.c:506: warning: incompatible implicit declaration of built-in function ?memset?
c_src/skein.c: In function ?Skein1024_Update?:
c_src/skein.c:541: warning: incompatible implicit declaration of built-in function ?memcpy?
c_src/skein.c:565: warning: incompatible implicit declaration of built-in function ?memcpy?
c_src/skein.c: In function ?Skein1024_Final?:
c_src/skein.c:582: warning: incompatible implicit declaration of built-in function ?memset?
c_src/skein.c:591: warning: incompatible implicit declaration of built-in function ?memcpy?
c_src/skein.c: In function ?Skein_256_Final_Pad?:
c_src/skein.c:626: warning: incompatible implicit declaration of built-in function ?memset?
c_src/skein.c:629: warning: incompatible implicit declaration of built-in function ?memcpy?
c_src/skein.c: In function ?Skein_512_Final_Pad?:
c_src/skein.c:642: warning: incompatible implicit declaration of built-in function ?memset?
c_src/skein.c:645: warning: incompatible implicit declaration of built-in function ?memcpy?
c_src/skein.c: In function ?Skein1024_Final_Pad?:
c_src/skein.c:658: warning: incompatible implicit declaration of built-in function ?memset?
c_src/skein.c:661: warning: incompatible implicit declaration of built-in function ?memcpy?
c_src/skein.c: In function ?Skein_256_Output?:
c_src/skein.c:679: warning: incompatible implicit declaration of built-in function ?memset?
c_src/skein.c:680: warning: incompatible implicit declaration of built-in function ?memcpy?
c_src/skein.c: In function ?Skein_512_Output?:
c_src/skein.c:708: warning: incompatible implicit declaration of built-in function ?memset?
c_src/skein.c:709: warning: incompatible implicit declaration of built-in function ?memcpy?
c_src/skein.c: In function ?Skein1024_Output?:
c_src/skein.c:737: warning: incompatible implicit declaration of built-in function ?memset?
c_src/skein.c:738: warning: incompatible implicit declaration of built-in function ?memcpy?

make: *** [compile] Error 1


More information about the riak-users mailing list