Asdf-erlang: Skip dependency on Java when installing?

Created on 19 Jan 2018  路  4Comments  路  Source: asdf-vm/asdf-erlang

Is it possible to pass options to whatever is installing Erlang to not try to do the things that depend on Java? I don't have it installed (macOS 10.13.2), and while the two alerts that pop up suggesting that I install it are merely an annoyance, I'd rather not have them pop up at all.

Most helpful comment

Yes, you can. Inside the .asdf/plugins/erlang/kerl-home/ create a .kerlrc file and pass this configuration options:

(In the .kerlrc file)
KERL_CONFIGURE_OPTIONS="--disable-debug --without-javac"

For more information check the kerl GitHub docs:
Kerl

All 4 comments

Yes, you can. Inside the .asdf/plugins/erlang/kerl-home/ create a .kerlrc file and pass this configuration options:

(In the .kerlrc file)
KERL_CONFIGURE_OPTIONS="--disable-debug --without-javac"

For more information check the kerl GitHub docs:
Kerl

Yes, what @miltonArango said should work. You should also be able to do this on the fly using the same environment variable in the shell:

export KERL_CONFIGURE_OPTIONS="--disable-debug --without-javac"
asdf install erlang <version>

What does --disable-debug have to do with Java?

@BryanJBryce not sure why I included that. Looking at the latest version of kerl I don't see that flag referenced anywhere, so it doesn't seem like it is even supported.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

zacky1972 picture zacky1972  路  3Comments

cehoffman picture cehoffman  路  3Comments

jeremy-postmates picture jeremy-postmates  路  6Comments

taiheng picture taiheng  路  7Comments

salimane picture salimane  路  7Comments