Index: library/mongodb/README =================================================================== diff -u -r05b2776a0ecbc0453ae96bbfa9d94315e466f3f5 -r4940f1317b9827162d7a0d28c74da0758ffe2d29 --- library/mongodb/README (.../README) (revision 05b2776a0ecbc0453ae96bbfa9d94315e466f3f5) +++ library/mongodb/README (.../README) (revision 4940f1317b9827162d7a0d28c74da0758ffe2d29) @@ -3,15 +3,20 @@ Ingredients: https://github.com/mongodb/mongo - https://github.com/mongodb/mongo-c-driver-legacy + https://github.com/mongodb/mongo-c-driver The current version is tested with -- MongoDB v2.4.5 -- mongodb-c-driver-legacy v0.8.1 - git checkout v0.8.1 +- MongoDB v2.4.9 +- mongodb-c-driver v0.8.1 Compile or obtain mongodb (the database). Compile or obtain the mongo-c-driver (client interface) + git clone https://github.com/mongodb/mongo-c-driver + cd mongo-c-driver + git checkout v0.8.1 + make + make install + Install the mongo-c-driver Assume, Tcl is under /usr/local/ns/lib and the source of the @@ -20,15 +25,9 @@ command from nsf*/library/mongodb/ ./configure --with-tcl=/usr/local/ns/lib --with-nsf=../../ \ - --with-mongo=/usr/local/src/mongo-c-driver/src/,/usr/local/src/mongo-c-driver + --with-mongodb=/usr/local/src/mongo-c-driver/src/,/usr/local/src/mongo-c-driver -I had to add MONGO_HAVE_STDINT to the EXTRA_FLAGS -of library/mongodb/Makefile.in on MacOS X - EXTRA_CFLAGS = @PKG_CFLAGS@ -DMONGO_HAVE_STDINT - -TODO: remove the hardcoded define flag in Makefile.in - In order to run the sample script, * first start the mongdb (eg. mongod)