I am trying to use libev with Lwt. Unfortunately it is failing on me.
Specifically the issue is that although I have installed conf-libev via opam, and libev-dev via apt, whenever I try to do
Lwt_engine.set (new Lwt_engine.libev ()) ;
I get an error saying that libev is not found.
Primarily I am not sure how to approach debugging this, because I presume that this is just due to some system settings that I have. For reference I am using the Ubuntu 16 xenial docker image to do this development in.
An additional point is that when I installed conf-libev via opam, lwt was reinstalled and I would presume that that was to compile it with libev.
Could you show the precise message you get, and the commands you run, including for installing libev, conf-libev, and Lwt? Please also check that you are building against the same opam switch that you installed conf-libev in, i.e. make sure you have run eval `opam env` .
Yes, it has to be 4.3.0. That output is silenced in 4.4.0, but I might add a flag to restore it for this kind of debugging.
That you are getting skipped indicates that the Lwt install process isn’t detecting the conf-libev that you have installed in opam. The code it runs for doing that can be found here, perhaps you can try the command that Lwt is running. What version of opam are you using?