Skip to content
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

$TM_OCAML cannot be overwritten #10

Open
louisabraham opened this issue May 28, 2017 · 0 comments
Open

$TM_OCAML cannot be overwritten #10

louisabraham opened this issue May 28, 2017 · 0 comments

Comments

@louisabraham
Copy link

I kept getting the error

ocamlfind /opt/local/bin/ocamlc -o /var/folders/ns/bvd4v4bd62jg8qvwyn02dtdh0000gn/T//ocamltvjqbm -I /opt/local/lib/ocaml/threads -package '' -linkpkg str.cma unix.cma threads.cma /var/folders/ns/bvd4v4bd62jg8qvwyn02dtdh0000gn/T//ocamlKJ7Hn5.ml 2>&1
Uncaught exception: Invalid_argument("Fl_package_base.query")

and solved it because the actual command to run is ocamlfind ocamlc.

The bug is in the Run script at the line

TO_OCAML=${TM_OCAML:=ocamlc}

The value of TM_OCAML defaults to /opt/local/bin/ocamlc, but I cannot override its value, even using the TextMate preferences.
For the moment, my hotfix is to use instead the line:

TO_OCAML=ocamlc

Hope it will be useful to anyone.

Do you know why I get this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant