问题描述
所以我需要从git快照中构建(注意:还有最近的官方快照共享相同的问题)。
So I need to build riak from git snapshot, (note: there's also a recent official snapshot sharing same problem).
在构建期间,发生以下情况:
During build, following happens:
Generating dev1 - node='[email protected]' yzsolrjmx=10013 yzsolr=10014 pbc=10017 http=10018 handoff=10019
(cd rel && ../rebar generate target_dir=../dev/dev1 overlay_vars=vars/dev1_vars.config)
==> rel (generate)
ERROR: generate failed while processing /tmp/riak/rel: {'EXIT',{{badmatch,{error,"Module mochijson2 potentially included by two different applications: mochiweb and rabbit."}},
它看起来像一个经典的从哪里继承的问题,我不认为不包括任何一个模块完全不会分发将有所帮助(尽管如果这样 - 如果它保留RMQ,我将要消除兔子支持)。
It looks like a classic "from where to inherit" problem, and I don't think that excluding either module completely from distribution will help (although, if it does - I'm going to expunge rabbit support if it stays for RMQ).
然而,更奇怪的是:对于兔子, grep
显示没有源树点,可以将其删除。 WTF?
However, it's even more strange: grep
for rabbit shows no source tree points, where it can nbe removed. WTF?
推荐答案
当reltool发现两个应用程序共享相同的模块时,这是一个常见问题。
This is a common problem when reltool finds two applications share the same module.
你有兔子在/ tmp / rabbit周围,还是安装在ERL_LIBS?
Do you have rabbit somewhere around /tmp/rabbit or maybe it's installed in ERL_LIBS?
这篇关于Erlang(钢筋?):固定“潜在地包括在两个不同的应用”错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!