Group,
I was able to compile after installing json-c via the following rpm json-c-0.11-4.el7_0.src.rpm json-c-devel-0.11-4.el7_0.x86_64.rpm. On Mon, Apr 20, 2015 at 8:50 PM, Tito Cumpen <[email protected]> wrote: > accidentally sent the nascent message. > > Here it is > > > make[2]: Entering directory > `/usr/src/opensips_trunk/modules/cachedb_mongodb' > > Compiling cachedb_mongodb_json.c > > Compiling cachedb_mongodb_dbase.c > > Compiling cachedb_mongodb.c > > In file included from cachedb_mongodb_json.h:29:0, > > from cachedb_mongodb_json.c:28: > > cachedb_mongodb_dbase.h:37:23: fatal error: json/json.h: No such file or > directory > > #include <json/json.h> > > ^ > > compilation terminated. > > In file included from cachedb_mongodb_dbase.c:27:0: > > cachedb_mongodb_dbase.h:37:23: fatal error: json/json.h: No such file or > directory > > #include <json/json.h> > > ^ > > compilation terminated. > > In file included from cachedb_mongodb.c:41:0: > > cachedb_mongodb_dbase.h:37:23: fatal error: json/json.h: No such file or > directory > > #include <json/json.h> > > > > Here is the output from my mongoc install: > > > make install > > mkdir -p /usr/local/include /usr/local/lib > > cp -a src/mongo.h src/bson.h /usr/local/include > > cp -a libmongoc.so /usr/local/lib/libmongoc.so.0.6.0 > > cp -a libbson.so /usr/local/lib/libbson.so.0.6.0 > > cd /usr/local/lib && ln -sf libmongoc.so.0.6.0 libmongoc.so.0.6 > > cd /usr/local/lib && ln -sf libbson.so.0.6.0 libbson.so.0.6 > > cd /usr/local/lib && ln -sf libmongoc.so.0.6 libmongoc.so > > cd /usr/local/lib && ln -sf libbson.so.0.6 libbson.so > > cp -a libmongoc.a /usr/local/lib > > cp -a libbson.a /usr/local/lib > > make[1]: Entering directory `/usr/src/o > > On Mon, Apr 20, 2015 at 8:46 PM, Tito Cumpen <[email protected]> wrote: > >> Group, >> >> >> I am having issues compiling opensips 2.1 with cachedb_mongo enabled. >> >> I have install version 0.6 along with the suggested json-c lib. This is >> the output I am getting during >> > >
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
