Under debian required packages are:
picosat
libxml-light-ocaml-dev

If ocaml is installed with opam, the required ocaml package is xml-light.

With the latest versions of ocaml (>=4.09), the graphics library
is no longer included in the standard distribution and has to be added
(graphics package in opam).

There are more explanations in the Makefile.