-
Notifications
You must be signed in to change notification settings - Fork 190
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
FTBFS: Multiple rules generated for _build/default/_doc/hostnet/index.html #240
Comments
Well this helps: https://pastebin.com/FLkRURxy but I don't know enough to understand why. With that patch, and ensuring cstruct is at version 2.4.1 (version 3 is out), it all compiles ok. |
Unfortunately, there are few more steps to do before running The error you see is because
Let me know if you manage to go further -- it would be nice if vpnkit was indeed easier to build. |
(Balated) Thanks for the feedback. Agreed building not super easy, I'll see if I can help at all on that |
Thanks to the comments in this thread, I was able to compile vpnkit on MacOS. Here is what worked for me for anyone else struggling to compile it on MacOS. I assume brew is installed and up-to-date. Install opam:
Update pkg-config. I had 0.28 which didn't work, 0.29.2 works:
Latest Ocaml 4.05 is not supported, so switch to an older version:
Update the environment for the switched OCaml:
Clone vpnkit repo and cd to it:
Get the dependencies:
Ignore the repo dir:
You are now ready to compile:
|
The build instructions specified in the README should now work properly:
Please re-open if that's not the case. |
Hey,
I've checked out today's vpnkit (e203f93), following the README installed the opam dependencies ok, but when trying to build I hit this barrier:
I'm trying to understand jbuilder, but if someone can see what I'm missing, I'd appreciate a hint.
Here's my opam config report: https://pastebin.com/4mktVd6x
and installed deps: https://pastebin.com/zxip0JqT
Thanks
-G
The text was updated successfully, but these errors were encountered: