-
Notifications
You must be signed in to change notification settings - Fork 11
Wrong output of "camlp4 -where" #37
Comments
And yes, the |
Urgh. I can't rely on OPAM to install camlp4 properly because you still need a silly patch to make camlp4 compile on Windows... see camlp4/camlp4#41 (comment) Or maybe you can try it? The issue says that you should be able to do it...? |
I have built and installed the
As if Camlp4 couldn't locate |
The root of the problem seems to be neither in OASIS nor in ocamlbuild:
|
huh. the dynloader should try to load a |
|
Suddenly, this works:
And even without specifying the search path:
Puzzling. Seems like a yet another path-handling-related bug in Camlp4. |
This did the trick:
I'm not sure how or why does it work, but the installer can also set this variable, at least as a temporary workaround. Something is probably wrong with handling those paths in Camlp4, but I haven't figured that out yet. |
Can you submit a pull request? (I'm short on time right now.) Thanks, Jonathan |
Hello. I haven't figured out how to add this environment variable into the installation script (I'm not familiar with NSIS), and I didn't have time to test the modified installer, so I put that "export" line into my |
OCaml binaries are installed in
c:\OCaml
, andocamlc -where
returns this path, yetcamlp4 -where
returnsC:/ocamlmgw/lib\camlp4
.This seems to break compilation of Camlp4-related packages, e.g.
type_conv
.The text was updated successfully, but these errors were encountered: