Improve Erlang installation for macos #334
Merged
+163
−2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR improves Erlang installation for Mac OS, by setting default options for Erlang installation by kerl.
This PR also fixes an issue with kerl by setting the
--with-ssl
option with the correct openssl brew prefix path. The default kerl behaviour is to look foropenssl@3.0
, but that is an invalid path. Should instead of looking foropenssl@3
.Issues that this PR fixes
Changes
CC
with unixodbc include pathLDFLAGS
with unixodbc include pathKERL_CONFIGURE_OPTIONS
with the--with-odbc
optionKERL_CONFIGURE_OPTIONS
with the--with-ssl
65536
for current terminal session.PATH
for current terminal session.Screenshot: Successful installation with new log messages
Screenshot: Observer working as expected (wxmac dependency)
Screenshot: Warning message if an optional package is missing
Screenshot: Old behaviour/output for erlang installation