When tried to install this error comes up:
asdf_23.2.1 is not a kerl-managed Erlang/OTP installation
The asdf_23.2.1 build has been deleted
Extracting source code
Building Erlang/OTP 23.2.1 (asdf_23.2.1), please wait...
Configure failed.
config.status: x86_64-unknown-linux-gnu/config.h is unchanged
config.status: creating include/internal/x86_64-unknown-linux-gnu/ethread_header_config.h
config.status: include/internal/x86_64-unknown-linux-gnu/ethread_header_config.h is unchanged
config.status: creating include/x86_64-unknown-linux-gnu/erl_int_sizes_config.h
config.status: include/x86_64-unknown-linux-gnu/erl_int_sizes_config.h is unchanged
=== Running configure in /home/isai/.asdf/plugins/erlang/kerl-home/builds/asdf_23.2.1/otp_src_23.2.1/make ===gure --disable-option-checking --cache-file=/dev/null --srcdir="/home/isai/.asdf/plugins/erlang/kerl-home/builds/asdf_23.2.1/otp_src_23.2.1/make"
configure: error: cannot find required auxiliary files: install-sh config.guess config.sub
ERROR: /home/isai/.asdf/plugins/erlang/kerl-home/builds/asdf_23.2.1/otp_src_23.2.1/make/configure failed!
Please see /home/isai/.asdf/plugins/erlang/kerl-home/builds/asdf_23.2.1/otp_build_23.2.1.log for full details.
full log (pastebin)
OS: ArchLinux WSL 2
I've already done the Before asdf install steps and still get this error. I've tried search for keywords to find old issues that have already solved, but can't find anything. Any help?
This is happening to me on Arch as well (not through WSL)
Tried with 23.1.3, 23.1.5 and 23.2.1. None of them install anymore on my system, even though I successfully installed 23.1.4 not too long ago...
I think the problem is the asdf-erlang itself. I managed to install erlang in conventional way and just worked flawless. I even installed Node, Ruby and Elixir with their asdf-plugins without any error.
I've not seen any issues like this one before. I haven't used asdf-erlang on Arch though. What about older versions of Erlang? Does this happen with Erlang 22?
I am not aware of any recent changes to asdf-erlang that might cause this. Are you all on the latest version of asdf-erlang?
I'm on the latest version of the asdf-erlang. I even tried to update again.
Tried to install Erlang 22.3.4.13 (latest 22.x version listed) and got the same error.
asdf-erlang relies on kerl for Erlang builds. Could this be related? https://github.com/kerl/kerl/issues/347
I think it is. But, my gcc version is 10.2.0 and the problem seems to be with Erlang versions older than 23.x. I could'n install the 23.x using asdf-erlang, but without it the build was successfully.
Sadly the package gcc-9 listed there is no longer available. I managed to clone the git repository, but I don't know how to build it.
I was able to reproduce the issue with just kerl, no asdf-erlang involved at all. So I think we can close this issue. Not sure if it's actually related to the GCC 10 issue or not, I will be investigating more today.
I'm pretty sure (but not positive) that it's related to the recent release of autoconf 2.70. I've opened an issue here with kerl: https://github.com/kerl/kerl/issues/359
I think we can close this issue and move the discussion to there.