I have never written a single line of Erlang, but I run my own ejabberd. However, looking at the package build scripts and build instruction, I have the impression that compiling a project like ejabberd can be complicated.
Does someone know if this is an inherent Erlang problem or just due to some weird project setup in this case?