Getting a asdf_25.3 is not a kerl-managed Erlang/OTP installation message
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:
+1
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
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.
Something similar also happened for me.
(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 [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
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
This is still printing the latest asdf and Erlang 27.0
Same for 26.2.2 Did anyone find alternatives besides changing the version?
Stuck here too
+1
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.
The problem was resolved after installing Kerl locally. I used this command to install
brew install kerl; also had to installncurses-develas wellsudo dnf install ncurses-devel.
Installing kerl worked for me as well.
Thanks @pavlo-iuriichuk
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
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.
The error about kerl-managed installation should not appear anymore when erlang is being installed