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 installing elixir #43

Open
ridwan-yusuf opened this issue Apr 7, 2016 · 2 comments
Open

Error installing elixir #43

ridwan-yusuf opened this issue Apr 7, 2016 · 2 comments

Comments

@ridwan-yusuf
Copy link

I'm using ubuntu 14.04 and got this error when installing elixir.
I've tried version 1.2.4, 1.2.3, and 1.1.0
I also already installed the latest esl-erlang

Your branch is behind 'origin/master' by 1 commit, and can be fast-forwarded.
(use "git pull" to update your local branch)
Already up-to-date.
cd lib/elixir && "/home/ryusuf/.kiex/builds/elixir-git/rebar" clean
==> elixir (clean)
rm -rf ebin
rm -rf lib//ebin
rm -rf lib/elixir/test/ebin
rm -rf lib/
/tmp
rm -rf lib/mix/test/fixtures/git_repo
rm -rf lib/mix/test/fixtures/deps_on_git_repo
rm -rf lib/mix/test/fixtures/git_rebar
rm -rf lib/elixir/src/elixir.app.src
make clean_man
make[1]: Entering directory /home/ryusuf/.kiex/builds/elixir-git' rm -f man/elixir.1 rm -f man/iex.1 make[1]: Leaving directory/home/ryusuf/.kiex/builds/elixir-git'
==> elixir (compile)
Compiled src/elixir_parser.yrl
Compiled src/elixir_env.erl
Compiled src/elixir_utils.erl
Compiled src/elixir_scope.erl
Compiled src/elixir_code_server.erl
Compiled src/elixir_compiler.erl
Compiled src/elixir_def.erl
Compiled src/elixir_interpolation.erl
Compiled src/elixir_fn.erl
Compiled src/elixir_config.erl
Compiled src/elixir_sup.erl
Compiled src/elixir_rewrite.erl
Compiled src/elixir_dispatch.erl
Compiled src/elixir_errors.erl
Compiled src/elixir_tokenizer.erl
Compiled src/elixir_quote.erl
Compiled src/elixir_lexical.erl
Compiled src/elixir_aliases.erl
Compiled src/elixir_map.erl
Compiled src/elixir_for.erl
Compiled src/elixir_locals.erl
Compiled src/elixir_module.erl
Compiled src/elixir_counter.erl
Compiled src/elixir_with.erl
Compiled src/elixir_import.erl
Compiled src/elixir_def_overridable.erl
Compiled src/elixir_bootstrap.erl
Compiled src/elixir_exp_clauses.erl
Compiled src/elixir_exp.erl
Compiled src/elixir_def_defaults.erl
Compiled src/elixir_clauses.erl
Compiled src/elixir.erl
Compiled src/elixir_bitstring.erl
Compiled src/elixir_try.erl
Compiled src/elixir_translator.erl
Compiled src/elixir_parser.erl
==> bootstrap (compile)
Compiled lib/elixir/lib/kernel.ex
Compiled lib/elixir/lib/macro/env.ex
Compiled lib/elixir/lib/keyword.ex
Compiled lib/elixir/lib/module.ex
Compiled lib/elixir/lib/list.ex
Compiled lib/elixir/lib/macro.ex
Compiled lib/elixir/lib/code.ex
Compiled lib/elixir/lib/module/locals_tracker.ex
Compiled lib/elixir/lib/kernel/typespec.ex
Compiled lib/elixir/lib/kernel/utils.ex
Compiled lib/elixir/lib/behaviour.ex
Compiled lib/elixir/lib/exception.ex
Compiled lib/elixir/lib/protocol.ex
Compiled lib/elixir/lib/stream/reducers.ex
Compiled lib/elixir/lib/enum.ex
Compiled lib/elixir/lib/inspect/algebra.ex
Compiled lib/elixir/lib/inspect.ex
Compiled lib/elixir/lib/range.ex
Compiled lib/elixir/lib/regex.ex
Compiled lib/elixir/lib/string.ex
Compiled lib/elixir/lib/string/chars.ex
Compiled lib/elixir/lib/io.ex
Compiled lib/elixir/lib/path.ex
Compiled lib/elixir/lib/file.ex
Compiled lib/elixir/lib/system.ex
Compiled lib/elixir/lib/kernel/cli.ex
Compiled lib/elixir/lib/kernel/error_handler.ex
Compiled lib/elixir/lib/kernel/parallel_compiler.ex
Compiled lib/elixir/lib/kernel/lexical_tracker.ex
==> elixir (compile)
==> elixir (compile)
==> eex (compile)
Problem with Elixir build. Aborting!
Please report via https://github.com/taylor/kiex/issues/new
Already on 'master'
Your branch is up-to-date with 'origin/master'.
Switched to a new branch 'v1.2.4'
From https://github.com/elixir-lang/elixir

  • tag v1.2.4 -> FETCH_HEAD
    Already up-to-date.
    cd lib/elixir && "/home/ryusuf/.kiex/builds/elixir-git/rebar" clean
    ==> elixir (clean)
    rm -rf ebin
    rm -rf lib//ebin
    rm -rf lib/elixir/test/ebin
    rm -rf lib/
    /tmp
    rm -rf lib/mix/test/fixtures/git_repo
    rm -rf lib/mix/test/fixtures/deps_on_git_repo
    rm -rf lib/mix/test/fixtures/git_rebar
    rm -rf lib/elixir/src/elixir.app.src
    make clean_man
    make[1]: Entering directory /home/ryusuf/.kiex/builds/elixir-git' rm -f man/elixir.1 rm -f man/iex.1 make[1]: Leaving directory/home/ryusuf/.kiex/builds/elixir-git'
    ==> elixir (compile)
    Compiled src/elixir_parser.yrl
    Compiled src/elixir_env.erl
    Compiled src/elixir_utils.erl
    Compiled src/elixir_scope.erl
    Compiled src/elixir_code_server.erl
    Compiled src/elixir_compiler.erl
    Compiled src/elixir_def.erl
    Compiled src/elixir_fn.erl
    Compiled src/elixir_interpolation.erl
    Compiled src/elixir_config.erl
    Compiled src/elixir_sup.erl
    Compiled src/elixir_rewrite.erl
    Compiled src/elixir_dispatch.erl
    Compiled src/elixir_tokenizer.erl
    Compiled src/elixir_lexical.erl
    Compiled src/elixir_errors.erl
    Compiled src/elixir_aliases.erl
    Compiled src/elixir_quote.erl
    Compiled src/elixir_module.erl
    Compiled src/elixir_map.erl
    Compiled src/elixir_for.erl
    Compiled src/elixir_locals.erl
    Compiled src/elixir_counter.erl
    Compiled src/elixir_with.erl
    Compiled src/elixir_import.erl
    Compiled src/elixir_exp_clauses.erl
    Compiled src/elixir_def_overridable.erl
    Compiled src/elixir_bootstrap.erl
    Compiled src/elixir_exp.erl
    Compiled src/elixir_def_defaults.erl
    Compiled src/elixir_clauses.erl
    Compiled src/elixir.erl
    Compiled src/elixir_bitstring.erl
    Compiled src/elixir_try.erl
    Compiled src/elixir_translator.erl
    Compiled src/elixir_parser.erl
    ==> bootstrap (compile)
    Compiled lib/elixir/lib/kernel.ex
    Compiled lib/elixir/lib/macro/env.ex
    Compiled lib/elixir/lib/keyword.ex
    Compiled lib/elixir/lib/module.ex
    Compiled lib/elixir/lib/list.ex
    Compiled lib/elixir/lib/macro.ex
    Compiled lib/elixir/lib/code.ex
    Compiled lib/elixir/lib/module/locals_tracker.ex
    Compiled lib/elixir/lib/kernel/typespec.ex
    Compiled lib/elixir/lib/kernel/utils.ex
    Compiled lib/elixir/lib/behaviour.ex
    Compiled lib/elixir/lib/exception.ex
    Compiled lib/elixir/lib/protocol.ex
    Compiled lib/elixir/lib/stream/reducers.ex
    Compiled lib/elixir/lib/enum.ex
    Compiled lib/elixir/lib/inspect/algebra.ex
    Compiled lib/elixir/lib/inspect.ex
    Compiled lib/elixir/lib/range.ex
    Compiled lib/elixir/lib/regex.ex
    Compiled lib/elixir/lib/string.ex
    Compiled lib/elixir/lib/string/chars.ex
    Compiled lib/elixir/lib/io.ex
    Compiled lib/elixir/lib/path.ex
    Compiled lib/elixir/lib/file.ex
    Compiled lib/elixir/lib/system.ex
    Compiled lib/elixir/lib/kernel/cli.ex
    Compiled lib/elixir/lib/kernel/error_handler.ex
    Compiled lib/elixir/lib/kernel/parallel_compiler.ex
    Compiled lib/elixir/lib/kernel/lexical_tracker.ex
    ==> elixir (compile)
    /bin/sh: 1: ../../bin/elixirc: not found
    make: *** [lib/elixir/ebin/Elixir.Kernel.beam] Error 127
    ==> elixir (compile)
    ==> eex (compile)
    /bin/sh: 1: ../../bin/elixirc: not found
    make: *** [lib/eex/ebin/Elixir.EEx.beam] Error 127
    Problem with Elixir build. Aborting!
    Please report via https://github.com/taylor/kiex/issues/new
@padi
Copy link
Contributor

padi commented Apr 12, 2017

I'm also having the same error code on macOS Sierra 10.12.3. Tried installing elixir 1.4.2 and 1.3.4 but both failed with exact same message. Installed erlang via kerl: erl

erl --help
Erlang/OTP 19 [erts-8.3] [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]

Eshell V8.3  (abort with ^G)

Installation seemed to go well until later:

...
==> elixir (compile)
warning: behaviour String.Chars is undefined
  lib/calendar.ex:428

warning: behaviour Inspect is undefined
  lib/calendar.ex:434

warning: Dict.update/4 is deprecated, use the Map module for working with maps or the Keyword module for working with keyword lists
  lib/enum.ex:1049

warning: use Dict is deprecated, use the Map module for working with maps or the Keyword module for working with keyword lists
  lib/hash_dict.ex:10

warning: the Dict module is deprecated
  lib/hash_dict.ex:10

warning: HashSet.reduce/3 is deprecated, use the MapSet module instead
  lib/hash_set.ex:238

warning: HashSet.member?/2 is deprecated, use the MapSet module instead
  lib/hash_set.ex:239

warning: HashSet.size/1 is deprecated, use the MapSet module instead
  lib/hash_set.ex:240

warning: HashSet.put/2 is deprecated, use the MapSet module instead
  lib/hash_set.ex:246

