Skip to content

Instantly share code, notes, and snippets.

@ostinelli
Last active December 2, 2019 13:46
Show Gist options
  • Save ostinelli/ea885490e5f56156e53b942ed76fc00d to your computer and use it in GitHub Desktop.
Save ostinelli/ea885490e5f56156e53b942ed76fc00d to your computer and use it in GitHub Desktop.
How to install erlang 19 on OSX
# 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 openssl@1.1/{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/openssl@1.1 --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