#Problem when I try to Install Erlagan via asdf!

1 messages · Page 1 of 1 (latest)

hearty prism
#

I want install Elixir via asdf but I have problem to install Erlang, I use WSL with Ubuntu 20.04.

The error:

❯ asdf install erlang 26.0.2
asdf_26.0.2 is not a kerl-managed Erlang/OTP installation
The asdf_26.0.2 build has been deleted
Extracting source code
Building Erlang/OTP 26.0.2 (asdf_26.0.2), please wait...
WARNING: It appears that a required development package 'libssl-dev' is not installed.
WARNING: It appears that a required development package 'make' is not installed.
WARNING: It appears that a required development package 'automake' is not installed.
WARNING: It appears that a required development package 'autoconf' is not installed.
WARNING: It appears that a required development package 'libncurses5-dev' is not installed.
WARNING: It appears that a required development package 'gcc' is not installed.
WARNING: It appears that a required development package 'g++' is not installed.
Configure failed.
checking for gcc... no
checking for cc... no
checking for cl.exe... no
checking for clang... no
configure: error: in /home/gabvlad7/.asdf/plugins/erlang/kerl-home/builds/asdf_26.0.2/otp_src_26.0.2/erts': configure: error: no acceptable C compiler found in $PATH See config.log' for more details
ERROR: /home/gabvlad7/.asdf/plugins/erlang/kerl-home/builds/asdf_26.0.2/otp_src_26.0.2/erts/configure failed!
./configure: 370: kill: No such process

Please see /home/gabvlad7/.asdf/plugins/erlang/kerl-home/builds/asdf_26.0.2/otp_build_26.0.2.log for full details.

true badger
#

it gives you a list of ubuntu packages you have to have installed before it will work

hearty prism