-
-
Notifications
You must be signed in to change notification settings - Fork 134
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 build dream on M1 Mac #328
Comments
Add higher bound of mirage-crypto dependancy to fix building of example 1 due to API changes. Fixes aantron#328
Add higher bound of mirage-crypto dependancy to fix building of example 1 due to API changes. Fixes aantron#328
Thanks for the report! @oemmerson diagnosed this as that mirage-crypto, a dependency of Dream, has been updated in a breaking fashion in its recent 1.0.0 release. The easiest immediate solution is to pin it to a lower version with @oemmerson has also proposed a fix in #331 by constraining Dream to require older versions of mirage-crypto. However, we'd actually like to upgrade to 1.0.0, including because it has some quite nice changes, so I've proposed the upgrade in #334 instead. I'd like to do some more testing before merging, but you should be able to try it now by running the dev commands from a checkout of the Thanks @maxRN, @oemmerson! |
I was trying to compile dream locally and while I was able to install all dependencies, running the examples isn't possible.
This is what I did, following docs/CONTRIBUTING.md:
git clone https://github.com/aantron/dream.git --recursive
cd dream
opam switch create . 4.14.1 --no-install
make deps
cd examples/1-hello
dune exec ./hello.exe
--> This failsDune version: 3.16.0
opam version: 2.1.5
ocaml version: 4.14.1
The text was updated successfully, but these errors were encountered: