[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: |
| Comment by auto [ 05/Nov/13 ] |
|
Author: {u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@10gen.com'}Message:
|