#issue with erlang installation using asdf

1 messages · Page 1 of 1 (latest)

pale wraith
#

Hi, i having trouble to install erlang and elixir on my wsl2 ubunto 24.0.04LTS.

i am getting the following error

mj@mj:~/workspace/elixir$ asdf install erlang 27.0
asdf_27.0 is not a kerl-managed Erlang/OTP installation
The asdf_27.0 build has been deleted
Extracting source code
Building Erlang/OTP 27.0 (asdf_27.0), please wait...
[packages] Probe failed for libssl-dev (distro: ubuntu): probe "dpkg-query -Wf'${db:Status-abbrev}' "libssl-dev" 2>/dev/null | \grep -q '^i'" returned 1
[packages] Probe failed for automake (distro: ubuntu): probe "dpkg-query -Wf'${db:Status-abbrev}' "automake" 2>/dev/null | \grep -q '^i'" returned 1
[packages] Probe failed for autoconf (distro: ubuntu): probe "dpkg-query -Wf'${db:Status-abbrev}' "autoconf" 2>/dev/null | \grep -q '^i'" returned 1
[packages] Probe failed for libncurses5-dev (distro: ubuntu): probe "dpkg-query -Wf'${db:Status-abbrev}' "libncurses5-dev" 2>/dev/null | \grep -q '^i'" returned 1
Configure failed.
checking for kstat_open in -lkstat... (cached) no
checking for tgetent in -ltinfo... no
checking for tgetent in -lncurses... no
checking for tgetent in -lcurses... no
checking for tgetent in -ltermcap... no
checking for tgetent in -ltermlib... no
configure: error: No curses library functions found
ERROR: /home/mj/.asdf/plugins/erlang/kerl-home/builds/asdf_27.0/otp_src_27.0/erts/configure failed!
./configure: 370: kill: No such process

i tied to install build-essential but it didn't help

any idea?

primal valley
#

Scroll down to the section for Ubuntu 24.04 and it'll list all the packages you need to install to compile erlang