Closed brabalan closed 5 years ago
You've got inconsistent OCaml versions in the paths listed there? Moving to 4.06 should certainly be on the todo list.
Yes, I was on a 4.06.1 switch. I think the problem is with jbuilder as the make init
does the switch to 4.04 and does the eval opam config env
, which I can see as the packages are installed in the correct switch… yet the library (just for biniou) is looked up in the wrong path.
It's potentially the case that the shell variables set in the eval
line aren't being carried over to the next lines of the Makefile, resulting in inconsistent use of switches.
I'm not sure about that, as biniou is trying to be built in the 4.04 opam directory, so the environment seems to point there.
There is no more "make init" and the new Makefile build with 4.07.1 fine.
Biniou fails to build, but I think this is a problem with jbuilder: