Open CHI-Ron opened 9 years ago
Hey Drew. We turned to your Docker script after running into trouble building basho_bench from source on Red Hat 7. The error that we encountered (and I suspect it's the same error that the Docker script is running into) was:
$ ./rebar get-deps
Uncaught error in rebar_core: {'EXIT',
{undef,
[{crypto,start,[],[]},
{rebar,run_aux,2,
[{file,"src/rebar.erl"},{line,196}]},
{rebar,main,1,
[{file,"src/rebar.erl"},{line,58}]},
{escript,run,2,
[{file,"escript.erl"},{line,747}]},
{escript,start,1,
[{file,"escript.erl"},{line,277}]},
{init,start_it,1,[]},
{init,start_em,1,[]}]}}
After some investigation, I came across Bryan's mailing list post: http://lists.basho.com/pipermail/riak-users_lists.basho.com/2014-May/015285.html
So, two questions: 1) Does the build script work for you still, against the latest basho_bench? and 2) If not, do you think it's the openssl issue above?
Though, hmmm, looking at the Docker error
Error loading module rebar:
use of opcode 153; this emulator supports only up to 152
more closely, it looks more to be like an Erlang-rebar mismatch, like here: https://github.com/elixir-lang/elixir/issues/1064
The crypto issue is definitely just the missing openssl-dev package, I've had that problem before. I haven't tried to run this docker package in quite some time, so I couldn't comment on its current state.
I built this on my mint laptop running docker 1.5.0 and got the following error. Dmitry is here with us and will comment further.