-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
Build error: luv_unix cannot find uv.h
#108
Comments
It is most likely an instance of ocaml/dune#4121, an upstream bug I reported to Dune, and is the reason I was delaying merging Try working around it by installing a system-wide libuv (from Homebrew?), then removing it when done developing. The CI is probably going to be pretty broken because of this. I'll look into seeing how far it can be fixed today. If you get the build working locally (it works for me), don't worry about fixing the CI — I'll take care of it asychronously. |
(You can fully verify that it's due to ocaml/dune#4121 by following the repro instructions in the issue; all the EDIT: this check should be done without a Homebrew libuv installed. |
@aantron Ah that makes sense. Installing the system header works for now -- I'll let you decide if this should remain open or if it should be closed since the issue is with Thanks! |
Great :) I'll leave it open as a reminder in this repo, that there is still an issue to address. |
I worked around this in 150c305. |
OS: macOS 11
Problem: I try building
luv_unix
withdune build -p luv,luv_unix
and I get the following error:I assume this is because the
INCLUDE_PATH
is not setup properly forluv_unix
, unlikeluv.c
.The text was updated successfully, but these errors were encountered: