2010/4/26 Eric Blake <eblake(a)redhat.com>:
On 04/26/2010 07:41 AM, Daniel Veillard wrote:
> note that with_qemu is set to yes by default
>
>
> Daniel
>
> diff --git a/configure.ac b/configure.ac
> index 99bc906..d360b4e 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -205,6 +205,18 @@ if test "$prefix" = "/usr" && test
"$sysconfdir" = '${prefix}/etc' ; then
> sysconfdir='/etc'
> fi
>
> +dnl lxc and qemu drivers require linux headers
> +if test `uname -s` != "Linux"
> +then
> + if test "x$with_lxc" != "xyes"
> + then
> + with_lxc=no
> + fi
> + if test "x$with_qemu" != "xyes"
> + then
> + with_qemu=no
> + fi
> +fi
ACK, unless Matthias' recent patches to configure.ac already covered
this in another manner.
ACK.
I saw this problem too, but didn't post a patch for it yet. I posted a
patch related to this that improved the error message and made it
saying that Linux kernel headers are required for QEMU and LXC
support.
Actually with some recent changes from Stefan, Linux kernel headers
are now always required when compiling on/for Linux because
src/util/interface.c includes linux/if.h.
Matthias