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

Can't compile #4

Closed
essen opened this issue Jun 6, 2015 · 4 comments
Closed

Can't compile #4

essen opened this issue Jun 6, 2015 · 4 comments

Comments

@essen
Copy link

essen commented Jun 6, 2015

Getting this output:

==> verx (compile)
/home/essen/ninenines/erlang.mk/test/app1/deps/verx/bin/gen_remote_protocol.escript:8: can't find include lib "verx/include/libvirt_constants.hrl"
/home/essen/ninenines/erlang.mk/test/app1/deps/verx/bin/gen_remote_protocol.escript:12: undefined macro 'VIR_SECURITY_MODEL_BUFLEN'

I'm probably missing something...

msantos added a commit that referenced this issue Jun 6, 2015
Commit dc61c3b modified the gen_remote_protocol.escript to include a
header file. If ERL_LIBS is unset, the escript would fail to find the
header:

==> verx (compile)
/home/essen/ninenines/erlang.mk/test/app1/deps/verx/bin/gen_remote_protocol.escript:8: can't find include lib "verx/include/libvirt_constants.hrl"
/home/essen/ninenines/erlang.mk/test/app1/deps/verx/bin/gen_remote_protocol.escript:12: undefined macro 'VIR_SECURITY_MODEL_BUFLEN'

Set a default search path.

See:
#4
ninenines/erlang.mk#265

Thanks @essen!
@essen
Copy link
Author

essen commented Jun 6, 2015

Trying...

@essen
Copy link
Author

essen commented Jun 6, 2015

I confirm it's working now, thanks!

@essen essen closed this as completed Jun 6, 2015
@msantos
Copy link
Owner

msantos commented Jun 6, 2015

Thanks! I had ERL_LIBS set in my environment so I didn't notice the failure.

BTW thanks for adding verx to the erlang.mk index. Been meaning to try switching a few projects over to erlang.mk from rebar.

@essen
Copy link
Author

essen commented Jun 6, 2015

Just added it! \o/

The index has a lot of your projects working already. I might have missed a few so if something is missing give me a nudge. :-)

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