Uploaded image for project: 'Apache NiFi MiNiFi C++'
  1. Apache NiFi MiNiFi C++
  2. MINIFICPP-783

Bootstrap brew command error on darwin/mac for curl

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.6.0
    • 0.7.0
    • None

    Description

      When running bootstrap.sh on MacOS (darwin), and "Lib Curl Features" are Enabled, the following occurs:

      bootstrap.sh will invoke (eventually) darwin.sh, which, when libcurl is on, runs:

      brew install curl --with-openssl
      

      which results in:

       

      Usage: brew install [options] formula
      ...
      Error: invalid option: --with-openssl
      

      There are several workarounds, including:

      • install libcurl outside of bootstrap.sh and ignore the output when running bootstrap.sh
      • configure/run cmake without using bootstrap by following the instructions in the README file
      • modify darwin.sh to remove the "--with-openssl" option.

      Attachments

        Issue Links

          Activity

            People

              kdoran Kevin Doran
              kdoran Kevin Doran
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h