For those of you who try to use certain features of erlang and find
themself confused with more or less the following error message:
Saturn:src zeisss$ erl -make
Recompile: gs_tcp_sup
{"init terminating in do_boot",{undef,[{compile,file,["gs_tcp_sup",[report_errors,report_warnings,error_summary,debug_info]]},{make,process,3},{init,start_it,1},{init,start_em,1}]}}
Crash dump was written to: erl_crash.dump
init terminating in do_boot ()
This error message says, that it could not find the compile module. For
me, the problem was the way I installed erlang on my macbook: I used the
cean installer, which skips a number of packages in its default
installation, e.g. SASL and the compiler packages. To install them,
start erlang and use cean:search("keyword") to search for the compiler package.
2> cean:search("compiler").
[{"mlex","Lexical scanner"},
{"ic","IDL compiler"},
{"hipe","Make a native-compilation of an Erlang module"},
{"compiler",
"A byte code compiler for Erlang which produces highly compact code"},
{"claw","CLAW is an embryonic compiler from Core Erlang to Common Lisp"}]
With cean:install("packagename")
you can install them now. For my example above, you had to install the
compiler package with cean:install("compiler").