钢筋无法从R16B02上的源进行编译/扩建 [英] Rebar fails compiling / bulding from source on R16B02
问题描述
运行Erlang R16B02(通过源代码安装并编译,erl在路径上).
Running Erlang R16B02 (its installed through source and compiled, erl is on path).
重新编译:src/rebar_utils 重新编译:src/rebar_xref rebar_core中未捕获的错误:{'EXIT', {undef, [{crypto,start,[],[]}, {rebar,run_aux,2, [{file,"src/rebar.erl"},{line,163}]}, {钢筋,主要,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]错误1
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
推荐答案
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
这篇关于钢筋无法从R16B02上的源进行编译/扩建的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!