[libvirt] compile error: cannot open < gnulib/lib/gnulib.mk: No such file or directory

Eric Blake eblake at redhat.com
Sat Jul 30 15:01:41 UTC 2011


On 07/30/2011 08:30 AM, ajia wrote:
> Hi all,
> When I get latest libvirt and then runnning make && make install, I met
> the following error:
> # make && make install
> INFO: gnulib update required; running ./autogen.sh first
> CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh
> /root/libvirt/build-aux/missing --run aclocal-1.11 -I m4 -I gnulib/m4
> cd . && /bin/sh /root/libvirt/build-aux/missing --run automake-1.11 --gnu
> automake-1.11: cannot open < gnulib/lib/gnulib.mk: No such file or
> directory
> make: *** [Makefile.in] Error 1
>
> Has anybody met this issue recently?

Yes, this is what happens with incremental builds; it won't happen with 
a fresh checkout.  To fix it, run ./bootstrap before running make.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org




More information about the libvir-list mailing list