Last active
December 2, 2019 13:46
-
-
Save ostinelli/ea885490e5f56156e53b942ed76fc00d to your computer and use it in GitHub Desktop.
How to install erlang 19 on OSX
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# download erlang 19: <http://erlang.org/download/otp_src_19.3.tar.gz> & untar | |
# download patch: <https://github.com/erlang/otp/commit/a64c4d806fa54848c35632114585ad82b98712e8.diff> | |
# apply patch | |
patch < a64c4d806fa54848c35632114585ad82b98712e8.diff | |
# ensure that openssl is installed in [email protected]/{version} | |
brew install openssl | |
# compile | |
./configure --disable-silent-rules --prefix=/usr/local/Cellar/erlang@19 --enable-kernel-poll --enable-threads --enable-sctp --enable-dynamic-ssl-lib --with-ssl=/usr/local/Cellar/[email protected] --enable-shared-zlib --enable-smp-support --enable-wx --enable-hipe --without-javac --enable-darwin-64bit --with-dynamic-trace=dtrace | |
# export path | |
export PATH="/usr/local/Cellar/erlang@19/bin:$PATH" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment