On Fri, Jul 29, 2016 at 12:43:41PM +0200, Benedikt Spranger wrote:
Compiling libvirt wireshark dissector on a debian based system
failed:
CC wireshark/src/wireshark_src_libvirt_la-packet-libvirt.lo
In file included from ../../libvirt/tools/wireshark/src/packet-libvirt.c:27:0:
/usr/include/wireshark/epan/proto.h:40:18: fatal error: glib.h: No such file or
directory
compilation terminated.
Makefile:2595: recipe for target
'wireshark/src/wireshark_src_libvirt_la-packet-libvirt.lo' failed
Add an explicit dependency to glib.
This is a bug in wireshark packages in debian that they should fix there.
Libvirt shouldn't be hardcoding knowledge about what other libs wireshark
may happen to depend on.
Specifically the wireshark.pc file needs fixing to have the glib dep.
For reference, there's the corresponding fedora bug dealing with this
same problem:
https://bugzilla.redhat.com/show_bug.cgi?id=1300002
Regards,
Daniel
--
|:
http://berrange.com -o-
http://www.flickr.com/photos/dberrange/ :|
|:
http://libvirt.org -o-
http://virt-manager.org :|
|:
http://autobuild.org -o-
http://search.cpan.org/~danberr/ :|
|:
http://entangle-photo.org -o-
http://live.gnome.org/gtk-vnc :|