[SERVER-9855] remove injection of macports and fink include and library paths Created: 03/Jun/13  Updated: 11/Jul/16  Resolved: 05/Nov/13

Status: Closed
Project: Core Server
Component/s: Build
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: build-system-cleanup
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Participants:

 Description   

If you have macports libraries installed that shadow libraries in src/third_party, then the injection of -I/opt/local/include on the compile line means that the headers from macports will be used preferentially to the headers from third_party, but we will still link against the object files compiled in third_party. This is doomed to failure, and the build will fail in very non-obvious ways.

Similar difficulties may occur if you had the mongo client driver installed in /opt/local.

The additional include paths (and probably library paths) should follow our third_party and intrinsic includes. The same issue exists for the /sw/include and /sw/lib options.



 Comments   
Comment by auto [ 05/Nov/13 ]

Author:

{u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@10gen.com'}

Message: SERVER-9855 Add support for specifying Mavericks as the OS X minimum version
Branch: master
https://github.com/mongodb/mongo/commit/f7443bad6cafdb24940d2dc262f760e8a66cc950

Comment by auto [ 05/Nov/13 ]

Author:

{u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@10gen.com'}

Message: SERVER-9855 Remove obsolete darwin configuration options

  • We want to use whatever compiler SCons tooling picks now that we support clang.
  • /usr/64 isn't a thing on modern Darwin (at least since 10.6, which is our minimum)
  • It probably never made sense to look in /usr/64/include for anything
  • If you want to use MacPorts, use --extrapath=/opt/local, similar for Fink
    Branch: master
    https://github.com/mongodb/mongo/commit/6fc17c30a8b88c778aa0d0a93c9f4145fbf0ba46
Generated at Thu Feb 08 03:21:38 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.