Closed ttsunboy closed 5 years ago
ERLC ranch.erl ranch_acceptor.erl ranch_acceptors_sup.erl ranch_app.erl ranch_conns_sup.erl ranch_crc32c.erl ranch_listener_sup.erl ranch_protocol.erl ranch_proxy_header.erl ranch_server.erl ranch_ssl.erl ranch_sup.erl ranch_tcp.erl ranch_transport.erl src/ranch_proxy_header.erl:23: syntax error before: ':=' src/ranch_proxy_header.erl:592: type proxy_info() undefined ../../erlang.mk:5053: recipe for target 'ebin/ranch.app' failed make[3]: *** [ebin/ranch.app] Error 1 ../../erlang.mk:4857: recipe for target 'app' failed make[2]: *** [app] Error 2 make[2]: Leaving directory '/root/xabber-websocket/deps/ranch' ../../erlang.mk:4182: recipe for target 'deps' failed make[1]: *** [deps] Error 2 make[1]: Leaving directory '/root/xabber-websocket/deps/cowboy' erlang.mk:4180: recipe for target 'deps' failed make: *** [deps] Error 2
Used apt to install erlang. How can I solve this?
apt
install erlang version 20 from https://www.erlang-solutions.com/resources/download.html
Used
apt
to install erlang. How can I solve this?