You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
after installing erlang latest with asdf I got the following output (installed everything with zypper that was mentioned):
asdf install erlang latest
asdf_26.2.3 is not a kerl-managed Erlang/OTP installation
No build named asdf_26.2.3
Downloading 26.2.3 to /home/aberfeldy/.asdf/downloads/erlang/26.2.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 101M 100 101M 0 0 9067k 0 0:00:11 0:00:11 --:--:-- 2556k
Extracting source code
Building Erlang/OTP 26.2.3 (asdf_26.2.3), please wait...
/home/aberfeldy/.asdf/plugins/erlang/kerl: line 769: -leap_probe: command not found
Erlang/OTP 26.2.3 (asdf_26.2.3) has been successfully built
Cleaning up compilation products for asdf_26.2.3
Cleaned up compilation products for asdf_26.2.3 under /home/aberfeldy/.asdf/plugins/erlang/kerl-home/builds
whenever I try to run my erlang code I now get:
home/aberfeldy/.asdf/installs/erlang/26.2.3/bin/erl -pa /home/aberfeldy/Dev/erlang/erlangCourse/out/production/erlangCourse -pa /home/aberfeldy/Dev/erlang/erlangCourse -eval lastelem:doit(). -s init stop -noshell
/home/aberfeldy/.asdf/installs/erlang/26.2.3/erts-14.2.3/bin/beam.smp: /usr/lib/x86_64-linux-gnu/libtinfo.so.6: no version information available (required by /home/aberfeldy/.asdf/installs/erlang/26.2.3/erts-14.2.3/bin/beam.smp)
Error! Failed to eval: lastelem:doit().
Runtime terminating during boot ({undef,[{lastelem,doit,[],[]},{erl_eval,do_apply,7,[{file,"erl_eval.erl"},{line,746}]},{init,start_it,1,[]},{init,start_em,1,[]},{init,do_boot,3,[]}]})
Crash dump is being written to: erl_crash.dump...done
code is just simple test code:
-module(lastelem).
-export([doit/0]).
doit() ->io:format("laste of [1,8,2,5] is ~p~n", [last([1,8,2,5])]),
io:format("last of [sea, water, ocean] is ~p~n", [last(["sea", "water", "ocean"])]),
io:format("laste of [] is ~p~n", [last([])]).
last([]) ->"Empty list has no elements";
last([H | []]) ->H;
last([_ | T]) ->last(T).
Any suggestion what might be missing? Did reinstall all requirements already
The text was updated successfully, but these errors were encountered:
aberfeldy
changed the title
install on Opensuse leap command not found and libtinfo fail
install on Opensuse leap: command not found and libtinfo fail
Apr 3, 2024
after installing erlang latest with asdf I got the following output (installed everything with zypper that was mentioned):
whenever I try to run my erlang code I now get:
code is just simple test code:
Any suggestion what might be missing? Did reinstall all requirements already
The text was updated successfully, but these errors were encountered: