我试图在CentOS 7上从源代码构建Riak2.1.3,但是Uncaught error in rebar_core的构建失败了。
步骤顺序如下:
$ ./kerl build git git://github.com/basho/otp.git OTP_R16B02_basho8 R16B02-basho8 $ ./kerl install R16B02-basho8 ~/erlang/R16B02-basho8 $ . ~/erlang/R16B02-basho8/activate
$ git clone https://github.com/basho/riak.git $ cd riak $ git checkout riak-2.1.3 $ make rel
对于这个过程,我得到了错误:
[juriy@dbvm riak]$ make rel Using rebar.config.lock file to fetch dependencies ./rebar -C rebar.config.lock get-deps Uncaught error in rebar_core: {'EXIT', {undef, [{crypto,start,[],[]}, {rebar,run_aux,2, [{file,"src/rebar.erl"},{line,212}]}, {rebar,main,1, [{file,"src/rebar.erl"},{line,58}]}, {escript,run,2, [{file,"escript.erl"},{line,747}]}, {escript,start,1, [{file,"escript.erl"},{line,277}]}, {init,start_it,1,[]}, {init,start_em,1,[]}]}}
我还试图从源代码构建Erlang,结果也是一样。以下是命令的确切列表:
wget http://s3.amazonaws.com/downloads.basho.com/erlang/otp_src_R16B02-basho8.tar.gz tar zxvf otp_src_R16B02-basho8.tar.gz cd OTP_R16B02_basho8 ./otp_build autoconf ./configure && make && sudo make install
发布于 2016-04-09 15:22:21
https://stackoverflow.com/questions/36514052
复制相似问题