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

Need to help to resolve make run command #24

Open
patelvanita360 opened this issue Nov 2, 2018 · 4 comments
Open

Need to help to resolve make run command #24

patelvanita360 opened this issue Nov 2, 2018 · 4 comments

Comments

@patelvanita360
Copy link

hello, can any one help me how can i resolve issue when run make.

getting following logs:

username:~/xabber-websocket$ make run
Getting Xabber Web client .... done.
Copying Xabber Web files to 'priv' directory  ........ done.
make[1]: Entering directory '/home/inextrix/xabber-websocket/deps/cowlib'
 DEPEND cowlib.d
 ERLC   cow_cookie.erl cow_date.erl cow_hpack.erl cow_http.erl cow_http2.erl cow_http_hd.erl cow_http_te.erl cow_mimetypes.erl cow_multipart.erl cow_qs.erl cow_spdy.erl cow_uri.erl cow_ws.erl
 APP    cowlib
make[1]: Leaving directory '/home/inextrix/xabber-websocket/deps/cowlib'
make[1]: Entering directory '/home/inextrix/xabber-websocket/deps/cowboy'
 DEP    ranch
make[2]: Entering directory '/home/inextrix/xabber-websocket/deps/ranch'
 DEPEND ranch.d
 ERLC   ranch.erl ranch_acceptor.erl ranch_acceptors_sup.erl ranch_app.erl ranch_conns_sup.erl ranch_listener_sup.erl ranch_protocol.erl ranch_server.erl ranch_ssl.erl ranch_sup.erl ranch_tcp.erl ranch_transport.erl
 APP    ranch
make[2]: Leaving directory '/home/inextrix/xabber-websocket/deps/ranch'
 DEPEND cowboy.d
 ERLC   cowboy.erl cowboy_app.erl cowboy_bstr.erl cowboy_children.erl cowboy_clear.erl cowboy_clock.erl cowboy_compress_h.erl cowboy_constraints.erl cowboy_handler.erl cowboy_http.erl cowboy_http2.erl cowboy_iolists.erl cowboy_loop.erl cowboy_metrics_h.erl cowboy_middleware.erl cowboy_req.erl cowboy_rest.erl cowboy_router.erl cowboy_static.erl cowboy_stream.erl cowboy_stream_h.erl cowboy_sub_protocol.erl cowboy_sup.erl cowboy_tls.erl cowboy_tracer_h.erl cowboy_websocket.erl
src/cowboy_metrics_h.erl:26: syntax error before: ':='
src/cowboy_metrics_h.erl:37: syntax error before: ':='
src/cowboy_metrics_h.erl:48: syntax error before: ':='
src/cowboy_metrics_h.erl:112: type metrics() undefined
src/cowboy_metrics_h.erl:124: type proc_metrics() undefined
src/cowboy_metrics_h.erl:125: type informational_metrics() undefined
../../erlang.mk:5053: recipe for target 'ebin/cowboy.app' failed
make[2]: *** [ebin/cowboy.app] Error 1
../../erlang.mk:4857: recipe for target 'app' failed
make[1]: *** [app] Error 2
make[1]: Leaving directory '/home/inextrix/xabber-websocket/deps/cowboy'
erlang.mk:4180: recipe for target 'deps' failed
make: *** [deps] Error 2

@oxoWrk
Copy link
Contributor

oxoWrk commented Nov 2, 2018

upgrade erlang

@patelvanita360
Copy link
Author

patelvanita360 commented Nov 2, 2018

@oxoWrk thaks for quick response. I have ubuntu and erl version

username:~/xabber-websocket$ erl
Erlang/OTP 18 [erts-7.3] [source] [64-bit] [smp:2:2] [async-threads:10] [kernel-poll:false]

Eshell V7.3 (abort with ^G)

@oxoWrk
Copy link
Contributor

oxoWrk commented Nov 2, 2018

install version 20 from https://www.erlang-solutions.com/resources/download.html

@patelvanita360
Copy link
Author

patelvanita360 commented Nov 2, 2018

@oxoWrk its working now. thanks. Group is not working. any configuration required for it ? How can be group chat working with ejabberd support ?

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

2 participants