asdf-erlang icon indicating copy to clipboard operation
asdf-erlang copied to clipboard

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

Open lobo-tuerto opened this issue 2 years ago • 9 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? :thinking:

lobo-tuerto avatar Mar 13 '23 16:03 lobo-tuerto

+1

basmoura avatar Apr 18 '23 19:04 basmoura

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

elsifaka avatar Apr 19 '23 13:04 elsifaka

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.

shotleybuilder avatar May 06 '23 20:05 shotleybuilder

Something similar also happened for me. image image

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

meppu avatar May 18 '23 15:05 meppu

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 [email protected])"
% 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

ulbrich avatar May 22 '23 11:05 ulbrich

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

totallymike avatar Jul 27 '23 16:07 totallymike

This is still printing the latest asdf and Erlang 27.0

bcardarella avatar Jun 04 '24 02:06 bcardarella

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

sagunji avatar Sep 12 '24 09:09 sagunji

Stuck here too

GettyOrawo avatar Sep 17 '24 11:09 GettyOrawo

+1

akchaudhary6532 avatar Oct 28 '24 01:10 akchaudhary6532

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.

pavlo-iuriichuk avatar Nov 17 '24 21:11 pavlo-iuriichuk

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.

Installing kerl worked for me as well.

Thanks @pavlo-iuriichuk

HuzShakir avatar Jan 16 '25 11:01 HuzShakir

For me, the problem was that I didn't have C compiler installed so it couldn't build erlang. After this command I sucessfully installed erlang 25.3 in my WSL 1 Ubuntu 22.04: sudo apt update && sudo apt install -y autoconf gcc g++ make libssl-dev libncurses-dev clang

dev-dimitrov avatar Feb 11 '25 18:02 dev-dimitrov

Made some improvements to macos installation in PR #334. PR has some screenshots and notes.

Please update to the latest master branch of this plugin. This issue should be fixed. There's now a warning for macos if optional dependencies are not installed.

HashNuke avatar Mar 16 '25 14:03 HashNuke

The error about kerl-managed installation should not appear anymore when erlang is being installed

HashNuke avatar Mar 16 '25 14:03 HashNuke