When you build Xen from source, the "make install" rule installs extra
header files such as <xen/xen.h> and <xen/dom0_ops.h> which are all
required for building libvirt. However the Debian package doesn't run
the install rule, but instead runs (effectively) "make -C tools install"
and that only installs a partial set of header files. In particular
none of the vital public Xen header files are installed, making it
impossible to build libvirt, and probably other stuff as well.
This patch fixes that by copying the required files by hand:
http://et.redhat.com/~rjones/debian-libvirt/debian-xen-includes.patch
(It is similar to what the Fedora RPM does, faced with the same situation).
There is a bug which is somewhat related to this issue:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=402249
Rich.
--
Emerging Technologies, Red Hat -
http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom. Registered in
England and Wales under Company Registration No. 03798903