Hi Javier, Is it possible you are using a MongoDB C driver >= 0.9? Currently, pmacct only supports the legacy C driver (up to release 0.8.1); it can be found here:
https://github.com/mongodb/mongo-c-driver-legacy I just realize now that URLs may have changed and hence docs need a refresh. Cheers, Paolo On Wed, Dec 23, 2015 at 10:49:57AM -0800, Javier Prats wrote: > Hello all, > > My name is Javier and I am new to pmacct and this list. I have been trying > to build pmacct, using the build instructions, with Mongodb support. It > fails to find the mongoc libraries and headers. I've tried different > distros and combinations and it's always the same errors. I know that > mongodb-c-drivers was built but it seems that pmacct is looking in the > wrong places. I found the references to mongoc in the configure file and > changed it to where the C driver is actually installed. That fixed the > initial error, but then there are a bunch more references in files under > the ROOT/src directory. Is there something I'm doing wrong, or is this an > actual bug when trying to build Mongodb support. Pmacct builds fine > without mongodb support and on FreeBSD which has all the required > applications in the ports tree, so it's been modified to install > correctly. Any help is appreciated. > > Sincerely, > Javier > _______________________________________________ > pmacct-discussion mailing list > http://www.pmacct.net/#mailinglists _______________________________________________ pmacct-discussion mailing list http://www.pmacct.net/#mailinglists
