TinyBFG
Asdf erlang 24.2.2 installation failure
So I am trying to install Erlang 24.2.2 and 24.3.2 but the build keeps failing, this is my first time using a Mac so I have minimal knowledge on what might be going on. Any and all help and advice is very welcome.
I get this response every time I try to install either
asdf install erlang 24.3.2
Extracting source code
Building Erlang/OTP 24.3.2 (asdf_24.3.2), please wait...
APPLICATIONS DISABLED (See: /Users/me/.asdf/plugins/erlang/kerl-home/builds/asdf_24.3.2/otp_build_24.3.2.log)
* jinterface : No Java compiler found
DOCUMENTATION INFORMATION (See: /Users/me/.asdf/plugins/erlang/kerl-home/builds/asdf_24.3.2/otp_build_24.3.2.log)
* documentation :
* fop is missing.
* Using fakefop to generate placeholder PDF files.
Build failed.
1 warning generated.
1 warning generated.
1 warning generated.
1 warning generated.
1 warning generated.
1 warning generated.
1 warning generated.
make[2]: *** [opt] Error 2
make[1]: *** [opt] Error 2
make: *** [libs] Error 2
Please see /Users/me/.asdf/plugins/erlang/kerl-home/builds/asdf_24.3.2/otp_build_24.3.2.log for full details.
Marked As Solved
TinyBFG
It didn’t work to add it to .zshrc but putting export KERL_CONFIGURE_OPTIONS="--without-wx --without-javac" before asdf install erlang 24.2.2 in the terminal and it worked
Also Liked
0x107
If you don’t need the jinterface. You can exclude it from compilation by adding export KERL_CONFIGURE_OPTIONS="--disable-debug --without-javac" to your .zshrc.
Tested with asdf and Erlang 24.3.3 on macOS 12.3.1.
eksperimental
Not a Mac user here, but did you follow the instrauctions in GitHub - asdf-vm/asdf-erlang: Erlang plugin for asdf version manager
You may have to set certain variables.
In those instructions it also explains how to install the dependencies if needed, for MacOs
al2o3cr
That message matches this bug report:







