2013-11-23 62 views
0

运行Erlang R16B02(通过源代码安装并编译,erl位于路径中)。Rebar无法从R16B02上的源代码编译/构建

重新编译:SRC/rebar_utils 重新编译:在rebar_core SRC/rebar_xref 未捕获的错误:{ '退出', {是undef, [{加密,启动,[],[]}, {钢筋, run_aux,2, [{file,“src/rebar.erl”},{line,163}]}, {rebar,main,1, [{file,“src/rebar.erl”},{line ,}}, {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,启动,1, [{文件, “escript.erl”},{线,277}]}]}} 化妆:* [全部]错误1

+1

的可能重复[螺纹钢:上创建应用程序内的错误退出:{密码,启动\ [\]}](http://stackoverflow.com/questions/4742184/rebar -error-exit-on-create-app-crypto-start) – legoscia

+0

你在编译Erlang之前安装了openssl-devel吗?见https://github.com/basho/rebar/issues/375 – johlo

+0

确实,甚至尝试过yum install * openssl * – ptomasroos

回答

0

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

0

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

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