-
Notifications
You must be signed in to change notification settings - Fork 3
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
Detection of ocamlnat
is not robust enough if there are several installations of ocaml
#33
Comments
That's a bit odd, no error is reported here. Is this a switch with ocamlnat enabled ? There was some kind of changes upstream I think to minimize the differences between the toplevel, not sure if it affected down in some way. |
This switch supports native compilation (i.e., it does have |
No. But for some reason it seems that it tries to build the |
I do have another So, as far as I'm concerned, my problem is solved. But I'm leaving this issue open because the way |
ocamlnat
is not robust enough if there are several installations of ocaml
If you have something else to suggest why not. But if you ask me, in general having a mix of tools of the same toolchain from different installs in your PATH is definitively asking for trouble. |
Well, I never had a problem up to now. Also, with opam, this is a rather standard situation, I think. An alternative detection mechanism could be to use Anyway, feel free to close the issue if you consider you won't fix it. |
It is definitively standard problems. E.g. your system And the day we will have a combination of cross-compilation and byte-code or native-code only switches, everything will simply melt-down :-) The problem is a bit more general here and I'm not sure it's necessarily the best idea to try to solve the problem at the package level. |
ocamlnat
is not robust enough if there are several installations of ocamlocamlnat
is not robust enough if there are several installations of ocaml
It seems I have missed the sanitization of the Not only does it drastically simplify So… problem solved! And thanks @AltGr for the upstream work. |
It seems like Down does not support OCaml 5. When I try to install it via opam, I get the following error message:
(You can ignore the name of the switch "4.14.0": I'm recycling this switch but actually use OCaml 5.1.1 in it.
The text was updated successfully, but these errors were encountered: