简体   繁体   English

钢筋Jiffy依赖项不可用

[英]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 : 这就是我的Depsrebar.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.

相关问题 Json(Jiffy)对ejabberd 2.1.11的支持 - Json (jiffy) support for ejabberd 2.1.11 如何在MongooseIM的rebar.config中添加调试器应用程序? - How to add debugger app in the rebar.config in MongooseIM? 连接超时在“ ./rebar get-deps” /编译EJabberd - Connection Timeout at “./rebar get-deps” / compiling EJabberd 可用后,Ejabberd将关闭BOSH会话 - Ejabberd Closes BOSH session after available presence 使用Mix编译Phoenix应用程序的Ejabberd依赖项时出错:无法编译依赖项:ejabberd,“ mix compile”失败 - Error compiling Ejabberd dependency of a Phoenix application with Mix: could not compile dependency :ejabberd, “mix compile” failed Ejabberd 正在使用所有可用的 CPU,如何调试 - Ejabberd is using all available CPU, how to debug java.io.EOFException:没有更多可用数据 - 预期的结束标记 </stream:stream> 关闭开始标记 <stream:stream> - java.io.EOFException: no more data available - expected end tag </stream:stream> to close start tag <stream:stream> 由于服务不可用,Muc指示灯不起作用 - Muc light not working due to service not available ejabberdctl mod_http_bind 模块不可用 - ejabberdctl mod_http_bind module not available ejabberd.cfg文件在哪里可用? 如何在Windows OS中将db从Mnesia更改为mySQL? - where is ejabberd.cfg file available ? How to change db from mnesia to mySQL in windows os?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM