[英]Rebar Jiffy dependency not available
I'm trying to add davisp/jiffy as a rebar dependency in Ejabberd so I can do some JSON parsing in my modules. 我正在尝试将davisp / jiffy添加为Ejabberd中的钢筋依赖项,以便可以在模块中进行一些JSON解析。 I found this tutorial , where they add Jiffy as a dependency for a different project, but it didn't work. 我找到了本教程 ,他们在其中添加了Jiffy作为其他项目的依赖项,但是没有用。 I tweaked it a little to match how they import other dependencies in Ejabberd, and it still didn't work. 我进行了一些调整,以匹配他们如何在Ejabberd中导入其他依赖项,但仍然无法正常工作。 This is what my Deps
looks like in rebar.config.script
: 这就是我的Deps
在rebar.config.script
中的rebar.config.script
:
Deps = [{p1_cache_tab, ".*", {git, "git://github.com/processone/cache_tab"}},
{p1_tls, ".*", {git, "git://github.com/processone/tls"}},
{p1_stringprep, ".*", {git, "git://github.com/processone/stringprep"}},
{p1_xml, ".*", {git, "git://github.com/processone/xml"}},
{esip, ".*", {git, "git://github.com/processone/p1_sip"}},
{jiffy, "0.*", {git, "git://github.com/davisp/jiffy"}},
{p1_stun, ".*", {git, "git://github.com/processone/stun"}},
{p1_yaml, ".*", {git, "git://github.com/processone/p1_yaml"}},
{ehyperloglog, ".*", {git, "https://github.com/vaxelfel/eHyperLogLog.git"}},
{p1_utils, ".*", {git, "git://github.com/processone/p1_utils"}}],
Output of calling make
: 调用make
输出:
ejabberd@ubuntuserver:~/ejabberd$ make
/usr/lib/erlang/bin/escript rebar skip_deps=true compile
==> rel (compile)
==> avalanche (compile)
Dependency not available: jiffy-0.* ({git,"git://github.com/davisp/jiffy"})
ERROR: compile failed while processing /home/ejabberd/avalanche: rebar_abort
make: *** [src] Error 1
What am I doing wrong? 我究竟做错了什么?
I don't know why, but make clean
then make
again made it work. 我不知道为什么,但make clean
,然后make
再次使工作。 I figured this out by making that Canillita thing from the tutorial and seeing that it had no problem with Jiffy, so I assumed it was because I was making it clean. 我通过在教程中制作Canillita东西,并发现它与Jiffy没问题,从而弄清楚了这一点,所以我认为这是因为我正在整理它。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.