SZJX
Unable to build Elixir with Erlang OTP 21: 'cannot get bootfile','no_dot_erlang.boot'
I’ve never built Elixir on my own and this is the first time I’ve tried to do so. However, make clean test fails with:
{"init terminating in do_boot",{'cannot get bootfile','no_dot_erlang.boot'}}
init terminating in do_boot ({cannot get bootfile,no_dot_erlang.boot})
Crash dump is being written to: erl_crash.dump...done
make: *** [lib/elixir/src/elixir_parser.erl] Fehler 1
I’m not sure what’s happening. Is it the case that Elixir was unable to find the path to the erl executable for some reason?
I was able to run erl and test it with a helloworld Erlang file just fine.
System: Kernel: 3.10.0-693.21.1.el7.x86_64 x86_64 bits: 64 gcc: 4.8.5
Console: tty 0 Distro: Scientific Linux release 7.5 (Nitrogen)
Erlang/OTP 21 [erts-10.0] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] [hipe]
The Elixir repo is the newest master branch from Git.
Marked As Solved
SZJX
Actually they’re not exactly the same issue, as Jose pointed out on the Github issue I opened. Elixir itself should still compile against OTP21.
I eventually found the problem: I installed the erlang package following an online guide, while in fact I should have installed esl-erlang package, which includes the complete package.
From the Erlang FAQ
The “esl-erlang” package is a file containg the complete installation: it includes the Erlang/OTP platform and all of its applications. The “erlang” package is a frontend to a number of smaller packages. Currently we support both “erlang” and “esl-erlang”.
I didn’t get the difference between those two packages at first sight and chose the wrong option. Apparently to successfully run Elixir you need the latter.
Thanks for pointing to the issue. That also helped to clarify the matter and point me to the right direction.







