redsolution / xabber-websocket

Standalone WebSocket connection manager needed to connect Xabber for Web to multiple different XMPP servers
https://www.xabber.com
GNU Affero General Public License v3.0
11 stars 7 forks source link

multiple 'ecipy failed #6

Closed ttsunboy closed 5 years ago

ttsunboy commented 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?

oxoWrk commented 5 years ago

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