
I am using Libvirt-1.0.0 on ubuntu 14.02 LTS and found the following error "checking linux/if_bridge.h usability... no checking linux/if_bridge.h presence... yes configure: WARNING: linux/if_bridge.h: present but cannot be compiled configure: WARNING: linux/if_bridge.h: check for missing prerequisite headers? configure: WARNING: linux/if_bridge.h: see the Autoconf documentation configure: WARNING: linux/if_bridge.h: section "Present But Cannot Be Compiled" configure: WARNING: linux/if_bridge.h: proceeding with the compiler's result configure: WARNING: ## ------------------------------------- ## configure: WARNING: ## Report this to libvir-list <at> redhat.com ## configure: WARNING: ## ------------------------------------- ## checking for linux/if_bridge.h... no configure: error: You must install kernel-headers in order to compile libvirt with QEMU or LXC support" Please Guide, how do I recover it thanks

You're missing the linux kernel headers package. Try installing with: $ sudo apt-get install linux-headers-`uname -r` Is there a reason you need to compile your own verse using the provided package from the system? e.g., $ sudo apt-get install libvirt0 On Wed, Aug 6, 2014 at 9:53 PM, ahmad jan <mr_ahmadjan@yahoo.com> wrote:
I am using Libvirt-1.0.0 on ubuntu 14.02 LTS and found the following error
"checking linux/if_bridge.h usability... no
checking linux/if_bridge.h presence... yes configure: WARNING: linux/if_bridge.h: present but cannot be compiled configure: WARNING: linux/if_bridge.h: check for missing prerequisite headers? configure: WARNING: linux/if_bridge.h: see the Autoconf documentation configure: WARNING: linux/if_bridge.h: section "Present But Cannot Be Compiled" configure: WARNING: linux/if_bridge.h: proceeding with the compiler's result configure: WARNING: ## ------------------------------------- ## configure: WARNING: ## Report this to libvir-list <at> redhat.com ## configure: WARNING: ## ------------------------------------- ## checking for linux/if_bridge.h... no configure: error: You must install kernel-headers in order to compile libvirt with QEMU or LXC support"
Please Guide, how do I recover it
thanks
-- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

On 08/06/2014 08:53 PM, ahmad jan wrote:
I am using Libvirt-1.0.0 on ubuntu 14.02 LTS and found the following error
"checking linux/if_bridge.h usability... no checking linux/if_bridge.h presence... yes configure: WARNING: linux/if_bridge.h: present but cannot be compiled
if_bridge.h has had a hairy history. The kernel developers have done a lousy job, and we have had to patch our configure.ac no less than three times to work around their changes. Make sure you have at least commits c308a9a and 1bf661c (both from 1.0.2) backported to your build environment. But if you are going to self-build, why not just build 1.2.7? Libvirt remains backward-compatible, so the newer build should work just fine in place of the older 1.0.0. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
participants (3)
-
ahmad jan
-
Eric Blake
-
Kyle Lafkoff