2016-08-26 5 views
1

私はElixirにはとても新しく、https://docs.ejabberd.im/developer/elixir/(Erlang/OTP 19とElixir 1.3.2にあります)ページの指示に従ってejabberdを設定しようとしています。ejabberdがElixirでコンパイルに失敗しました

mix compileを行うとき、私はコンパイルエラーに終了し、非常に長い画面出力を得る:

...

           {line,1239}]}, 
               {lager_transform,walk_ast,2, 
               [{file, 
               "/media/common/code/elixir/ejapp/deps/lager/src/lager_transform.erl"}, 
               {line,62}]}, 
               {compile, 
               '-foldl_transform/2-anonymous-2-', 
               2, 
               [{file,"compile.erl"}, 
               {line,958}]}, 
               {compile,foldl_transform,2, 
               [{file,"compile.erl"}, 
               {line,960}]}, 
               {compile, 
               '-internal_comp/4-anonymous-1-', 
               2, 
               [{file,"compile.erl"}, 
               {line,315}]}, 
               {compile,fold_comp,3, 
               [{file,"compile.erl"}, 
               {line,341}]}, 
               {compile,internal_comp,4, 
               [{file,"compile.erl"}, 
               {line,325}]}, 
               {compile, 
               '-do_compile/2-anonymous-0-',2, 
               [{file,"compile.erl"}, 
               {line,175}]}]} 
could not compile dependency :ejabberd, "mix compile" failed. You can recompile this dependency with "mix deps.compile ejabberd", update it with "mix deps.update ejabberd" or clean it with "mix deps.clean ejabberd" 
==> ejapp 
** (Mix) Encountered compilation errors 

私が間違って何見当がつかないとどのようにそれを修正します。 lagerと呼ばれるものに何か問題があるようですが、修正方法はわかりません。助けてください!

答えて

1

ejabberdはまだErlang 19の準備が整っていないことが判明しました。その依存関係のいくつかはOTP 18の世界でまだ生きているようです。だから私はErlangを18に、Elixirを1.2.6に格下げしました。

関連する問題