ptomasroos
ptomasroos

Reputation: 1139

Rebar fails compiling / bulding from source on R16B02

Running Erlang R16B02 (its installed through source and compiled, erl is on path).

Recompile: src/rebar_utils Recompile: src/rebar_xref Uncaught error in rebar_core: {'EXIT', {undef, [{crypto,start,[],[]}, {rebar,run_aux,2, [{file,"src/rebar.erl"},{line,163}]}, {rebar,main,1, [{file,"src/rebar.erl"},{line,58}]}, {erl_eval,do_apply,6, [{file,"erl_eval.erl"},{line,569}]}, {escript,eval_exprs,5, [{file,"escript.erl"},{line,856}]}, {erl_eval,local_func,5, [{file,"erl_eval.erl"},{line,467}]}, {escript,interpret,4, [{file,"escript.erl"},{line,774}]}, {escript,start,1, [{file,"escript.erl"},{line,277}]}]}} make: * [all] Error 1

Upvotes: 1

Views: 756

Answers (2)

Greg
Greg

Reputation: 8340

This could be related to the problem with compiling Erlang R16 on RedHat reported in the post on Erlang forum. They propose to compile with:

CFLAGS="-DOPENSSL_NO_EC=1" ./configure && make && sudo make install

Upvotes: 0

user56250
user56250

Reputation:

You have to install openssl-devel and recompile erlang.

Upvotes: 0

Related Questions