Skip to content

Instantly share code, notes, and snippets.

@GPrimola
Last active July 4, 2024 15:59
Show Gist options
  • Select an option

  • Save GPrimola/cc5c89bb320f70e3cc5192d77c96e922 to your computer and use it in GitHub Desktop.

Select an option

Save GPrimola/cc5c89bb320f70e3cc5192d77c96e922 to your computer and use it in GitHub Desktop.
Install Erlang
# First of All
# CHECK>>>> https://github.com/asdf-vm/asdf-erlang?tab=readme-ov-file#before-asdf-install
# From https://twitter.com/MackeyTech/status/1521236821933395968
# Other sources:
## https://www.erlang.org/doc/installation_guide/install#Advanced-configuration-and-build-of-ErlangOTP_Configuring
## https://www.erlang.org/doc/man/erl.html
## https://www.erlang.org/doc/man/kernel_app.html
# Turn on iex history
# ERL_AFLAGS="-kernel shell_history_enabled"
ERL_AFLAGS="-kernel shell_history 'enabled'"
# Erlang Docs in iex
KERL_BUILD_DOCS="yes"
# To build erlang when installing with ASDF
KERL_CONFIGURE_OPTIONS="--disable-debug --without-javac"
KERL_CONFIGURE_OPTIONS="--disable-debug --disable-silent-rules --without-javac --enable-shared-zlib --enable-dynamic-ssl-lib --enable-threads --enable-kernel-poll --enable-wx --enable-webview --enable-darwin-64bit --enable-gettimeofday-as-os-system-time --with-ssl=/opt/..."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment