I need some help compiling the write_mongodb plugin. I am using Scientific
Linux 6.5. I successfully compiled the mongo-c-driver. When I run
$(CPPFLAGS=-I/usr/local/mongo-c-driver/include/libmongoc-1.0 ./configure
--enable-write_mongodb), it fails saying that there is a dependency error.
Looking at config.log, I get the following error:
configure:21546: checking for mongo.h
configure:21546: gcc -c -g -O2
-I/usr/local/mongo-c-driver/include/libmongoc-1.0 conftest.c >&5
conftest.c:182:19: error: mongo.h: No such file or directory
Why is it looking for mongo.h and not mongoc.h? I tried looking for mongo.h
from some of the available mongodb RPMs, but I can't seem to find it.
Thanks,
Giovanni
_______________________________________________
collectd mailing list
[email protected]
http://mailman.verplant.org/listinfo/collectd