I downloaded
http://downloads.mongodb.org/cxx-driver/mongodb-linux-x86_64-v2.0-latest.tgz
and I'm doing the build as follows (_path_to_boost_ is just a
placeholder for actual path for the snapshot below):
/usr/bin/python2.7 /usr/bin/scons --extrapath=_path_to_boost_
And errors I get are like this:
scons: Reading SConscript files ...
Checking for C library boost_thread-mt... (cached) yes
Checking for C library boost_filesystem-mt... (cached) yes
Checking for C library boost_system-mt... (cached) yes
Checking for C library boost_thread-mt... (cached) yes
scons: done reading SConscript files.
scons: Building targets ...
g++ -o mongo/client/dbclient.o -c -O3 -D_SCONS -DMONGO_EXPOSE_MACROS -
I_path_to_boost_/include -Imongo mongo/client/dbclient.cpp
In file included from mongo/client/../db/cursor.h:23,
from mongo/client/../db/pdfile.h:411,
from mongo/client/dbclient.cpp:19:
mongo/client/../db/matcher.h:24:21: error: pcrecpp.h: No such file or
directory
mongo/client/../db/matcher.h:39: error: 'pcrecpp' was not declared in
this scope
mongo/client/../db/matcher.h:39: error: template argument 1 is invalid
scons: *** [mongo/client/dbclient.o] Error 1
scons: building terminated because of errors.