On Mon, Jul 22, 2019 at 10:38:19AM +0200, Pino Toscano wrote:
Hi Tim,
On Sunday, 21 July 2019 18:31:58 CEST Tim Perfitt wrote:
> I am attempting to compile Hivex (v1.3.18) and am getting a "handle.c:47:10:
fatal error: 'hivex.h' file not found" error. I see that hivex.h is not
included in the source and I suspect it is created during the configure phase. Full build
log below. Any ideas of how this file is created and why it wasn't created?
lib/hivex.h is generated by the OCaml generator, see
generator/generator.ml. However, the files generated by that tool are
statically shipped in the release tarballs to avoid requiring OCaml to
build hivex.
It looks to me you are not building a release tarball -- perhaphs you
are building some autogenerated source tarball from github? If so,
do not use them.
In addition to what Pino said above, you can also generate those files
by running the generator:
./generator/generator.ml
It doesn't run automatically in hivex.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
http://libguestfs.org/virt-builder.1.html