Error
When I try to compile an ejabberd module I get this error:
$ cd ejabberd-modules/mod_admin_extra/trunk $ ./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 ()What does that mean, how can I fix it, and how can I compile the module?
Solution
When it says:
{undef,[{make,all,[]}it means it can't find the file make.beam which is included in Erlang/OTP. Depending in your operating system, the package that includes that file may be named erlang-nox (in older Debian), erlang-tools (in newer Debian), erlang-dev, ... Try to install packages named like this, and then retry to compile.
By the way, if later the compilation says something like this:
Warning: undefined callback function handle_event/3 (behaviour 'gen_fsm')this just indicates that the developer didn't care to implement some functions he didn't need. Don't worry.