2011/5/24 --[ UxBoD ]-- <uxbod@xxxxxxxxxxxx>: > Hello all, > > Am attempting to compile the latest version of libvirt against a custom kernel 2.6.32.40 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-2.6.32.40/include" ./configure As a random guess, did you try CFLAGS=-I/home/compuser/linux-2.6.32.40/include ./configure Matthias