Hi,<br>If you just compile the spice server,there is no spice-server.pc in your PKG_CONFIG_PATH.<br>So,you can find the .pc file and move it to your PKG_CONFIG_PATH or the standard path.<br>just let the qemu can find spice-server library..<br>
<br>thanks.<br><br>---------------------------------------------------------------<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Message: 2<br>
Date: Mon, 21 Feb 2011 13:05:37 +0100 (CET)<br>
From: Fr?d?ric Grelot <<a href="mailto:fredericg_99@yahoo.fr">fredericg_99@yahoo.fr</a>><br>
Subject: [Spice-devel] Difficulty in building qemu with spice enabled<br>
To: <a href="mailto:spice-devel@freedesktop.org">spice-devel@freedesktop.org</a><br>
Message-ID: <<a href="mailto:b997c0e5-a178-4fd0-b354-a69aad385e48@zimbra.grelot.net">b997c0e5-a178-4fd0-b354-a69aad385e48@zimbra.grelot.net</a>><br>
Content-Type: text/plain; charset=utf-8<br>
<br>
Hello everyone,<br>
<br>
Because of a bug I mentioned on the <a href="mailto:virt@lists.fedoraproject.org">virt@lists.fedoraproject.org</a> mailing list (available here : <a href="http://lists.fedoraproject.org/pipermail/virt/2011-February/002539.html" target="_blank">http://lists.fedoraproject.org/pipermail/virt/2011-February/002539.html</a> ), I tried to manually build my own copy of qemu-kvm, with spice enabled.<br>
I'm not sure if that is a "./configure" pre-requisite problem, but I spent few hours before understanding the following message :<br>
./configure --enable-spice<br>
ERROR<br>
ERROR: User requested feature spice<br>
ERROR: configure was not able to find it<br>
ERROR<br>
<br>
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.<br>
In my case, I had to set "PKG_CONFIG_PATH=/usr/local/lib/pkg-config" before launching configure.<br>
<br>
Maybe this information can find a place on the wiki... I'll see if I have time to do it tomorrow.<br>
<br>
Frederic.<br>
<br>
PS : By the way, after building qemu by myself (tag spice.kvm.v28 from git), the above-mentioned bug was solved.<br>
<br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
Spice-devel mailing list<br>
<a href="mailto:Spice-devel@lists.freedesktop.org">Spice-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/spice-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/spice-devel</a><br>
<br>
<br>
End of Spice-devel Digest, Vol 13, Issue 81<br>
*******************************************<br>
</blockquote></div><br><br clear="all"><br>-- <br><div>Name: Kyle<br>-----------------------------------------------------------------------------------------------</div>
<div>Mobile: 15800910495<br>Msn: <a href="mailto:liaosongwen@live.cn" target="_blank">liaosongwen@live.cn</a></div>
<br>