[SERVER-4231] Building MongoDB C++ library requires unnecessary PCRE dependency Created: 08/Nov/11  Updated: 11/Jul/16  Resolved: 23/Mar/12

Status: Closed
Project: Core Server
Component/s: Internal Client
Affects Version/s: None
Fix Version/s: 2.1.1

Type: Bug Priority: Major - P3
Reporter: Hillel Lubman Assignee: Andy Schwerin
Resolution: Done Votes: 0
Labels: dependency, driver, source
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Linux x86_64


Operating System: ALL
Participants:

 Description   

Attempt to compile MongoDB C++ library from http://downloads.mongodb.org/cxx-driver/mongodb-linux-x86_64-v2.0-latest.tgz resulted in dependency on PCRE which is incorrect.
See http://groups.google.com/group/mongodb-user/browse_thread/thread/c9a4129428994d4b for details.

Packages also provide binary .o files which seem extraneous there.



 Comments   
Comment by auto [ 23/Mar/12 ]

Author:

{u'login': u'', u'name': u'Andy Schwerin', u'email': u'Andy Schwerin schwerin@10gen.com'}

Message: SCons refactoring, cleans up building and testing the C++ client.

This patch does the following:

1.) Remove pcre.h dependencies in the C++ client, and remove some other
unnecessary dependencies.
2.) Clean up how we build the client from the client source tarball, so it's
more like how we build it from the git repo / full source tarball.
3.) Fix up our "scons" so you only have to write "scons ." to build all of our
binaries, the binary archive (zip or tgz) and client source archive (zip or
tgz).
4.) Fix up SCons aliases "core", "tools", and "all".
5.) Let user specify the name of the client tarball via a SCons command line
switch.

Resolves SERVER-4231, SERVER-5255.
Branch: master
https://github.com/mongodb/mongo/commit/d67ce1cd31f6ea2e766d5c201ab5430735cbb3b8

Generated at Thu Feb 08 03:05:22 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.