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

add configure check for curl

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Build
    • Labels:
      None
    • ALL
    • Security 2019-06-03

      Currently, if I don't have 'curl-devel' package installed, the build will fail at:

      src/mongo/util/net/http_client_curl.cpp:35:10: fatal error: curl/curl.h: No such file or directory
       #include <curl/curl.h>
                ^~~~~~~~~~~~~
      

      Unlike other required headers, it appears we don't have a configure check for this one. It would be preferable to have the build fail at config time.

            Assignee:
            sara.golemon@mongodb.com Sara Golemon
            Reporter:
            milkie@mongodb.com Eric Milkie
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: