I tried different ways to handle asdf, but it always boils down to the subj error. Looks like some dependency is missing, but I’ve checked them. Everything looks OK.
~/.tool-versions:
elixir 1.16.0-otp-26
erlang 26.2.1
A typical console output:
+ asdf plugin add erlang https://github.com/asdf-vm/asdf-erlang.git
+ asdf plugin add elixir https://github.com/asdf-vm/asdf-elixir.git
+ cd /home/alexey
+ export 'KERL_CONFIGURE_OPTIONS=--disable-debug --without-javac'
+ KERL_CONFIGURE_OPTIONS='--disable-debug --without-javac'
+ asdf install
==> Checking whether specified Elixir release exists...
==> Downloading 1.16.0-otp-26 to /home/alexey/.asdf/downloads/elixir/1.16.0-otp-26/elixir-precompiled-1.16.0-otp-26.zip
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 7027k 100 7027k 0 0 8610k 0 --:--:-- --:--:-- --:--:-- 8612k
==> Copying release into place
Downloading kerl...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 82830 100 82830 0 0 226k 0 --:--:-- --:--:-- --:--:-- 226k
ERROR: 'asdf_26.2.1' is not a kerl-managed Erlang/OTP installation.
ERROR: no build named 'asdf_26.2.1'!
Downloading (from GitHub) Erlang/OTP 26.2.1 to /home/alexey/.asdf/downloads/erlang/26.2.1...
Extracting source code for normal build...
Building (normal) Erlang/OTP 26.2.1 (asdf_26.2.1); please wait...
Initializing (build) log file at /home/alexey/.asdf/plugins/erlang/kerl-home/builds/asdf_26.2.1/otp_build_26.2.1.log.
automake: error: 'configure.ac' is required
autoconf: error: no input file
This sounds like you are either missing one of the above or or need to update one of them.
I mention this because I’ve had an error like this once, cryptic (maybe the same one?) and it turned out that I had not done that step on the machine I was working with.
automake: error: 'configure.ac' is required
autoconf: error: no input file
are just noise created when testing for tools availablity on arch Linux. So the other asdf issue you linked is not related as its main issue is that they are trying to compile Erlang 21 (which is ~6 years old and out of support for 3 years) using a too modern compiler.
If you post the build.log located at this location: /home/alexey/.asdf/plugins/erlang/kerl-home/builds/asdf_26.2.1/otp_build_26.2.1.log I may be able to help to figure out what is going on.
Thanks, it’s important to know that even so stark a message can be just noise.
The log is huge, so I post just some lines from the end. Meanwhile I switched to mise, but it all looks the same, and no wonder: the backend is still adsf.
Seems to be building of odbc that fail. I’d need to see the entire build log to know why (maybe you can attach the file?), but if you don’t need odbc, you can disable it by adding --without-odbc to KERL_CONFIGURE_OPTIONS.
I opened an issue on the kerl project, if you have the time, I’m sure they would appriciate help with figuring out what the problem with the printouts is.
I’ve no idea how to attach the log: it isn’t accepted, even as an archive. Meanwhile, I tried the same on another box, and it worked. At least, build successful. So it’s just something broken or missing on the first one. The same Manjaro Linux.
Maybe you could suggest what to search in the log, so I can publish the relevant snippets?
UPD
It depends, of course, which issue is to be considered vital