[Libguestfs] Ocamlfind can't find hivex

Richard W.M. Jones rjones at redhat.com
Mon Aug 7 09:13:34 UTC 2017


On Sun, Aug 06, 2017 at 06:17:04PM -0500, Chris McIntosh wrote:
>  <https://github.com/Chocrates>
> Apologies if this is the wrong list, I initially opened a github ticket
> before reading that github isn't the right spot.
> 
> Trying to compile libguestfs and in the process need to get hivex compiled
> and installed.
> Hivex compiles and installs fine (I think), but ocamlfind doesn't seem to
> pick up hivex after the install causing the autogen.sh script in libguestfs
> to fail.
> 
> Installation steps:
> ./bootstrap
> ./autogen.sh
> make
> sudo make install
> 
> No issues with any of the above commands that I can see, and I noticed that
> autogen returned "OCaml bindings ........ yes" so I would expect ocamlfind
> to be able to pick it up.  Ocaml is pretty much a black box to me so not
> sure how to debug this from here.

What distro?

Are the OCaml bindings for hivex actually installed?

What does:

  ocamlfind query hivex

print?

What does the config.log file say?

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top




More information about the Libguestfs mailing list