-
Notifications
You must be signed in to change notification settings - Fork 76
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
Make setup fails due to "invalid extra arguments" to opam switch create #1133
Comments
I suspect opam 2.1 is needed to create flambda switches like that. |
@WernerDrasche does a switch to opam >= 2.1 help here? |
opam switch -y create . --deps-only --packages=ocaml-variants.4.14.0+options,ocaml-option-flambda --locked in build.sh fixes it. But it still doesn't compile because some dependencies fail to compile. I have given up after a few days of experimenting. |
I've included a fix with |
Theese are the compilation errors:
The last one is funny because I have all these libraries installed. |
This happens when one runs make setup:
[ERROR] Invalid extra arguments ocaml-variants.4.14.0+options ocaml-option-flambda
gmake: *** [Makefile:4: setup] Error 2
opam version: 2.0.8
ocaml version: 5.0.0
OS: openbsd
The text was updated successfully, but these errors were encountered: