asdf-vm / asdf-erlang

Erlang plugin for asdf version manager

Home Page:https://github.com/asdf-vm/asdf

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting a asdf_25.3 is not a kerl-managed Erlang/OTP installation message

lobo-tuerto opened this issue · comments

I just installed Erlang through asdf in a new installation (been doing it for years), but today I saw this message at the start of the installation process, then proceeded to install:

asdf_25.3 is not a kerl-managed Erlang/OTP installation
No build named asdf_25.3

Downloading 25.3 to /home/x/.asdf/downloads/erlang/25.3...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 98.9M  100 98.9M    0     0  38.9M      0  0:00:02  0:00:02 --:--:-- 60.1M
Extracting source code
Building Erlang/OTP 25.3 (asdf_25.3), please wait...
Erlang/OTP 25.3 (asdf_25.3) has been successfully built

The last rows from output of asdf erlang list-all:

25.2.3
25.3
26.0-rc1

The install command: asdf install erlang 25.3.

Any pointers or ideas on what it is about? 🤔

I'm trying to install erlang too:

❯ asdf install
elixir 1.13.4-otp-24 is already installed
asdf_24.3.4 is not a kerl-managed Erlang/OTP installation
The asdf_24.3.4 build has been deleted
Extracting source code
Building Erlang/OTP 24.3.4 (asdf_24.3.4), please wait...
APPLICATIONS DISABLED (See: /Users/tosoa/.asdf/plugins/erlang/kerl-home/builds/asdf_24.3.4/otp_build_24.3.4.log)
 * jinterface     : Java compiler disabled by user
 * odbc           : ODBC library - link check failed

Building docs...
Erlang/OTP 24.3.4 (asdf_24.3.4) has been successfully built

Then

❯ asdf current
direnv          system          /Users/tosoa/.tool-versions
elixir          1.13.4-otp-24   /Users/tosoa/Workspace/e/.tool-versions
erlang          24.3.4          Not installed. Run "asdf install erlang 24.3.4"
nodejs          system          /Users/tosoa/.tool-versions
poetry          system          /Users/tosoa/.tool-versions
python          system          /Users/tosoa/.tool-versions

erlang was not compiled/installed

commented

I get this error with every erlang version I choose back to 23.0. I want to run elixir 14. New laptop. No issues using asdf on my old lappy.

commented

Something similar also happened for me.
image
image

(it works, but it is weird to see error message)

Hi there! 👋 I'm having the same problem. It works with 26.0, though. My output:

% export KERL_CONFIGURE_OPTIONS="--without-javac --with-ssl=$(brew --prefix openssl@1.1)"
% asdf install erlang
asdf_25.3.2 is not a kerl-managed Erlang/OTP installation
The asdf_25.3.2 build has been deleted
Extracting source code
Building Erlang/OTP 25.3.2 (asdf_25.3.2), please wait...
APPLICATIONS DISABLED (See: /Users/ulbrich/.asdf/plugins/erlang/kerl-home/builds/asdf_25.3.2/otp_build_25.3.2.log)
 * jinterface     : Java compiler disabled by user
 * odbc           : ODBC library - link check failed

Building docs...
Erlang/OTP 25.3.2 (asdf_25.3.2) has been successfully built
ulbrich /Users/ulbrich/src/bwb/api % erl
No erl executable found for erlang 25.3.2

Is the problem simply that the script runs kerl delete installation "blah" before attempting to do the install, and kerl is reporting that it can't delete what's not there?

this line in the kerl script suggests that this may be the case