私は ejabberd をダウンロードし、次のことも行いました。
sudo port install 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 経由でインストールしたので、erlang も持っています。ただし、モジュールをインストールできません。Mac OSX Mountain Lion を使用しています。
どんな助けでも素晴らしいでしょう。