Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-44592

Can't build server with --use-system-mongo-c

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 4.2.1
    • Component/s: Build
    • Labels:
      None
    • ALL
    • Hide

      /opt/local/bin/python3.7 buildscripts/scons.py CC=/opt/local/bin/clang-mp-7.0 CXX=/opt/local/bin/clang++-mp-7.0 --use-system-mongo-c

      Show
      /opt/local/bin/python3.7 buildscripts/scons.py CC=/opt/local/bin/clang-mp-7.0 CXX=/opt/local/bin/clang++-mp-7.0 --use-system-mongo-c
    • Dev Platform 2019-12-02

      Hi, on macOS 10.13.6 with Xcode 9.4.1, I tried building mongodb 4.2.1 with --use-system-mongo-c. I have mongo-c-driver 1.15.2 installed with MacPorts. The build failed with:

      Checking for mongoc_get_major_version() in C library mongoc-1.0... (cached) no
      Checking for mongoc_get_major_version() in darwin framework mongoc...(cached) no
      Failed to find the required C driver headers

      It builds fine using the bundled mongoc if I don't useĀ --use-system-mongo-c.

            Assignee:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Reporter:
            ryandesign Ryan Schmidt
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: