On Mon, Aug 07, 2017 at 08:10:55AM -0500, Chris McIntosh wrote:
> Hey Thanks Rich.
>
> > What distro?
> Solus
>
> > Are the OCaml bindings for hivex actually installed?
> I don't think so at this point, though make install runs this command:
>
> ocamlfind install \
> -ldconf ignore -destdir /home/chris/.opam/4.05.0/lib/ocaml \ Oh I see you're using opam to install locally.
> hivex \
> META *.so *.a *.cma *.cmi ./*.mli *.cmx *.cmxa
I think you'll need to set up an environment variable before running
./configure. I'm not much of an opam user myself, but it's probably:
export OCAMLPATH=/home/chris/.opam/4.05.0/lib/ocaml
or maybe:
export OCAMLPATH=/home/chris/.opam/4.05.0/lib/ocaml:/usr/lib/ocaml
or similar.
You might also want to check /etc/ocamlfind.conf and the opam
documentation.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
libguestfs lets you edit virtual machines. Supports shell scripting,
bindings from many languages. http://libguestfs.org