-
Notifications
You must be signed in to change notification settings - Fork 191
Description
I am trying to compile riak-2.2.3 on Ubuntu 16.04, but when compiling riakc there are some errors.
I am not familiar with erlang. Can anybody tell me what wrong it happened?
It uses {riakc, ".*", {git, "git://github.com/basho/riak-erlang-client", {branch, "develop-2.2"}}}
==> riakc (compile)
Compiling /home/slt/riak-2.2.3/deps/riakc/src/riakc_pb_socket.erl failed:
/home/slt/riak-2.2.3/deps/riakc/src/riakc_pb_socket.erl:1587: field node_confirms undefined in record rpbputreq
/home/slt/riak-2.2.3/deps/riakc/src/riakc_pb_socket.erl:1649: field node_confirms undefined in record rpbcounterupdatereq
/home/slt/riak-2.2.3/deps/riakc/src/riakc_pb_socket.erl:1586: variable 'NCOpt' is unused
/home/slt/riak-2.2.3/deps/riakc/src/riakc_pb_socket.erl:1648: variable 'NodeConfirms' is unused
ERROR: compile failed while processing /home/slt/riak-2.2.3/deps/riakc: rebar_abort
1585: put_options([{node_confirms, NodeConfirms} | Rest], Req) ->
1586: NCOpt = riak_pb_kv_codec:encode_quorum(NodeConfirms),
1587 put_options(Rest, Req#rpbputreq{node_confirms = NCOpt});
1548: counter_incr_options([{node_confirms, NodeConfirms} | Rest], Req) ->
1549: counter_incr_options(Rest, Req#rpbcounterupdatereq{node_confirms=riak_pb_kv_codec:encode_quorum(NodeConfirms)});