-
Notifications
You must be signed in to change notification settings - Fork 19
Common Problems
borogove edited this page Sep 13, 2010
·
3 revisions
- Make errors:
If you get an error that looks like this, try running `make boot`
(cd ebin; erl -pa ebin -noshell -run make_boot write_scripts alice) {"init terminating in do_boot",{undef,[{make_boot,write_scripts,[["alice"]]},{init,start_it,1},{init,start_em,1}]}} {"init terminating in do_boot",{'cannot get bootfile','alice.boot'}} Crash dump was written to: erl_crash.dump init terminating in do_boot ()
If you get one that looks like this, make sure you have erlang-dev package installed:
./mochiweb_request.erl:9: can't find include lib "kernel/include/file.hrl"
Another problem that was encountered was Issue #19. The problem was the universe APT repository was commented out in /etc/apt/sources.list. Once I enabled them and apt-get install erlang-src erlang-tools, I was good to go!
- Running on boot:
In order to run alice from a Linux init.d script, you need to provide the environment variable HOME. Try “env HOME=/root /path/to/alice/scripts/alice.sh …”