On Fri, Mar 24, 2006 at 08:04:09AM -0500, Daniel Veillard wrote: > On Thu, Mar 23, 2006 at 10:06:45PM +0000, Daniel P. Berrange wrote: > > When doing an out-of-tree build of code which uses virterror.h, > > one gets a build failure, because when deployed virterror.h lives > > in subdir of the include directory rather than the top level > [...] > > > > This is fixable by making virterror.h use "..." instead of <...> to > > include libvirt.h. Attaching a patch to fix this > > Hum, I would rather fix the include path since this header is to > be installed in /usr/include . src/Makefile.am had -I@srcdir@/include > instead of -I@top_srcdir@/include, fixed in CVS, thanks for pointing this. Okay, as you pointed out one really need to have a relative reference from virterror.h to libvirt.h, so I made that chnage too, thanks ! Daniel -- Daniel Veillard | Red Hat http://redhat.com/ veillard@xxxxxxxxxx | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/