On Tue, Jul 01, 2014 at 07:00:29AM +0000, WANG Cheng D wrote:
Dear all,
I am installing the libvirt 1.2.5 on my newly installed Fedora19.
When I run ./configure, an error is reported: "You must install the libyajl library
& headers to compile libvirt"
In fact, the package yajl-2.0.4-2fc19.x86_64.rpm has been installed on the fedora19.
I found several links talking about this error and I downloaded 3 files (configure.ac,
m4/virt-yajl.m4, src/qemu/qemu_capabilities.c) from the link given by Daniel Berrange
(
http://libvirt.org/git/?p=libvirt.git;a=commit;h=654c709baaa6fdcff6b6d38a...)
, but it does not work.
Am I missing something?
For development you probably need yajl-devel or yajl-libs or
whatever's the name. Easiest way to get most of the needed
development packages you need is to run "yum-builddep libvirt".
Martin