Rebar Jiffy 依赖项不可用
Rebar Jiffy dependency not available
我正在尝试添加 davisp/jiffy as a rebar dependency in Ejabberd so I can do some JSON parsing in my modules. I found this tutorial,他们将 Jiffy 添加为另一个项目的依赖项,但它没有用。我稍微调整了一下以匹配他们在 Ejabberd 中导入其他依赖项的方式,但它仍然不起作用。这就是我的 Deps
在 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"}}],
调用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
我做错了什么?
我不知道为什么,但是 make clean
然后 make
又让它起作用了。我通过制作教程中的 Canillita 东西并看到它与 Jiffy 没有问题来解决这个问题,所以我认为这是因为我正在清理它。
我正在尝试添加 davisp/jiffy as a rebar dependency in Ejabberd so I can do some JSON parsing in my modules. I found this tutorial,他们将 Jiffy 添加为另一个项目的依赖项,但它没有用。我稍微调整了一下以匹配他们在 Ejabberd 中导入其他依赖项的方式,但它仍然不起作用。这就是我的 Deps
在 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"}}],
调用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
我做错了什么?
我不知道为什么,但是 make clean
然后 make
又让它起作用了。我通过制作教程中的 Canillita 东西并看到它与 Jiffy 没有问题来解决这个问题,所以我认为这是因为我正在清理它。