I'm trying to set up http pre-binding but am having difficulties.
Firstly, if I send
<body content='text/xml; charset=utf-8' hold='1' rid='3775588' to='xmpp.example.com' route='http://xmpp.example.com:5280/http-bind/' ver='1.6' wait='60' ack='1' xml:lang='en' xmlns='http://jabber.org/protocol/httpbind'/>
I receive
<iq from='xmpp.example.com' to='username@xmpp.example.com/JabberClass' id='ver_a1e51180dd61e782339b9dd11d56dad7' type='result'><query xmlns='jabber:iq:version'><name>ejabberd</name><version>2.0.1</version><os>unix/linux 2.6.26</os></query></iq>
I'm expecting to receive a body stanza with an sid attribute. I assume that's not happening because I need to set up an HTTP pre-binding mod for ejabberd.
I'm trying to build the mod at
# ./build.sh
{"init terminating in do_boot",{undef,[{make,all,[]},{init,start_it,1},{init,start_em,1}]}}
Crash dump was written to: erl_crash.dump
init terminating in do_boot ()
Any ideas of what I should do to get this working?
Thanks,
Aaron Winborn
(Cross-posted at
When it
When it says:
it means it can't find the file make.beam. Install erlang-nox, or erlang-dev, or a similar package depending on your OS.
When it says:
this just indicates that the developer didn't care to implement some functions he didn't need. Don't worry.
Thanks. Yes, I eventually
Thanks. Yes, I eventually realized you need to
sudo aptitude install erlang-dev
to compile beam files. Good to know about the second bit.