Loa*_*... 2 java erlang javac asdf elixir
我正在尝试使用asdf安装Erlang(及更高版本的Elixir),但是jinterface由于安装过程似乎冻结而出现错误:
? ~ asdf install erlang 22.1.1
Downloading OTP-22.1.1.tar.gz to /Users/me/.asdf/plugins/erlang/kerl-home/archives
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 122 0 122 0 0 320 0 --:--:-- --:--:-- --:--:-- 321
100 52.4M 0 52.4M 0 0 7604k 0 --:--:-- 0:00:07 --:--:-- 9203k
Extracting source code
Building Erlang/OTP 22.1.1 (asdf_22.1.1), please wait...
APPLICATIONS DISABLED (See: /Users/me/.asdf/plugins/erlang/kerl-home/builds/asdf_22.1.1/otp_build_22.1.1.log)
* jinterface : Java compiler disabled by user
DOCUMENTATION INFORMATION (See: /Users/me/.asdf/plugins/erlang/kerl-home/builds/asdf_22.1.1/otp_build_22.1.1.log)
* documentation :
* fop is missing.
* Using fakefop to generate placeholder PDF files.
Run Code Online (Sandbox Code Playgroud)
我看了一眼,https://github.com/asdf-vm/asdf-erlang说
For example, to skip the java dependency during installation use:
$ export KERL_CONFIGURE_OPTIONS="--disable-debug --without-javac"
$ asdf install erlang <version>
Run Code Online (Sandbox Code Playgroud)
如果我不得不猜测,这是一个Java问题,因此当我尝试此解决方案时它不起作用,并且得到相同的输出。
关于如何在不安装Java的情况下安装Erlang的任何想法?我不记得这是Homebrew的问题,这意味着Homebrew需要使用Java编译器。