我已经下载ejabberd,甚至做了:安装ejabberd-的WebSockets模块
sudo的港口安装ejabberd
在此之后,我试图安装从ejabberd-的WebSocket模块在这里:https://github.com/superfeedr/ejabberd-websockets
然而,尝试像我,我可能现在无法通过发行进行安装:
运行./build.sh
这是我得到的错误:
Recompile: src/mod_websocket
src/mod_websocket.erl:22: can't find include file "ejabberd.hrl"
src/mod_websocket.erl:23: can't find include file "jlib.hrl"
src/mod_websocket.erl:36: undefined macro 'DEBUG/2'
src/mod_websocket.erl:16: function process/2 undefined
src/mod_websocket.erl:14: Warning: behaviour gen_mod undefined
src/mod_websocket.erl:95: Warning: function validate_origin/1 is unused
src/mod_websocket.erl:171: Warning: function build_stream_end/0 is unused
我甚至有二郎我的MacPorts通过安装了它。但是,我无法安装该模块。 我使用的是Mac OSX Mountain Lion。
任何帮助将是伟大的。