Rebar fails compiling / bulding from source on R16B02

霸气de小男生 提交于 2019-12-11 14:51:28

问题


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


回答1:


You have to install openssl-devel and recompile erlang.




回答2:


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


来源:https://stackoverflow.com/questions/20166216/rebar-fails-compiling-bulding-from-source-on-r16b02

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!