前提・実現したいこと
elixirの環境構築で詰まっています。
↓に従って進めています。
https://asdf-vm.com/#/core-manage-asdf-vm
環境
・macOS Catalina 10.15
やったこと
$ git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.7.4 $ git clone https://github.com/asdf-vm/asdf.git ~/.asdf $ cd ~/.asdf $ git checkout "$(git describe --abbrev=0 --tags)" $ echo -e '\n. $HOME/.asdf/asdf.sh' >> ~/.bash_profile $ echo -e '\n. $HOME/.asdf/completions/asdf.bash' >> ~/.bash_profile $ asdf plugin-add erlang $ asdf plugin-add elixir
エラー
↓が通らない
$ asdf install erlang 22.1.4
以下がエラー
Extracting source code mv: rename ./otp-OTP-22.1.4 to /Users/hoge/.asdf/plugins/erlang/kerl-home/builds/asdf_22.1.4/otp_src_22.1.4/otp-OTP-22.1.4: Directory not empty Building Erlang/OTP 22.1.4 (asdf_22.1.4), please wait... APPLICATIONS DISABLED (See: /Users/hoge/.asdf/plugins/erlang/kerl-home/builds/asdf_22.1.4/otp_build_22.1.4.log) * jinterface : No Java compiler found DOCUMENTATION INFORMATION (See: /Users/hoge/.asdf/plugins/erlang/kerl-home/builds/asdf_22.1.4/otp_build_22.1.4.log) * documentation : * fop is missing. * Using fakefop to generate placeholder PDF files. Build failed. ERLC ../ebin/hipe_consttab.beam ERLC ../ebin/hipe_gensym.beam /bin/sh: line 1: 61251 Bus error: 10 erlc -W +debug_info -DUSE_ESOCK=true -Werror +warn_export_vars +warn_missing_spec +warn_untyped_record -o../ebin hipe_consttab.erl /bin/sh: line 1: 61252 Bus error: 10 erlc -W +debug_info -DUSE_ESOCK=true -Werror +warn_export_vars +warn_missing_spec +warn_untyped_record -o../ebin hipe_gensym.erl make[3]: *** [../ebin/hipe_gensym.beam] Error 138 make[3]: *** Waiting for unfinished jobs.... make[3]: *** [../ebin/hipe_consttab.beam] Error 138 make[2]: *** [opt] Error 2 make[1]: *** [opt] Error 2 make: *** [secondary_bootstrap_build] Error 2 Please see /Users/hoge/.asdf/plugins/erlang/kerl-home/builds/asdf_22.1.4/otp_build_22.1.4.log for full details.
コマンドプロンプト再起動