-
Notifications
You must be signed in to change notification settings - Fork 73
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
Cannot include ex_uri.hrl #61
Comments
This seems to work for me:
What build steps do you use? |
I get this as well now, am looking at it. My steps are: git clone https://github.com/yrashk/socket.io-erlang.git |
I would bet on an outdated rebar version. The Makefile uses './rebar compile' while my own code snippet above uses 'rebar compile', aka the global rebar I have installed. |
That was my idea as well, I'm using: Oddly enough, if I run
Any idea what that can be? |
This commit upgrades the current agnerized version being used by the Makefile. This prompted changes to the rebar config. The true build problems were caused by the merge #63, which added a fix to the -include_lib path to better work with release. However, this introduced a problem when compiling with rebar given rebar calls 'erlc', which ignores all ERL_LIBS options and thus will only support the default system libs (apparently). This commit adds a macro definition to rebar.config and a preprocessor switch to the socketio_listener module (which had the include_lib changed) so that when compiled from rebar, we use the old code that worked, and when going without rebar, we use the fix that existed. Hopefully that will make everyone happy.
The true build problems were caused by the merge #63, which added I fixed this by adding a macro definition to rebar.config and a Hopefully this won't break the fixes brought by merge #63 Let me know if this fixed the issue |
My initial fix failed because it was missing a rebar.conf tweak (needed to include "deps/". My bad, forgot to include it in the pull request. |
I had the same problem, didn't work with |
From a fresh clone of the hithub repo, I get:
src/socketio_listener.erl:4: can't find include lib "ex_uri.hrl"
when running rebar compile.
The text was updated successfully, but these errors were encountered: