<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    Try to add the module manually in your application. It may be the
    dependence is not satisfied in your application if you use it
    explicitly. Not sure if that will solve the problem.<br>
    <br>
    <br>
    <br>
    On 11/02/2011 09:37 AM, Max Bourinov wrote:
    <blockquote
cite="mid:CANsaZAijKFHgVW4bOm_n_ijbB9XVd8_9fWC=CfhQSAnsf1z88Q@mail.gmail.com"
      type="cite">Thank guys! 
      <div>So I did remane to exmpp and it work, but I have another
        strange exception:</div>
      <div><br>
      </div>
      <div>{"init terminating in do_boot",{'cannot
        load',exmpp_client_compression,get_files}}</div>
      <div><br>
      </div>
      <div>File exmpp_client_compression.beam is lying next to exmpp.app</div>
      <div>
        <div><br>
        </div>
        <div>Any ideas?</div>
        <div><br>
          <br>
          <br>
          <div class="gmail_quote">On Wed, Nov 2, 2011 at 11:19 AM, Tim
            Watson <span dir="ltr"><<a moz-do-not-send="true"
                href="mailto:watson.timothy@gmail.com">watson.timothy@gmail.com</a>></span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
              0.8ex; border-left: 1px solid rgb(204, 204, 204);
              padding-left: 1ex;">
              It's the folder name. You need to remove the cruft after
              exmpp-a.b.c, so in this case strip the git commit info
              (i.e., -05-g6987a0a) from the folder name, and it should
              work.
              <div>
                <div class="h5"><br>
                  <br>
                  <div class="gmail_quote">
                    On 2 November 2011 08:17, Max Bourinov <span
                      dir="ltr"><<a moz-do-not-send="true"
                        href="mailto:bourinov@gmail.com" target="_blank">bourinov@gmail.com</a>></span>
                    wrote:<br>
                    <blockquote class="gmail_quote" style="margin: 0pt
                      0pt 0pt 0.8ex; border-left: 1px solid rgb(204,
                      204, 204); padding-left: 1ex;">exmpp already is in
                      the Erlang lib standard path:
                      <div><br>
                      </div>
                      <div>/usr/local/lib/erlang/lib/exmpp-0.9.8-05-g6987a0a</div>
                      <div><br>
                      </div>
                      <div>/usr/local/lib/erlang/lib/exmpp-0.9.8-05-g6987a0a/ebin/exmpp.app<br>
                        <br>
                        I checked it at first... So I think this is not
                        a reason.
                        <div>
                          <div><br>
                            <br>
                            <br>
                            <div class="gmail_quote">On Wed, Nov 2, 2011
                              at 11:10 AM, CGS <span dir="ltr"><<a
                                  moz-do-not-send="true"
                                  href="mailto:cgsmcmlxxv@gmail.com"
                                  target="_blank">cgsmcmlxxv@gmail.com</a>></span>
                              wrote:<br>
                              <blockquote class="gmail_quote"
                                style="margin: 0pt 0pt 0pt 0.8ex;
                                border-left: 1px solid rgb(204, 204,
                                204); padding-left: 1ex;">
                                <div text="#000000" bgcolor="#ffffff">
                                  You need to include the path toward
                                  you exmpp or put exmpp into the Erlang
                                  lib standard path. It looks like your
                                  application doesn't know from where to
                                  take exmpp.<br>
                                  <br>
                                  Cheers,<br>
                                  CGS
                                  <div>
                                    <div><br>
                                      <br>
                                      <br>
                                      <br>
                                      On 11/02/2011 08:54 AM, Max
                                      Bourinov wrote: </div>
                                  </div>
                                  <blockquote type="cite">
                                    <div>
                                      <div>Hi guys,
                                        <div><br>
                                        </div>
                                        <div>I have rebar-ized project
                                          that uses exmpp library. exmpp
                                          library installed in my system
                                          (sudo make install).</div>
                                        <div><br>
                                        </div>
                                        <div>
                                          <div>Since there is no
                                            properly rebar-ized exmpp I
                                            try to run in in my
                                            application code manually
                                            instead of starting it in
                                            processor.app:</div>
                                          <div><br>
                                          </div>
                                          <div>
                                            <div><font face="'courier
                                                new', monospace">start(_StartType,
                                                _StartArgs) -></font></div>
                                            <div><font face="'courier
                                                new', monospace"><span
                                                  style="white-space:
                                                  pre-wrap;"> </span>ok
                                                =
                                                application:start(exmpp),</font></div>
                                            <div><font face="'courier
                                                new', monospace"><span
                                                  style="white-space:
                                                  pre-wrap;"> </span>processor_sup:start_link().</font></div>
                                          </div>
                                        </div>
                                        <div><font face="'courier new',
                                            monospace"><br>
                                          </font></div>
                                        <div>When I test my application
                                          (not release) everything work
                                          like a charm.</div>
                                        <div><br>
                                        </div>
                                        <div>But when I do:</div>
                                        <div><br>
                                        </div>
                                        <div><font face="'courier new',
                                            monospace">./rebar compile</font></div>
                                        <div><font face="'courier new',
                                            monospace">./rebar generate</font></div>
                                        <div><br>
                                        </div>
                                        <div>and then run released node
                                          I have the following
                                          exception:</div>
                                        <div><br>
                                        </div>
                                        <div>
                                          <div><font face="'courier
                                              new', monospace">Erlang
                                              R14B04 (erts-5.8.5)
                                              [source] [smp:2:2] [rq:2]
                                              [async-threads:5] [hipe]
                                              [kernel-poll:true]</font></div>
                                          <div><font face="'courier
                                              new', monospace"><br>
                                            </font></div>
                                          <div><font face="'courier
                                              new', monospace"><br>
                                            </font></div>
                                          <div><font face="'courier
                                              new', monospace">=INFO
                                              REPORT====
                                              2-Nov-2011::10:38:08 ===</font></div>
                                          <div><font face="'courier
                                              new', monospace">   
                                              application: processor</font></div>
                                          <div><font face="'courier
                                              new', monospace">   
                                              exited: {bad_return,</font></div>
                                          <div><font face="'courier
                                              new', monospace">         
                                                   
                                              {{processor_app,start,[normal,[]]},</font></div>
                                          <div><font face="'courier
                                              new', monospace">         
                                                     {'EXIT',</font></div>
                                          <div><font face="'courier
                                              new', monospace">         
                                                         {{badmatch,</font></div>
                                          <div><font face="'courier
                                              new', monospace">         
                                                             
                                              {error,{"no such file or
                                              directory","exmpp.app"}}},</font></div>
                                          <div><font face="'courier
                                              new', monospace">         
                                                         
                                              [{processor_app,start,2},</font></div>
                                          <div><font face="'courier
                                              new', monospace">         
                                                         
                                               {application_master,start_it_old,4}]}}}}</font></div>
                                          <div><font face="'courier
                                              new', monospace">    type:
                                              permanent</font></div>
                                          <div><font face="'courier
                                              new', monospace">{"Kernel
                                              pid
terminated",application_controller,"{application_start_failure,processor,{bad_return,{{processor_app,start,[normal,[]]},{'EXIT',{{badmatch,{error,{[110,111,32,115,117,99,104,32,102,105,108,101,32,111,114,32,100,105,114,101,99,116,111,114,121],[101,120,109,112,112,46,97,112,112]}}},[{processor_app,start,2},{application_master,start_it_old,4}]}}}}}"}</font></div>
                                          <div><font face="'courier
                                              new', monospace"><br>
                                            </font></div>
                                          <div><font face="'courier
                                              new', monospace">Crash
                                              dump was written to:
                                              erl_crash.dump</font></div>
                                          <div><font face="'courier
                                              new', monospace">Kernel
                                              pid terminated
                                              (application_controller)
({application_start_failure,processor,{bad_return,{{processor_app,start,[normal,[]]},{'EXIT',{{badmatch,{error,{[110,111,32,115,117,99,104,32,102,105,1</font></div>
                                        </div>
                                        <div><br>
                                        </div>
                                        <div>As I already said this
                                          approach doesn't work. Do you
                                          have any ideas how to properly
                                          configure my app to use exmpp?</div>
                                        <div><br>
                                        </div>
                                        <div>Best regards,</div>
                                        <div>Max</div>
                                        <div><br>
                                        </div>
                                      </div>
                                    </div>
                                    <pre><fieldset></fieldset>
_______________________________________________
erlang-questions mailing list
<a moz-do-not-send="true" href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a>
<a moz-do-not-send="true" href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a>
</pre>
                                  </blockquote>
                                  <br>
                                </div>
                                <br>
_______________________________________________<br>
                                erlang-questions mailing list<br>
                                <a moz-do-not-send="true"
                                  href="mailto:erlang-questions@erlang.org"
                                  target="_blank">erlang-questions@erlang.org</a><br>
                                <a moz-do-not-send="true"
                                  href="http://erlang.org/mailman/listinfo/erlang-questions"
                                  target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
                                <br>
                              </blockquote>
                            </div>
                            <br>
                          </div>
                        </div>
                      </div>
                      <br>
                      _______________________________________________<br>
                      erlang-questions mailing list<br>
                      <a moz-do-not-send="true"
                        href="mailto:erlang-questions@erlang.org"
                        target="_blank">erlang-questions@erlang.org</a><br>
                      <a moz-do-not-send="true"
                        href="http://erlang.org/mailman/listinfo/erlang-questions"
                        target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
                      <br>
                    </blockquote>
                  </div>
                  <br>
                </div>
              </div>
            </blockquote>
          </div>
          <br>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>