Skip to content

Instantly share code, notes, and snippets.

@heri16
Last active Oct 2, 2021
Embed
What would you like to do?
Install Elixir on macOs

Instructions

brew update
brew install asdf openssl@1.1
EDITOR=nano brew edit wxmac # Edit the file according to wxmac.patch
brew install wxmac --build-from-source

asdf plugin add erlang
asdf plugin add elixir

export KERL_CONFIGURE_OPTIONS="--without-javac --with-ssl=$(brew --prefix openssl@1.1)"
rm -rf ~/.asdf/plugins/erlang/kerl-home/builds/*
asdf list-all erlang
asdf install erlang 22.3.4.20
asdf global erlang 22.3.4.20

asdf list-all elixir
asdf install elixir 1.12.2-otp-22
asdf global elixir 1.12.2-otp-22
--- a/Formula/wxmac.rb
+++ b/Formula/wxmac.rb
@@ -19,6 +19,7 @@ class Wxmac < Formula
def install
args = [
"--prefix=#{prefix}",
+ "--enable-compat28",
"--enable-clipboard",
"--enable-controls",
"--enable-dataviewctrl",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment