[Libguestfs] Makefile probably incorrect

Richard W.M. Jones rjones at redhat.com
Mon Jul 6 19:42:32 UTC 2020


On Sun, Jul 05, 2020 at 07:24:29PM -0300, Ezequiel Santos wrote:
> I am a Manjaro user and was compiling libguestfs today from the AUR (it
> doesn't reside on Arch/Manjaro repos) and got the following error:
> 
> "make[2]: Leaving directory
> '/home/matador/AUR/libguestfs-git/src/libguestfs/common/errnostring'
> Making all in common/protocol
> make[2]: Entering directory
> '/home/matador/AUR/libguestfs-git/src/libguestfs/common/protocol'
> make[2]: *** No rule to make target 'guestfs_protocol.c', needed by 'all'.
> Stop.
> make[2]: Leaving directory
> '/home/matador/AUR/libguestfs-git/src/libguestfs/common/protocol'
> make[1]: *** [Makefile:2380: all-recursive] Error 1
> make[1]: Leaving directory '/home/matador/AUR/libguestfs-git/src/libguestfs'
> make: *** [Makefile:2280: all] Erro 2
> ==> ERRO: Uma falha ocorreu em build()."
> 
> Apparently a makefile error, as there's no
> 
> 'guestfs_protocol.c' file in that directory (or in the whole source code,
> in fact), although it is referenced by the Makefile.

When compiling from git you have to make sure the git submodule is
updated.  Are there any files under common/ ?

Are there any files apart from Makefile.am in common/protocol?

What commands did you use to build libguestfs?

Rich.

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




More information about the Libguestfs mailing list