title: ejabberd and Erlang installation with lager_transform undefined
body: <p>I am new to Erlang, I have been trying to install Erlang and ejabberd on EC2 ubuntu machine, everything went well till I started compiling some external modules in <code>ejabberd</code>. It started throwing error <code>undefined parse transform 'lager_transform'</code>. </p>
  
  <p>I tried everything which is as below:</p>
  
  <ol>
  <li>Did rebar <code>get-deps</code>, <code>make clean</code>, <code>make deps</code>, <code>make install</code>. After this I am able to see that lager_transform.beam is made and present in <code>/lib/</code> folder.</li>
  <li>Checked rebar.config file, it had lager deps on top, which is widely suggested, no help even after that.</li>
  <li>Added <code>-compile[{parse_tranform},{lager_transform}]</code> on top of module, even then their is no luck.</li>
  </ol>
  
  <p>I am really blocked on this, and not able to complete the installation. I have done this before on fedora with ejabberd 15.11 and otp 18.2, at that time it was using <code>p1_logger</code> instead of lager. But now when I am installing fresh with otp 18.2 and ejabberd 16.0 or 15.11, I am getting <code>lager_transform undefined error</code>.</p>