Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does these errors mean in riak install?

Missing plugins: [rebar_lock_deps_plugin]?

ERROR: OTP release 18 does not match required regex R16|17?

I have installed and running erlang and otp v17: [{release,"Erlang/OTP","17","6.4",...

I have OpenSSl installed (1.0.1f)

I did install all other required dependencies needed to install riak.

Cant seem to find solution to this. Please Help!!

like image 394
superjaakko Avatar asked Jun 26 '15 12:06

superjaakko


2 Answers

The problem resides in riak/rebar.config file. There is a regex comparing the OTP with R16, but it seems that after OTP 17 the "R" character got discarded.

Editing rebar.config before make rel is enough.

Tested with riak-2.0.6

like image 126
pelaillo Avatar answered Nov 07 '22 08:11

pelaillo


I changed it to

{require_otp_vsn, "R16|17|21"}.

But another failure

Compiling /Users/yuanwen/git/riak-2.2.3/deps/cluster_info/src/cluster_info_basic.erl failed: /Users/yuanwen/git/riak-2.2.3/deps/cluster_info/src/cluster_info_basic.erl:81: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace /Users/yuanwen/git/riak-2.2.3/deps/cluster_info/src/cluster_info_basic.erl:171: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace

occured!

So still need to install Erlang/OTP 17 instead of the latest version

like image 28
Yuan Wen Avatar answered Nov 07 '22 07:11

Yuan Wen