asdf erlang 无法在 macOS 上编译

asdf erlang fails to compile on macOS

我正在尝试通过 asdf 在 macOS 11.3.1 上安装 erlang 22.3.4.18。

The asdf plugin for erlang.

OSX-特定说明说要安装 autoconfwxmac,我已经安装了。它还说可以使用的最早版本是 22.3.1。据我所知,这应该有效。

=== Running configure in /Users/<me>/.asdf/plugins/erlang/kerl-home/builds/asdf_22.3.4.18/otp_src_22.3.4.18/make ===
./configure '--enable-darwin-64bit' '--with-ssl=/usr/local/opt/openssl@1.1' --disable-option-checking --cache-file=/dev/null --srcdir="/Users/<me>/.asdf/plugins/erlang/kerl-home/builds/asdf_22.3.4.18/otp_src_22.3.4.18/make"
configure: error: cannot find required auxiliary files: install-sh config.guess config.sub

日志显示找不到所需的文件:install-sh config.guess config.sub,但我不知道这些是什么。

如有任何见解,我们将不胜感激。谢谢。

感谢 7stud and the answer on the elixir forum by jerdew 的 link,编译成功!

找到此答案的任何其他人,this gist 有解决方案。