[英]Error compiling Ejabberd dependency of a Phoenix application with Mix: could not compile dependency :ejabberd, “mix compile” failed
[英]ejabberd compile error
我是一個很大的erlang新手,在編譯ejabberd時,出現以下錯誤:
make[1]: Entering directory `/usr/src/ejabberd-2.0.5/src/mod_muc'
/usr/local/bin/erlc -W -I .. -pz .. -o .. mod_muc_room.erl
Function: '-process_admin_items_set/4-fun-0-'/2
./mod_muc_room.erl:none: internal error in v3_codegen;
crash reason: {{case_clause,
{'EXIT',
{function_clause,
[{v3_codegen,longest,
[[{ker39},{ker38},{ker37},{ker36},{cor36}],
[]]},
{v3_codegen,longest,2},
{v3_codegen,sr_merge,2},
{v3_codegen,match_cg,5},
{v3_codegen,guard_match_cg,6},
{v3_codegen,guard_cg,5},
{v3_codegen,'-guard_cg_list/6-anonymous-0-',4},
{v3_codegen,flatmapfoldl,3}]}}},
[{compile,'-select_passes/2-anonymous-2-',2},
{compile,'-internal_comp/4-anonymous-1-',2},
{compile,fold_comp,3},
{compile,internal_comp,4},
{compile,internal,3}]}
make[1]: *** [../mod_muc_room.beam] Error 1
make[1]: Leaving directory `/usr/src/ejabberd-2.0.5/src/mod_muc'
make: *** [all-recursive] Error 1
是什么原因造成的?
這是R13A中的內部編譯器錯誤-自2009-04-15_18起已在R13B快照中修復。 R13B-0將於2009年4月22日星期三發布,並且mod_muc可以對此進行很好的編譯。
但是,ejabberd尚不完全與R13B兼容-ram_file_io服務器不支持IO服務器協議中的新unicode選項,因此,在修復該問題之前,您將無法使用R13B成功啟動ejabberd。 目前最好的選擇是R12B-5。
這是內部 Erlang 編譯器錯誤 。 請升級您的Erlang運行時。 也許Erlang R12B-5是最佳選擇。
快速搜索顯示來自Erlang / OTP團隊的電子郵件 。 指出該錯誤在R12B-0之前存在,因此可能已在較新的版本中修復。
Erlang R12B-5在這里可用:
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.