diff --git a/README.md b/README.md index a496657..2da62d8 100644 --- a/README.md +++ b/README.md @@ -62,6 +62,7 @@ run the server, you will need: - [OCaml itself](http://caml.inria.fr/download.en.html), version 3.12 or newer - [OCaml Findlib](http://projects.camlcity.org/projects/findlib.html); I have used 1.2.8 and 1.3.1, but older versions may well work + - [libev](http://software.schmorp.de/pkg/libev.html) installed somewhere that Findlib can find it Make sure you have `ocamlopt`, `ocamlbuild`, `ocamlfind` etc. on your path. Then, in the `server` subdirectory, run `make`. It should first @@ -69,6 +70,10 @@ compile [Lwt](http://ocsigen.org/lwt/), which is included as a third-party library, and then should proceed to compiling the server itself. +If `ocamlfind` can't find `libev`, try setting (and exporting) the +environment variables `C_INCLUDE_PATH` and `LIBRARY_PATH` to point to +the include and lib directories containing `libev`'s files. + To run the server, simply run `./server/hop_server.native`, or just `make run` from within the `server` directory.