asdf-vm / asdf-erlang

Erlang plugin for asdf version manager
https://github.com/asdf-vm/asdf
MIT License
483 stars 119 forks source link

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

Open lobo-tuerto opened 1 year ago

lobo-tuerto commented 1 year ago

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? :thinking:

basmoura commented 1 year ago

+1

elsifaka commented 1 year ago

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

shotleybuilder commented 1 year ago

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.

meppu commented 1 year ago

Something similar also happened for me. image image

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

ulbrich commented 1 year ago

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
totallymike commented 1 year ago

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

bcardarella commented 5 months ago

This is still printing the latest asdf and Erlang 27.0

sagunji commented 2 months ago

Same for 26.2.2 Did anyone find alternatives besides changing the version?

GettyOrawo commented 2 months ago

Stuck here too

akchaudhary6532 commented 1 month ago

+1

pavlo-iuriichuk commented 1 week ago

The problem was resolved after installing Kerl locally. I used this command to install brew install kerl ; also had to install ncurses-devel as well sudo dnf install ncurses-devel.