[SERVER-11282] C++ client driver install target does not install new util/options_parser headers Created: 20/Oct/13 Updated: 11/Jul/16 Resolved: 30/Oct/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Client |
| Affects Version/s: | None |
| Fix Version/s: | 2.5.4 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Andrew Morrow (Inactive) | Assignee: | Andrew Morrow (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Steps To Reproduce: | Run "install-mongoclient", and then attempt to build a trivial program that does #include "mongo/client/dbclient.h" from the install directory. It will fail. |
| Participants: |
| 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. |
| Comments |
| Comment by Andrew Morrow (Inactive) [ 30/Oct/13 ] |
|
The actual issue here has been fixed, along with a target to run the test 'check-install-mongoclient'. We still have some issues on the MCI side of integrating this into the CI system, but I'd rather track that as an MCI ticket. |
| Comment by auto [ 24/Oct/13 ] |
|
Author: {u'username': u'ehershey', u'name': u'Ernie Hershey', u'email': u'ernie.hershey@10gen.com'}Message: |
| Comment by auto [ 24/Oct/13 ] |
|
Author: {u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@10gen.com'}Message: This is the MCI side of the server code fix for We choose a prefix directory that contains the name of the scons variant directory so that the The install directory is prefixed with a '.' to prevent the duplicate ID checker from seeing Signed-off-by: Ernie Hershey <ernie.hershey@10gen.com> |
| Comment by auto [ 24/Oct/13 ] |
|
Author: {u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@10gen.com'}Message: This is the MCI side of the server code fix for We choose a prefix directory that contains the name of the scons variant directory so that the The install directory is prefixed with a '.' to prevent the duplicate ID checker from seeing Signed-off-by: Ernie Hershey <ernie.hershey@10gen.com> |
| Comment by auto [ 23/Oct/13 ] |
|
Author: {u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@10gen.com'}Message: |
| Comment by auto [ 23/Oct/13 ] |
|
Author: {u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@10gen.com'}Message: |
| Comment by Andy Schwerin [ 21/Oct/13 ] |
|
We should probably take both proposed actions. |