Note on libev

This commit is contained in:
Tony Garnock-Jones 2012-05-10 17:55:14 -04:00
parent 801a9b7858
commit 66ede5a2a8
1 changed files with 5 additions and 0 deletions

View File

@ -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.