Thank you for the feedback!
I have been following them and facing the below issue while building the same:
podwrapper.pl: wrote virt-v2v-test-harness.1
podwrapper.pl: wrote ../../html/virt-v2v-test-harness.1.html
ocamlfind ocamlopt -g -annot -warn-error CDEFLMPSUVYZX-3 -package str,unix,libvirt -I ../../src/.libs -I ../../gnulib/lib/.libs -I ../../ocaml -I ../../mllib -I ../../v2v -c v2v_test_harness.ml
File "v2v_test_harness.ml", line 205, characters 14-26:
Error: Unbound value D.create_xml
make: *** [v2v_test_harness.cmx] Error 2
make: Leaving directory `/root/rpmbuild_oldlib/BUILD/libguestfs-1.30.3/v2v/test-harness'
make: *** [all-recursive] Error 1
make: Leaving directory `/root/rpmbuild_oldlib/BUILD/libguestfs-1.30.3'
make: *** [all] Error 2
I have listed the available ocaml packages installed on my server:
Is it because of an incorrect version of ocaml-libvirt?
According to that guide the required ocaml-libvirt is ocaml-libvirt ≥ 0.6.1.5
and unfortunately the available version in their official page is only 0.6.1.4.
Any idea what is missing here?
From: Richard W.M. Jones [mailto:rjones redhat com]
Sent: Tuesday, August 1, 2017 8:42 PM
To: Emlyn Jose (GIS) <emlyn jose wipro com>
Cc: libguestfs redhat com
Subject: Re: libguestfs binaries missing when built from source code
** This mail has been sent from an external source **
> Hello Richard,
> I have been following that link to build libguestfs that includes
> virt-resize binary. But it is found that the libguetfs is split into
> another libguestfs-tools-c which actually provides this virt-resize
In the Fedora packaging we put virt-resize into libguestfs-tools-c, but in the upstream sources the binary is built in the resize/ subdirectory.
> I would like to know at which part of the spec the virt-binary is
> created. I mean, what actually provides this binary?
Running ‘make’ builds all the binaries.
If you mean the binary is not being created during ‘make’, then it's likely you have some missing build dependencies, most probably the OCaml compiler.
virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into KVM guests.
This email has been scanned by the Symantec Email Security.cloud service.
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are
not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should
check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.