ejabberd - Comments for "ejabberd 15.11 MAC os custom module error[fixed]" https://www.ejabberd.im/forum/25298/ejabberd-1511-mac-os-custom-module-errorfixed en Here are steps to add your https://www.ejabberd.im/forum/25298/ejabberd-1511-mac-os-custom-module-errorfixed#comment-66825 <p>Here are steps to add your custom module into ejabberd</p> <p> - put your module into ejabberd/src folder.<br /> - come to ejabberd directory in terminal and run command $ sudo make<br /> - it will show you that your module is compiled. Now run $ sudo make install<br /> - Add your module into config file at /etc/ejabberd/ejabberd.yml<br /> - restart your ejabberd and your custom module will be running. You will see your msg in ejabberd log.</p> <p>ejabberd will take care of the .erl and .beam file on its own.</p> Fri, 11 Mar 2016 12:51:39 +0000 kunalsaxena comment 66825 at https://www.ejabberd.im i fixed this issue. 1. put https://www.ejabberd.im/forum/25298/ejabberd-1511-mac-os-custom-module-errorfixed#comment-66463 <p>i fixed this issue.</p> <p>1. put the module to /Application/ejabberd-15.11/lib/ejabberd-15.11/include<br /> 2. open the terminal<br /> 3.cd /Application/ejabberd-15.11/bin<br /> 4.<br /> ./erlc -DLAGER=true -I ../lib/ejabberd-15.11/include ../lib/ejabberd-15.11/include/mod_hello_world.erl </p> <p>5.<br /> put mod_hello_world.beam to /Application/ejabberd-15.11/lib/ejabberd-15.11/ebin</p> Wed, 23 Dec 2015 04:34:56 +0000 laukwongming comment 66463 at https://www.ejabberd.im