taylor / kiex

Elixir version manager
http://taylor.github.io/kiex/
MIT License
766 stars 65 forks source link

Error during installation of elixir #69

Open diegobernardes opened 7 years ago

diegobernardes commented 7 years ago

Im trying to install elixir using kiex, but im getting this error:

➜  ~ kiex install 1.4.4
Downloading elixir version 1.4.4
Installing elixir version 1.4.4
Switched to branch 'master'
Your branch is up-to-date with 'origin/master'.
warning: refname 'v1.4.4' is ambiguous.
fatal: A branch named 'v1.4.4' already exists.
warning: refname 'v1.4.4' is ambiguous.
Switched to branch 'v1.4.4'
From https://github.com/elixir-lang/elixir
 * tag                   v1.4.4     -> FETCH_HEAD
Already up-to-date.
cd lib/elixir && "/home/diego/.kiex/builds/elixir-git/rebar" clean
Uncaught error in rebar_core: {'EXIT',
                               {undef,
                                [{crypto,start,[],[]},
                                 {rebar,run_aux,2,
                                  [{file,"src/rebar.erl"},{line,163}]},
                                 {rebar,main,1,
                                  [{file,"src/rebar.erl"},{line,58}]},
                                 {escript,run,2,
                                  [{file,"escript.erl"},{line,760}]},
                                 {escript,start,1,
                                  [{file,"escript.erl"},{line,277}]},
                                 {init,start_em,1,[]},
                                 {init,do_boot,3,[]}]}}
make: *** [Makefile:116: clean] Error 1
Uncaught error in rebar_core: {'EXIT',
                               {undef,
                                [{crypto,start,[],[]},
                                 {rebar,run_aux,2,
                                  [{file,"src/rebar.erl"},{line,163}]},
                                 {rebar,main,1,
                                  [{file,"src/rebar.erl"},{line,58}]},
                                 {escript,run,2,
                                  [{file,"escript.erl"},{line,760}]},
                                 {escript,start,1,
                                  [{file,"escript.erl"},{line,277}]},
                                 {init,start_em,1,[]},
                                 {init,do_boot,3,[]}]}}
make: *** [Makefile:69: erlang] Error 1
Problem with Elixir build.  Aborting!
Please report via https://github.com/taylor/kiex/issues/new
ybur-yug commented 7 years ago

I'm getting something quite similar. When I try to install 1.2

Downloading elixir version 1.2
Installing elixir version 1.2
Switched to branch 'master'
Your branch is up-to-date with 'origin/master'.
fatal: A branch named 'v1.2' already exists.
Switched to branch 'v1.2'
Your branch is up-to-date with 'origin/v1.2'.
From https://github.com/elixir-lang/elixir
 * branch            v1.2       -> FETCH_HEAD
Already up-to-date.
/home/ubuntu/.kiex/bin/kiex: line 614: make: command not found
/home/ubuntu/.kiex/bin/kiex: line 617: make: command not found
Problem with Elixir build.  Aborting!
Please report via https://github.com/taylor/kiex/issues/new
lukebakken commented 7 years ago

@diegobernardes - you do not have Erlang built with crypto support. How are you installing / building Erlang?

@ybur-yug - you need to install make - make: command not found

diegobernardes commented 7 years ago

@lukebakken nvm, did a fresh install on my computer, everything with the lastest version and now its working. Erlang was installed from Kerl.

felipesabino commented 6 years ago

I am having the same issue here doing a fresh install using Kerl (from homebrew) to install Erlang 20.0 and Elixir 1.5

Installed kiex from command line on master when latest commit was https://github.com/taylor/kiex/commit/84d97a270d560de74275686c80f1d77f13826cab

Running on a macOS Sierra 10.12.5