Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
None
-
Fully Compatible
-
ALL
-
Description
The file dbclient.h recently started to depend on files from the new utils/options_parser directory, but that directory is not among the directories searched by the install target for headers. As a result, dbclient.h from an "install-mongoclient" is not useable.
A workaround is to manually copy the header files from this directory:
https://github.com/mongodb/mongo/tree/r2.5.3/src/mongo/util/options_parser
into a new directory at <prefix>/include/mongo/util/options_parser, where <prefix> is the argument to the --prefix argument used when building the install-mongoclient target.