[Spice-devel] Difficulty in building qemu with spice enabled

Frédéric Grelot fredericg_99 at yahoo.fr
Mon Feb 21 04:05:37 PST 2011


Hello everyone, 

Because of a bug I mentioned on the virt at lists.fedoraproject.org mailing list (available here : http://lists.fedoraproject.org/pipermail/virt/2011-February/002539.html ), I tried to manually build my own copy of qemu-kvm, with spice enabled.
I'm not sure if that is a "./configure" pre-requisite problem, but I spent few hours before understanding the following message :
./configure --enable-spice
ERROR
ERROR: User requested feature spice
ERROR: configure was not able to find it
ERROR

So, for information to anyone encountering the same problem : this does not mean that your source repository hasn't got the feature, but this means that pkg-config could not find the "spice-server" description file.
In my case, I had to set "PKG_CONFIG_PATH=/usr/local/lib/pkg-config" before launching configure.

Maybe this information can find a place on the wiki... I'll see if I have time to do it tomorrow.

Frederic.

PS : By the way, after building qemu by myself (tag spice.kvm.v28 from git), the above-mentioned bug was solved.


More information about the Spice-devel mailing list