Please help me.
I want to update to the latest Elixir. using asdf
I tried to install Erlang. However, I get the following error:
$asdf install erlang 22.2.2
Downloading OTP-22.2.2.tar.gz to /home/sasagawa/.asdf/plugins/erlang/kerl-home/archives
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 122 0 122 0 0 225 0 --:–:-- --:–:-- --:–:-- 225
100 53.1M 0 53.1M 0 0 4621k 0 --:–:-- 0:00:11 --:–:-- 4336k
Extracting source code
Building Erlang/OTP 22.2.2 (asdf_22.2.2), please wait…
WARNING: It appears that a required development package ‘libssl-dev’ is not installed.
WARNING: It appears that a required development package ‘libncurses5-dev’ is not installed.
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/sasagawa/.asdf/plugins/erlang/kerl-home/builds/asdf_22.2.2/otp_src_22.2.2/erts/configure failed!
./configure: 343: kill: No such process
I tried to install libssl-dev and libncurses5-dev but get an error.
Elixir1.10 could be installed with asdf. But Erlang doesn’t work.
I use Linux Mint 18.1 “Serena” MATE.