On Thu, Jul 09, 2020 at 02:35:11AM +0300, Nir Soffer wrote:
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.
This is because you've got *.cm* (compiled OCaml modules/interfaces) around for the old version of OCaml. If you do "make clean" in the affected directories, or simply remove these files, it should fix it. Rich.
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
-- 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