标签:uncaught error in rebar_core: {'exit'
编译rebar
[root@localhost ~]# cd rebar
[root@localhost rebar]# make
./bootstrap
Recompile: src/rebar
Recompile: src/rebar_abnfc_compiler
Recompile: src/rebar_app_utils
Recompile: src/rebar_appups
Recompile: src/rebar_asn1_compiler
Recompile: src/rebar_base_compiler
Recompile: src/rebar_cleaner
Recompile: src/rebar_config
Recompile: src/rebar_core
Recompile: src/rebar_cover_utils
Recompile: src/rebar_ct
Recompile: src/rebar_deps
Recompile: src/rebar_dia_compiler
Recompile: src/rebar_dialyzer
Recompile: src/rebar_edoc
Recompile: src/rebar_erlc_compiler
Recompile: src/rebar_erlydtl_compiler
Recompile: src/rebar_escripter
Recompile: src/rebar_eunit
Recompile: src/rebar_file_utils
Recompile: src/rebar_getopt
Recompile: src/rebar_lfe_compiler
Recompile: src/rebar_log
Recompile: src/rebar_metacmds
Recompile: src/rebar_mustache
Recompile: src/rebar_neotoma_compiler
Recompile: src/rebar_otp_app
Recompile: src/rebar_otp_appup
Recompile: src/rebar_port_compiler
Recompile: src/rebar_proto_compiler
Recompile: src/rebar_proto_gpb_compiler
Recompile: src/rebar_protobuffs_compiler
Recompile: src/rebar_qc
Recompile: src/rebar_rel_utils
Recompile: src/rebar_reltool
Recompile: src/rebar_require_vsn
Recompile: src/rebar_shell
Recompile: src/rebar_subdirs
Recompile: src/rebar_templater
Recompile: src/rebar_upgrade
Recompile: src/rebar_utils
Recompile: src/rebar_xref
Recompile: src/rmemo
{undef,
[{crypto,start,[]},
{rebar,run_aux,2},
{rebar,main,1},
{erl_eval,do_apply,5},
{escript,eval_exprs,5},
{erl_eval,local_func,5},
{escript,interpret,4},
{escript,start,1}]}}
make: *** [all] 错误 1
[root@localhost rebar]#
解决方法:
编译rebar时需要ssl模块,在配置时要指定ssl模块所在的路径
[root@localhost rebar]# ./configure --with-ssl=/opt/ssl/ --enable-threads --disable-hipe
rebar编译成功后
[root@localhost src]# cd rebar
[root@localhost rebar]# ./bootstrap
Recompile: src/rebar
Recompile: src/rebar_erlc_compiler
Recompile: src/rebar_escripter
Recompile: src/rebar_reltool
Recompile: src/rebar_subdirs
Recompile: src/rebar_upgrade
==> rebar (compile)
==> rebar (escriptize)
Congratulations! You now have a self-contained script called "rebar" in
your current working directory. Place this script anywhere in your path
and you can use rebar to
本文出自 “DOSOM” 博客,谢绝转载!
Uncaught error in rebar_core: {'EXIT',
标签:uncaught error in rebar_core: {'exit'
原文地址:http://8656934.blog.51cto.com/8646934/1730869