Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error during installation of elixir #69

Open
diegobernardes opened this issue May 31, 2017 · 4 comments
Open

Error during installation of elixir #69

diegobernardes opened this issue May 31, 2017 · 4 comments

Comments

@diegobernardes
Copy link

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
Copy link

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
Copy link

@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
Copy link
Author

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

@felipesabino
Copy link

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 84d97a2

Running on a macOS Sierra 10.12.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants