Closed jrmcclurg closed 7 years ago
Hi Jed, Jane street recently updated their libraries, so a bunch of things broke. @jnfoster fixed things on the jnf-fixes branch, but hasn't merged the fixed into master yet.
So here is what should work for the time being:
opam update
opam switch 4.04.1 # get newest OCaml
git checkout jnf-fixes
# now install frenetic
Hi Steffen, thanks, this helps! Although I still can't quite get it to work - when I do...
opam update
opam switch 4.04.1
git checkout jnf-fixes
opam pin add -k git -y frenetic .
... I immediately get the following error:
The following dependencies couldn't be met:
- frenetic -> sexplib < 113.01.00
Your request can't be satisfied:
- sexplib<113.01.00 is not available because your system doesn't comply with ocaml-version >= "4.02.1" & ocaml-version < "4.03".
Strangely, when I try the same steps on my other (basically identical) machine, I get a different error:
Your request can't be satisfied:
- frenetic.3.4.1 is not available because the package is pinned to /home/jrmcclurg/git/frenetic, version 3.4.1.
If I switch to OCaml 4.02.3, then all the prerequisite packages are installed, and then the final step ("frenetic") fails with a dependency on OCaml >= 4.04
.
Your error looks like either you have some stale files or your environment variables are not set correctly. Try again:
opam update
opam switch 4.04.1
eval `opam config env` # make sure environment variables are set correctly
git pull && git checkout jnf-fixes
make clean && make
(Ocaml 4.02.3 definitely won't work, we rely on ppx, which is a relatively recent feature)
I tried this and still get the first error I mentioned, when I run the opam pin
command (make
doesn't seem to work at all for me - I just get a huge list of errors regarding missing dependencies such as core
etc.). Maybe there is some other key step in the installation that I'm missing...
For now, I can make the master branch work by doing:
git pull && git checkout master
opam pin add -y lwt 2.6.0
opam pin add -y cstruct 2.3.1
opam pin add -y async 113.33.00
opam pin add -k git -y frenetic .
This is a bit ugly, but should work for me, so I'm closing the Issue. Thanks for your help Steffen!
This is very strange, but I'm glad you got it to work. My last guess is that maybe your opam is not up to date.
I checked out the latest master branch, and I'm trying to do the following:
opam pin add -k git -y frenetic .
This causes many packages to be installed, and the final one ("frenetic") fails with the following error:
Am I doing something wrong? Any ideas what I can do to resolve this?