warning: HashSet.to_list/1 is deprecated, use the MapSet module instead
  lib/hash_set.ex:257

warning: HashDict.reduce/3 is deprecated, use maps and the Map module instead
  lib/hash_dict.ex:223

warning: HashDict.fetch/2 is deprecated, use maps and the Map module instead
  lib/hash_dict.ex:224

warning: HashDict.size/1 is deprecated, use maps and the Map module instead
  lib/hash_dict.ex:226

warning: HashDict.put/3 is deprecated, use maps and the Map module instead
  lib/hash_dict.ex:232

warning: HashDict.to_list/1 is deprecated, use maps and the Map module instead
  lib/hash_dict.ex:243

warning: behaviour String.Chars is undefined
  lib/calendar.ex:766

warning: behaviour String.Chars is undefined
  lib/calendar.ex:1295

warning: variable "allow_nonexistent_atoms?" is unused
  lib/option_parser.ex:408

warning: behaviour String.Chars is undefined
  lib/calendar.ex:1760

warning: Dict.put/3 is deprecated, use the Map module for working with maps or the Keyword module for working with keyword lists
  lib/uri.ex:160

==> unicode (compile)
Compiling unicode/unicode.ex (it's taking more than 5s)
==> elixir (compile)
==> eex (compile)
==> mix (compile)
Generated mix app
==> ex_unit (compile)
Generated ex_unit app
==> logger (compile)
Generated logger app
Generated eex app
==> iex (compile)
Generated iex app
==> elixir (compile)
==> elixir (install)
rbenv: install: command not found
rbenv: install: command not found
rbenv: install: command not found
rbenv: install: command not found
rbenv: install: command not found
rbenv: install: command not found
rbenv: install: command not found
rbenv: install: command not found
rbenv: install: command not found
rbenv: install: command not found
rbenv: install: command not found
rbenv: install: command not found
make: *** [install] Error 127
Problem with Elixir build.  Aborting!
Please report via https://github.com/taylor/kiex/issues/new

@Yamilquery
Copy link

I have same Issue. It seems like an any kind of trouble with kiex library.
I think that the better solution to this is avoid to use this elixir manager...

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

3 participants