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
ocaml is not a bytecode executable file (OSX) #55
Comments
Issue is the OCaml version, I was using Workaround: |
Installed OCaml and OPAM via Homebrew today: |
However, I could not get Core to load. It does not look like ocaml-top reads the .ocamlinit file. By explicitly adding at the prompt: I can then open Core.Std Also, I am able to get ocaml-top to launch with a operational ocaml process under 4.02.3 by making sure my path is /Users/$USER/.opam/4.02.3/bin:$PATH instead of /Users/$USER/.opam/system/bin:$PATH (which is what my path was when I was originally having the problem described by @dcharkes above). |
I got it to work with 4.02.1as well. So, it looks like it's a 4.03.0 specific problem. |
@mpodell to load a module I passed an argument to the ocaml toplevel: Your solution
also works, but you can not use |
This problem also exists with 4.02.3 Debian. The error is "correct" in the sense that |
Sorry for replying so late. By default, Workaround: use The reason for originally running through |
Opening the editor gives me the following editor:
Running
/Users/myusername/.opam/system/bin/ocaml
in the terminal gives me a working OCaml REPL.Why can the editor not use the ocaml executable?
The text was updated successfully, but these errors were encountered: