[Libguestfs] Building virt-v2v - Error: guestfs_config.cmi: is not a compiled interface for this version of OCaml

Nir Soffer nsoffer at redhat.com
Wed Jul 8 23:35:11 UTC 2020


I did not touch virt-v2v for a while, and I cannot build it now.

There are not instructions in the README on under docs, so I tried the common
stuff:

$ ./autogen.sh
...
Next you should type 'make' to build the package,
...
$ make
make  all-recursive
make[1]: Entering directory '/home/nsoffer/src/virt-v2v'
Making all in common/mlstdutils
make[2]: Entering directory '/home/nsoffer/src/virt-v2v/common/mlstdutils'
  OCAMLOPT guestfs_config.cmx
File "guestfs_config.ml", line 1:
Error: guestfs_config.cmi
       is not a compiled interface for this version of OCaml.
It seems to be for an older version of OCaml.
make[2]: *** [Makefile:2321: guestfs_config.cmx] Error 2
make[2]: Leaving directory '/home/nsoffer/src/virt-v2v/common/mlstdutils'
make[1]: *** [Makefile:1842: all-recursive] Error 1
make[1]: Leaving directory '/home/nsoffer/src/virt-v2v'
make: *** [Makefile:1760: all] Error 2

I'm using Fedora 31.

Nir




More information about the Libguestfs mailing list