brew update
brew install asdf [email protected]
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 [email protected])"
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
Last active
October 2, 2021 17:24
-
-
Save heri16/159bc54ec298138a5b4de41c24fc0b69 to your computer and use it in GitHub Desktop.
Install Elixir on macOs
This file contains hidden or 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
--- 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