[Libguestfs] libguestfs binaries missing when built from source code

Richard W.M. Jones rjones at redhat.com
Tue Aug 1 15:12:06 UTC 2017


On Tue, Aug 01, 2017 at 12:55:21PM +0000, emlyn.jose at wipro.com wrote:
> 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
> binary.

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.

http://libguestfs.org/guestfs-hacking.1.html#source-code-subdirectories

> 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.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v




More information about the Libguestfs mailing list