<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    ok, that's an option as well.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 17/08/15 16:34, José Seabra wrote:<br>
    </div>
    <blockquote
cite="mid:CAEVZRWvK5FQzykNXhLmuNs+yc3un10ZcX0=d1LA=R_uCE6cXAA@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hello Daniel,
        <div>Thank you for your reply and advice.</div>
        <div><br>
        </div>
        <div>instead of changing Make file i have compiled it with
          following parameters</div>
        <div><br>
        </div>
        <div>
          <div>./autogen.sh --prefix=/usr --libdir=/usr/lib64</div>
          <div>gmake</div>
          <div>sudo gmake install</div>
        </div>
        <div><br>
        </div>
        <div>the libdir by default is on /usr/lib.</div>
        <div><br>
        </div>
        <div>Best Regards</div>
        <div>José Seabra</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">2015-08-17 13:18 GMT+01:00
          Daniel-Constantin Mierla <span dir="ltr"><<a
              moz-do-not-send="true" href="mailto:miconda@gmail.com"
              target="_blank">miconda@gmail.com</a>></span>:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000"> Hello,<br>
              <br>
              you installed from sources, most probably without the
              pkg-config options. You have to edit Makefile inside the
              module folder and set the path to your installation in
              DEFS and LIBS variables.<br>
              <br>
              Cheers,<br>
              Daniel
              <div>
                <div class="h5"><br>
                  <br>
                  <div>On 17/08/15 12:01, José Seabra wrote:<br>
                  </div>
                </div>
              </div>
              <blockquote type="cite">
                <div>
                  <div class="h5">
                    <div dir="ltr">Hello all,
                      <div>I'm trying to build db_mongodb module but i'm
                        facing some problems, please take a look at logs
                        messages below:</div>
                      <div><br>
                      </div>
                      <div>
                        <div> make</div>
                        <div><br>
                        </div>
                        <div>CC (gcc) [M db_mongodb.so]<span
                            style="white-space:pre-wrap"> </span>mongodb_connection.o</div>
                        <div>In file included from
                          mongodb_connection.c:24:</div>
                        <div><b>mongodb_connection.h:26:20: warning:
                            mongoc.h: No such file or directory</b></div>
                        <div><b>mongodb_connection.h:27:18: warning:
                            bson.h: No such file or directory</b></div>
                        <div>In file included from
                          mongodb_connection.c:24:</div>
                        <div>mongodb_connection.h:37: error: expected
                          specifier-qualifier-list before
                          ‘mongoc_client_t’</div>
                        <div>mongodb_connection.c: In function
                          ‘db_mongodb_new_connection’:</div>
                        <div>mongodb_connection.c:48: warning: implicit
                          declaration of function ‘mongoc_init’</div>
                        <div>mongodb_connection.c:49: error:
                          ‘km_mongodb_con_t’ has no member named ‘con’</div>
                        <div>mongodb_connection.c:49: warning: implicit
                          declaration of function ‘mongoc_client_new’</div>
                        <div>mongodb_connection.c:50: error:
                          ‘km_mongodb_con_t’ has no member named ‘con’</div>
                        <div>mongodb_connection.c: In function
                          ‘db_mongodb_free_connection’:</div>
                        <div>mongodb_connection.c:78: error:
                          ‘km_mongodb_con_t’ has no member named ‘con’</div>
                        <div>mongodb_connection.c:79: warning: implicit
                          declaration of function
                          ‘mongoc_client_destroy’</div>
                        <div>mongodb_connection.c:79: error:
                          ‘km_mongodb_con_t’ has no member named ‘con’</div>
                        <div>make: *** [mongodb_connection.o] Error 1</div>
                        <div><br>
                        </div>
                        <div>[root@ccp1 db_mongodb]# locate bson.h</div>
                        <div>/usr/local/include/libbson-1.0/bson.h</div>
                        <div>/usr/local/src/mongo-c-driver/src/libbson/src/bson/bson.h</div>
                        <div>/usr/local/src/mongo-c-driver-1.1.10/src/libbson/doc/html/streaming-bson.html</div>
                        <div>/usr/local/src/mongo-c-driver-1.1.10/src/libbson/src/bson/bson.h</div>
                        <div><br>
                        </div>
                        <div>[root@ccp1 db_mongodb]# locate mongoc.h</div>
                        <div>/usr/local/include/libmongoc-1.0/mongoc.h</div>
                        <div>/usr/local/src/mongo-c-driver/src/mongoc/mongoc.h</div>
                        <div>/usr/local/src/mongo-c-driver/tests/test-libmongoc.h</div>
                        <div>/usr/local/src/mongo-c-driver-1.1.10/src/mongoc/mongoc.h</div>
                        <div>/usr/local/src/mongo-c-driver-1.1.10/tests/test-libmongoc.h</div>
                        <div><br>
                        </div>
                        I have installed mongo-c-driver successfully
                         and the header files(bson.h, mongoc.h) are
                        located at
                        /usr/local/src/mongo-c-driver/src/mongoc.</div>
                      <div><br>
                      </div>
                      <div>Can someone help me?<br clear="all">
                        <div><br>
                        </div>
                        -- <br>
                        <div>Cumprimentos
                          <div>José Seabra</div>
                        </div>
                        <a moz-do-not-send="true"
                          href="http://store.itcenter.com.pt/"
                          style="margin-left:10px;width:23px;min-height:23px;display:block"
                          target="_blank"><img moz-do-not-send="true"
