Build of C-driver failed with the following steps on Mac OS X Yosemite (10.10.1)
git clone git@github.com:mongodb/mongo-c-driver.git cd mongo-c-driver/ ./autogen.sh make
Output from autogen:
... libmongoc was configured with the following options: Build configuration: Enable debugging (slow) : no Compile with debug symbols (slow) : no Enable GCC build optimization : yes Enable automatic binary hardening : yes Code coverage support : no Cross Compiling : no Fast counters : no SASL : sasl2 SSL : yes Libbson : bundled Documentation: man : no HTML : no
Output from make:
... CC src/mongoc/libmongoc_priv_la-mongoc-client.lo src/mongoc/mongoc-client.c:146:26: error: use of undeclared identifier 'BSON_ERROR_BUFFER_SIZE' char errmsg_buf[BSON_ERROR_BUFFER_SIZE]; ^ 1 error generated. make[1]: *** [src/mongoc/libmongoc_priv_la-mongoc-client.lo] Error 1 make: *** [all-recursive] Error 1
- related to
-
CDRIVER-494 Failure compiling latest c driver
- Closed