Hello, ok, that's an option as well.
Cheers, Daniel On 17/08/15 16:34, José Seabra wrote: > Hello Daniel, > Thank you for your reply and advice. > > instead of changing Make file i have compiled it with following parameters > > ./autogen.sh --prefix=/usr --libdir=/usr/lib64 > gmake > sudo gmake install > > the libdir by default is on /usr/lib. > > Best Regards > José Seabra > > 2015-08-17 13:18 GMT+01:00 Daniel-Constantin Mierla <[email protected] > <mailto:[email protected]>>: > > Hello, > > 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. > > Cheers, > Daniel > > > On 17/08/15 12:01, José Seabra wrote: >> Hello all, >> I'm trying to build db_mongodb module but i'm facing some >> problems, please take a look at logs messages below: >> >> make >> >> CC (gcc) [M db_mongodb.so]mongodb_connection.o >> In file included from mongodb_connection.c:24: >> *mongodb_connection.h:26:20: warning: mongoc.h: No such file or >> directory* >> *mongodb_connection.h:27:18: warning: bson.h: No such file or >> directory* >> In file included from mongodb_connection.c:24: >> mongodb_connection.h:37: error: expected specifier-qualifier-list >> before ‘mongoc_client_t’ >> mongodb_connection.c: In function ‘db_mongodb_new_connection’: >> mongodb_connection.c:48: warning: implicit declaration of >> function ‘mongoc_init’ >> mongodb_connection.c:49: error: ‘km_mongodb_con_t’ has no member >> named ‘con’ >> mongodb_connection.c:49: warning: implicit declaration of >> function ‘mongoc_client_new’ >> mongodb_connection.c:50: error: ‘km_mongodb_con_t’ has no member >> named ‘con’ >> mongodb_connection.c: In function ‘db_mongodb_free_connection’: >> mongodb_connection.c:78: error: ‘km_mongodb_con_t’ has no member >> named ‘con’ >> mongodb_connection.c:79: warning: implicit declaration of >> function ‘mongoc_client_destroy’ >> mongodb_connection.c:79: error: ‘km_mongodb_con_t’ has no member >> named ‘con’ >> make: *** [mongodb_connection.o] Error 1 >> >> [root@ccp1 db_mongodb]# locate bson.h >> /usr/local/include/libbson-1.0/bson.h >> /usr/local/src/mongo-c-driver/src/libbson/src/bson/bson.h >> >> /usr/local/src/mongo-c-driver-1.1.10/src/libbson/doc/html/streaming-bson.html >> /usr/local/src/mongo-c-driver-1.1.10/src/libbson/src/bson/bson.h >> >> [root@ccp1 db_mongodb]# locate mongoc.h >> /usr/local/include/libmongoc-1.0/mongoc.h >> /usr/local/src/mongo-c-driver/src/mongoc/mongoc.h >> /usr/local/src/mongo-c-driver/tests/test-libmongoc.h >> /usr/local/src/mongo-c-driver-1.1.10/src/mongoc/mongoc.h >> /usr/local/src/mongo-c-driver-1.1.10/tests/test-libmongoc.h >> >> 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. >> >> Can someone help me? >> >> -- >> Cumprimentos >> José Seabra >> ITCENTER Store <http://store.itcenter.com.pt/>ITCENTER Helpdesk >> <http://support.itcenter.com.pt/otrs/customer.pl> >> ITCENTER Facebook <https://www.facebook.com/itcenterpt> ITCENTER >> Linkedin <https://www.linkedin.com/company/itcenter> ITCENTER >> Twitter <https://twitter.com/ITCenter_PT> >> >> >> >> _______________________________________________ >> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list >> [email protected] <mailto:[email protected]> >> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users > > -- > Daniel-Constantin Mierla > http://twitter.com/#!/miconda <http://twitter.com/#%21/miconda> - > http://www.linkedin.com/in/miconda > Book: SIP Routing With Kamailio - http://www.asipto.com > > > _______________________________________________ > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing > list > [email protected] <mailto:[email protected]> > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users > > > > > -- > Cumprimentos > José Seabra -- Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Book: SIP Routing With Kamailio - http://www.asipto.com
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list [email protected] http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
