Eliom fails to install on every switch I have attempted > 4.06. I haven’t tried anything older. Can anyone share a switch and list of installed opam packages with version numbers that works? In other words, the output of “opam list”?
I could catalog, and perhaps I should, all the errors I get for every single major release version of ocaml. The net effect right now is that I cannot install Eliom at all.
I have tried 4.06.1, 4.07.0 4.08.0, 4.09.0, and 4.10.0 using opam version 2.1.0~beta built from source code from several months ago. After each switch is created I try “opam install eliom” and usually it craps out either at ocsigenserver or eliom, and once it crapped out at ocamlnet.
Errors are usually “Uninterpreted extension ‘lwt’” in building eliom. Sometimes I get errors about missing functions in lwt if I start downgrading lwt or Eliom depending on which I downgrade first and how much. In 4.06.1 for example, opam cannot install Ocsigenserver.2.16, I have to use 2.14 or 2.15, and even then I must use Lwt > 3.0.0 contrary to the version constraints, which states >= Lwt 3.0.0. I know that Lwt 4.0.0 permits compilation of Ocsigenserver.2.14 or 2.15 but I couldn’t tell you about any versions of Lwt between 3.0.0 and 4.0.0.
I did this to myself. I had a working install of eliom. But I didn’t output the list of “opam list” and now I don’t know what combination of packages I had that worked after invoking opam upgrade. When working with Eliom: don’t ever opam upgrade or at least not without capturing your list of installed packages so you can downgrade some in the hope of finding which one broke your installation.
Perhaps we could get an opam feature that reports back all the invocations of “opam install” that succeed (or fail for purely ocaml-package dependencies) along with the combination of packages and the switch? And the version of opam? We users are out in the wilderness trying to install packages all the time. Might as well get the feedback if you cannot test-build every single combination of all packages. But across all users, we are attempting an awful lot of combinations. And we cannot always upgrade to the latest switch of ocaml because it creates too much code-maintenance work unless we plan it out over time.
UPDATE: I just built eliom 6.12.0 under switch 4.09 but only after invoking it twice. I have no idea why that worked. I was just getting desperate so I hit it again. It failed the first time with zero output, not even an on-screen error message and nothing in the output file.