src="http://www.itcenter.com.pt/email/assinatura-email-itcenter_store.jpg"
                            alt="ITCENTER Store" title="ITCENTER Store"></a><a
                          moz-do-not-send="true"
                          href="http://support.itcenter.com.pt/otrs/customer.pl"
style="margin-left:10px;width:23px;min-height:23px;display:block"
                          target="_blank"><img moz-do-not-send="true"
src="http://www.itcenter.com.pt/email/assinatura-email-itcenter_helpdesk.jpg"
                            alt="ITCENTER Helpdesk" title="ITCENTER
                            Helpdesk"></a>
                        <table style="border-collapse:collapse">
                          <tbody>
                            <tr width="100" style="float:right">
                              <td
                                style="float:right;margin-left:5px;padding:0px"><a
                                  moz-do-not-send="true"
                                  href="https://www.facebook.com/itcenterpt"
style="margin-left:5px;width:23px;min-height:23px;display:block"
                                  target="_blank"><img
                                    moz-do-not-send="true"
src="http://www.itcenter.com.pt/email/assinatura-email-itcenter_facebook.jpg"
                                    alt="ITCENTER Facebook"></a></td>
                              <td
                                style="float:right;margin-left:5px;padding:0px"><a
                                  moz-do-not-send="true"
                                  href="https://www.linkedin.com/company/itcenter"
style="margin-left:5px;width:23px;min-height:23px;display:block"
                                  target="_blank"><img
                                    moz-do-not-send="true"
src="http://www.itcenter.com.pt/email/assinatura-email-itcenter_linkedin.jpg"
                                    alt="ITCENTER Linkedin"></a></td>
                              <td style="float:right;padding:0px"><a
                                  moz-do-not-send="true"
                                  href="https://twitter.com/ITCenter_PT"
style="margin-left:5px;width:23px;min-height:23px;display:block"
                                  target="_blank"><img
                                    moz-do-not-send="true"
src="http://www.itcenter.com.pt/email/assinatura-email-itcenter_twitter.jpg"
                                    alt="ITCENTER Twitter"></a>
                                <div><br>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                    </div>
                    <br>
                    <fieldset></fieldset>
                    <br>
                  </div>
                </div>
                <pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a moz-do-not-send="true" href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a moz-do-not-send="true" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><span class="HOEnZb"><font color="#888888">
</font></span></pre>
                <span class="HOEnZb"><font color="#888888"> </font></span></blockquote>
              <span class="HOEnZb"><font color="#888888"> <br>
                  <pre cols="72">-- 
Daniel-Constantin Mierla
<a moz-do-not-send="true" href="http://twitter.com/#%21/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a moz-do-not-send="true" href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/miconda</a>
Book: SIP Routing With Kamailio - <a moz-do-not-send="true" href="http://www.asipto.com" target="_blank">http://www.asipto.com</a></pre>
                </font></span></div>
            <br>
            _______________________________________________<br>
            SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
            mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
            <a moz-do-not-send="true"
              href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
              rel="noreferrer" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
      <br clear="all">
      <div><br>
      </div>
      -- <br>
      <div class="gmail_signature">Cumprimentos
        <div>José Seabra</div>
      </div>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Book: SIP Routing With Kamailio - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a></pre>
  </body>
</html>