yrashk/socket.io-erlang — Issue #68: Variable 'Host' is unbound when compiling
Author: formido
Created: 2011-11-08 19:56:53+00:00
State: open

I can't compile socket.io-erlang. Didn't work with my months-old version of rebar and didn't work after I repulled the latest rebar:

[~]# git clone git@github.com:yrashk/socket.io-erlang.git
Cloning into socket.io-erlang...
remote: Counting objects: 695, done.
remote: Compressing objects: 100% (254/254), done.
remote: Total 695 (delta 468), reused 653 (delta 435)
Receiving objects: 100% (695/695), 1.78 MiB, done.
Resolving deltas: 100% (468/468), done.
[~]# cd socket.io-erlang/
socket.io-erlang]# git submodule init
Submodule 'priv/Socket.IO' (https://github.com/LearnBoost/socket.io-client.git) registered for path 'priv/Socket.IO'
socket.io-erlang]# git submodule update
Cloning into priv/Socket.IO...
remote: Counting objects: 4045, done.
remote: Compressing objects: 100% (1627/1627), done.
remote: Total 4045 (delta 2606), reused 3710 (delta 2321)
Receiving objects: 100% (4045/4045), 2.23 MiB | 4.31 MiB/s, done.
Resolving deltas: 100% (2606/2606), done.
Submodule path 'priv/Socket.IO': checked out 'ec023737a4d54df1fe6e6f198cd87ed8677b6676'
[socket.io-erlang]# rebar get-deps
==> socket.io-erlang (get-deps)
[socket.io-erlang]# rebar compile
==> socket.io-erlang (compile)
Compiled src/socketio_http_server.erl
src/socketio_listener.erl:5: can't find include lib "ex_uri.hrl"
src/socketio_listener.erl:67: record ex_uri undefined
src/socketio_listener.erl:68: variable 'Host' is unbound
src/socketio_listener.erl:68: variable 'Port' is unbound