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
In file included from Virt.xs:25:
/usr/include/libvirt/virterror.h:17:21: error: libvirt.h: No such file or directory
In file included from Virt.xs:25:
/usr/include/libvirt/virterror.h:62: error: expected specifier-qualifier-list before
âvirConnectPtrâ
/usr/include/libvirt/virterror.h:122: error: expected â)â before âconnâ
/usr/include/libvirt/virterror.h:123: error: expected â)â before âconnâ
/usr/include/libvirt/virterror.h:129: error: expected â)â before âconnâ
/usr/include/libvirt/virterror.h:132: error: expected â)â before âconnâ
This is fixable by making virterror.h use "..." instead of <...> to
include libvirt.h. Attaching a patch to fix this
Dan.
--
|=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=|
|=- Perl modules:
http://search.cpan.org/~danberr/ -=|
|=- Projects:
http://freshmeat.net/~danielpb/ -=|
|=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|