Article 6NDTP libguestfs compile - OCaml findlib package hivex... not found

libguestfs compile - OCaml findlib package hivex... not found

by
zdolar
from LinuxQuestions.org on (#6NDTP)
Slackware64-current

Struggling to compile libguestfs to manage qemu images.
I compiled all dependencies:
augeas-1.14.1
ocaml-4.14.2
ocamlbuild-0.14.3
ocaml-findlib-1.9.6
supermin-5.3.4
hivex-1.3.23
ocaml-num-1.5
dune-3.15.3
opam-2.1.6

compiling slackbuild script libguestfs at .configure stage returns:

Quote:
--- Checking for OCaml ---
checking for ocamlc... ocamlc
OCaml version is 4.14.2
OCaml library path is /usr/lib64/ocaml
checking for ocamlopt... ocamlopt
checking for ocamlc.opt... ocamlc.opt
checking for ocamlopt.opt... ocamlopt.opt
checking for ocamldep... ocamldep
checking for ocamlmktop... ocamlmktop
checking for ocamlmklib... ocamlmklib
checking for ocamldoc... ocamldoc
checking for ocamlbuild... ocamlbuild
checking for ocamlfind... ocamlfind
checking if OCaml version >= 4.07... yes (4, 14)
checking if OCaml i-runtime-variant _pici works... yes
checking for OCaml findlib package hivex... not found
configure: error: the OCaml module 'hivex' is required
Quote:
ocamlfind --help
Usage: ocamlfind query [-help | other options] <package_name> ...
or: ocamlfind ocamlc [-help | other options] <file> ...
or: ocamlfind ocamlcp [-help | other options] <file> ...
or: ocamlfind ocamlmklib [-help | other options] <file> ...
or: ocamlfind ocamlmktop [-help | other options] <file> ...
or: ocamlfind ocamlopt [-help | other options] <file> ...
or: ocamlfind ocamloptp [-help | other options] <file> ...
or: ocamlfind ocamldep [-help | other options] <file> ...
or: ocamlfind ocamlbrowser [-help | other options]
or: ocamlfind ocamldoc [-help | other options] <file> ...
or: ocamlfind install [-help | other options] <package_name> <file> ...
or: ocamlfind remove [-help | other options] <package_name>
or: ocamlfind printppx [-help | other options] <package_name> ...
or: ocamlfind printconf [-help] [variable]
or: ocamlfind lint [-help] <file>
or: ocamlfind list
or: ocamlfind pkg/cmd arg ...
Select toolchain with:
ocamlfind -toolchain <t> <command>
Abbreviations:
e.g. ocamlfind opt instead of ocamlfind ocamlopt
Quote:
hivexsh -h
hivexsh: invalid option -- 'h'
hivexsh [-dfwu] [hivefile]
As above ocamlfind and hivex are installed and work.
What could be the problem?
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments