[libvirt-users] kvm.h not found

Matthias Bolte matthias.bolte at googlemail.com
Fri May 27 17:39:30 UTC 2011

2011/5/24 --[ UxBoD ]-- <uxbod at splatnix.net>:
> Hello all,
> Am attempting to compile the latest version of libvirt against a custom kernel under CentOS 5.6 and see this in the configure output:
> checking linux/kvm.h usability... no
> checking linux/kvm.h presence... no
> checking for linux/kvm.h... no
> I have tried to change where it is looking using:
> CPPFLAGS="-I /home/compuser/linux-" ./configure

As a random guess, did you try

CFLAGS=-I/home/compuser/linux- ./configure


More information about the libvirt-users mailing list