Rebar无法在R16B02上从源代码编译/构建

时间:2013-11-23 18:31:22

标签: erlang rebar

运行Erlang R16B02(通过源安装并编译,erl在路径上)。

  

重新编译:src / rebar_utils   重新编译:src / rebar_xref   rebar_core中未捕获的错误:{'EXIT',                                  {民主基金,                                   [{加密,启动,[],[]},                                    {钢筋,run_aux,2,                                     [{文件, “SRC / rebar.erl”},{线,163}]},                                    {钢筋,主,1,                                     [{文件, “SRC / rebar.erl”},{线,58}]},                                    {erl_eval,do_apply,6,                                     [{文件, “erl_eval.erl”},{线,569}]},                                    {escript,eval_exprs,5,                                     [{文件, “escript.erl”},{线,856}]},                                    {erl_eval,local_func,5,                                     [{文件, “erl_eval.erl”},{线,467}]},                                    {escript,解释,图4,                                     [{文件, “escript.erl”},{线,774}]},                                    {escript,启动,1,                                     [{文件, “escript.erl”},{线,277}]}]}}   make: * [all]错误1

2 个答案:

答案 0 :(得分:0)

您必须安装openssl-devel并重新编译erlang。

答案 1 :(得分:0)

这可能与编译post on Erlang forum中报告的RedHat上的Erlang R16的问题有关。他们建议编译:

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