hi,<br>When I compile spice following the Building_Instructions,<br>an error appears after &quot; ./autogen.sh --prefix=$INST_ROOT &quot; :<br>***************************************************<br>...<br>checking sys/time.h usability... yes<br>
checking sys/time.h presence... yes<br>checking for sys/time.h... yes<br>checking for x86 or x86-64 platform... 64 bit<br>checking for native Win32... no<br>checking for some Win32 platform... no<br>checking for pkg-config... /usr/bin/pkg-config<br>
checking pkg-config is at least version 0.9.0... yes<br>checking for PROTOCOL... configure: error: Package requirements (spice-protocol &gt;= 0.6.0) were not met:<br><br>No package &#39;spice-protocol&#39; found<br><br>Consider adjusting the PKG_CONFIG_PATH environment variable if you<br>
installed software in a non-standard prefix.<br><br>Alternatively, you may set the environment variables PROTOCOL_CFLAGS<br>and PROTOCOL_LIBS to avoid the need to call pkg-config.<br>See the pkg-config man page for more details.<br>
************************************************************************<br><span id="result_box" class="short_text" lang="en"><span title="点击可显示其他翻译" class="hps">How can I</span> <span title="点击可显示其他翻译" class="hps">solve the problem?</span></span><br>
<br><div class="gmail_quote">2011/2/21 Songwen Liao <span dir="ltr">&lt;<a href="mailto:songwen.liao@gmail.com">songwen.liao@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
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="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">


Message: 2<br>
Date: Mon, 21 Feb 2011 13:05:37 +0100 (CET)<br>
From: Fr?d?ric Grelot &lt;<a href="mailto:fredericg_99@yahoo.fr" target="_blank">fredericg_99@yahoo.fr</a>&gt;<br>
Subject: [Spice-devel] Difficulty in building qemu with spice enabled<br>
To: <a href="mailto:spice-devel@freedesktop.org" target="_blank">spice-devel@freedesktop.org</a><br>
Message-ID: &lt;<a href="mailto:b997c0e5-a178-4fd0-b354-a69aad385e48@zimbra.grelot.net" target="_blank">b997c0e5-a178-4fd0-b354-a69aad385e48@zimbra.grelot.net</a>&gt;<br>
Content-Type: text/plain; charset=utf-8<div><div></div><div class="h5"><br>
<br>
Hello everyone,<br>
<br>
Because of a bug I mentioned on the <a href="mailto:virt@lists.fedoraproject.org" target="_blank">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&#39;m not sure if that is a &quot;./configure&quot; 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&#39;t got the feature, but this means that pkg-config could not find the &quot;spice-server&quot; description file.<br>


In my case, I had to set &quot;PKG_CONFIG_PATH=/usr/local/lib/pkg-config&quot; before launching configure.<br>
<br>
Maybe this information can find a place on the wiki... I&#39;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" target="_blank">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></div></div>
End of Spice-devel Digest, Vol 13, Issue 81<br>
*******************************************<br>
</blockquote></div><br><br clear="all"><br>-- <br><div>Name:&nbsp;&nbsp; Kyle<br>-----------------------------------------------------------------------------------------------</div>
<div>Mobile:&nbsp; 15800910495<br>Msn:&nbsp; &nbsp; <a href="mailto:liaosongwen@live.cn" target="_blank">liaosongwen@live.cn</a></div>
<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></blockquote></div><br>