Skip to content

Instantly share code, notes, and snippets.

@sivsushruth
Last active February 28, 2016 19:42
Show Gist options
  • Save sivsushruth/7235bd0063685a19ab5e to your computer and use it in GitHub Desktop.
Save sivsushruth/7235bd0063685a19ab5e to your computer and use it in GitHub Desktop.
Elixir make compile error : install parsetools
git clone https://github.com/elixir-lang/elixir.git
Cloning into 'elixir'...
remote: Counting objects: 90688, done.
remote: Compressing objects: 100% (431/431), done.
remote: Total 90688 (delta 251), reused 6 (delta 6), pack-reused 90245
Receiving objects: 100% (90688/90688), 33.08 MiB | 14.52 MiB/s, done.
Resolving deltas: 100% (51151/51151), done.
Checking connectivity... done.
cd elixir/
make compile
==> elixir (compile)
unexpected error compiling src/elixir_parser.yrl
{'EXIT',{undef,[{yecc,file,
["src/elixir_parser.yrl",
[{parserfile,"src/elixir_parser.erl"},
{report,true},
{verbose,false},
{return,true}]],
[]},
{rebar_erlc_compiler,compile_xrl_yrl,5,
[{file,"src/rebar_erlc_compiler.erl"},
{line,429}]},
{rebar_base_compiler,compile,3,
[{file,"src/rebar_base_compiler.erl"},
{line,121}]},
{rebar_base_compiler,compile_worker,3,
[{file,"src/rebar_base_compiler.erl"},
{line,194}]}]}}
ERROR: compile failed while processing /elixir/lib/elixir: rebar_abort
make: *** [erlang] Error 1
@sivsushruth
Copy link
Author

Fix

sudo apt-get install erlang-parsetools

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment