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

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.6.0
    • Fix Version/s: 0.7.0
    • Labels:
      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

              • Assignee:
                kdoran Kevin Doran
                Reporter:
                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 - 20m
                  20m