On Sun, Nov 17, 2019 at 7:03 PM Richard W.M. Jones <rjones(a)redhat.com> wrote:
On Sun, Nov 17, 2019 at 06:07:48PM +0200, Nir Soffer wrote:
> Looks like virt-v2v cannot be built now, since it requires non-existing version
> of libguestfs-devel.
>
> Based on (no README or any instructions in virt-v2v)
>
http://libguestfs.org/guestfs-building.1.html
>
> I tried this:
>
> git clean -dxf
> ./autogen.sh
>
> And it fails with:
>
> --- Checking for libraries used by virt-v2v ---
> checking for pkg-config... /usr/bin/pkg-config
> checking pkg-config is at least version 0.9.0... yes
> checking for LIBGUESTFS... no
> configure: error: Package requirements (libguestfs >= 1.41.5) were not met:
>
> Package dependency requirement 'libguestfs >= 1.41.5' could not be
satisfied.
> Package 'libguestfs' has version '1.40.2', required version is
'>= 1.41.5'
You can actually use 1.40 just fine. There is a single test which
requires 1.41 (I forget now which one), and we should probably change
that test to make it conditional. Just modify m4/guestfs-libraries.m4:
-PKG_CHECK_MODULES([LIBGUESTFS], [libguestfs >= 1.41.5])
+PKG_CHECK_MODULES([LIBGUESTFS], [libguestfs >= 1.40])
and rerun ‘autoreconf -i’.