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

FreeBSD ./start.sh fails #28

Closed
dksayers opened this issue Jul 1, 2010 · 3 comments
Closed

FreeBSD ./start.sh fails #28

dksayers opened this issue Jul 1, 2010 · 3 comments

Comments

@dksayers
Copy link

dksayers commented Jul 1, 2010

I am using a FreeBSD 7.3 OS.

After retrieving alice I run a ./start.sh and get the following :

(cd ebin; erl -pa -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}]}}

Crash dump was written to: erl_crash.dump
init terminating in do_boot ()
*** Error code 1

Stop in /home/daryl/public_html/alice.
{"init terminating in do_boot",{'cannot get bootfile','alice.boot'}}

Crash dump was written to: erl_crash.dump

init terminating in do_boot ()

If I then just run the 'make boot' command I still get the error:
(cd ebin; erl -pa -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}]}}

Crash dump was written to: erl_crash.dump
init terminating in do_boot ()
*** Error code 1

rabbitmq is running and operational so I am unsure as to what the problem is??

@auser
Copy link
Owner

auser commented Jul 2, 2010

did you type make first?

make

@dksayers
Copy link
Author

dksayers commented Jul 5, 2010

No, but when I did I found there to be several errors.
"../support/include.mk", line 13: Need an operator
"../support/include.mk", line 15: Need an operator
"../support/include.mk", line 17: Need an operator
"../support/include.mk", line 19: Need an operator
make: fatal errors encountered -- cannot continue
*** Error code 1

I created an alias to use gmake instead and it all seems to work now. Thanks for the pointer.

@rubyconvict
Copy link

GOOD ADVICE, I'm on FreeBSD 8.0, and having identiacal problem with mochiweb:

root@dnsfreebsd:~/mochiweb []# make
(cd src;make all)
"../support/include.mk", line 13: Need an operator
"../support/include.mk", line 15: Need an operator
"../support/include.mk", line 17: Need an operator
"../support/include.mk", line 19: Need an operator
make: fatal errors encountered -- cannot continue
*** Error code 1

Stop in /root/mochiweb.

This saved me:

root@dnsfreebsd:~/mochiweb []# gmake
(cd src;gmake all)
gmake[1]: Entering directory /root/mochiweb/src' erlc -W -I ../include +debug_info -o ../ebin mochifmt.erl erlc -W -I ../include +debug_info -o ../ebin mochifmt_records.erl erlc -W -I ../include +debug_info -o ../ebin mochifmt_std.erl erlc -W -I ../include +debug_info -o ../ebin mochiglobal.erl erlc -W -I ../include +debug_info -o ../ebin mochihex.erl erlc -W -I ../include +debug_info -o ../ebin mochijson.erl erlc -W -I ../include +debug_info -o ../ebin mochijson2.erl erlc -W -I ../include +debug_info -o ../ebin mochilists.erl erlc -W -I ../include +debug_info -o ../ebin mochilogfile2.erl erlc -W -I ../include +debug_info -o ../ebin mochinum.erl erlc -W -I ../include +debug_info -o ../ebin mochitemp.erl erlc -W -I ../include +debug_info -o ../ebin mochiutf8.erl erlc -W -I ../include +debug_info -o ../ebin mochiweb.erl erlc -W -I ../include +debug_info -o ../ebin mochiweb_acceptor.erl erlc -W -I ../include +debug_info -o ../ebin mochiweb_app.erl erlc -W -I ../include +debug_info -o ../ebin mochiweb_charref.erl erlc -W -I ../include +debug_info -o ../ebin mochiweb_cookies.erl erlc -W -I ../include +debug_info -o ../ebin mochiweb_cover.erl erlc -W -I ../include +debug_info -o ../ebin mochiweb_echo.erl erlc -W -I ../include +debug_info -o ../ebin mochiweb_headers.erl erlc -W -I ../include +debug_info -o ../ebin mochiweb_html.erl erlc -W -I ../include +debug_info -o ../ebin mochiweb_http.erl erlc -W -I ../include +debug_info -o ../ebin mochiweb_io.erl erlc -W -I ../include +debug_info -o ../ebin mochiweb_mime.erl erlc -W -I ../include +debug_info -o ../ebin mochiweb_multipart.erl erlc -W -I ../include +debug_info -o ../ebin mochiweb_request.erl erlc -W -I ../include +debug_info -o ../ebin mochiweb_response.erl erlc -W -I ../include +debug_info -o ../ebin mochiweb_skel.erl erlc -W -I ../include +debug_info -o ../ebin mochiweb_socket.erl erlc -W -I ../include +debug_info -o ../ebin mochiweb_socket_server.erl erlc -W -I ../include +debug_info -o ../ebin mochiweb_sup.erl erlc -W -I ../include +debug_info -o ../ebin mochiweb_util.erl erlc -W -I ../include +debug_info -o ../ebin reloader.erl ../support/make_app.escript mochiweb.app.src ../ebin/mochiweb.app "" "mochifmt mochifmt_records mochifmt_std mochiglobal mochihex mochijson mochijson2 mochilists mochilogfile2 mochinum mochitemp mochiutf8 mochiweb mochiweb_acceptor mochiweb_app mochiweb_charref mochiweb_cookies mochiweb_cover mochiweb_echo mochiweb_headers mochiweb_html mochiweb_http mochiweb_io mochiweb_mime mochiweb_multipart mochiweb_request mochiweb_response mochiweb_skel mochiweb_socket mochiweb_socket_server mochiweb_sup mochiweb_util reloader" gmake[1]: Leaving directory/root/mochiweb/src'

This issue was closed.
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