<div dir="ltr">Hello all,<div>I'm not sure if this is the right place for this message, but I'm encountering a strange error with my OCaml setup and Aquamacs on OS X. I'm using a Oasis-based setup to build my project, and I have both an OPAM installation and system OCaml compilers. When I run the Oasis-generated Makefile from the terminal (Zsh) I get a correct build. But when running Make from inside Aquamacs I get the correct ocamlfind (from OPAM) but I get the system versions of other tools. Here is top of the output from running the Oasis-generated configure (ocaml <a href="http://setup.ml">setup.ml</a> -configure $@) from Aquamacs:</div><div><br></div><div>







<p class=""><span class="">ocamlfind: ........................................... /Users/</span><span class="">basus</span><span class="">/.opam/4.02.3/bin/ocamlfind</span></p>
<p class=""><span class="">ocamlc: .............................................. /usr/local/bin/ocamlc.opt</span></p>
<p class=""><span class="">ocamlopt: ............................................ /usr/local/bin/ocamlopt.opt</span></p>
<p class=""><span class="">ocamlbuild: .......................................... /usr/local/bin/ocamlbuild</span></p><p class=""><span class=""><br></span></p><p class=""><span class="">Aquamacs seems to have the correct PATH. The `exec-path` variable has the OPAM 4.02.3/bin directory right at the start. Any ideas on how I could go about debugging or fixing this?</span></p><p class=""><span class="">Thanks,<br>Basu</span></p></div><div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div>Shrutarshi Basu</div><div><a href="http://Basus.me" target="_blank">Basus.me</a></div><div><a href="http://bytebaker.com" target="_blank">The ByteBaker</a> <br></div></div>
</div></div>