Hi,<br>you should install spice-protocol.<br>download the spice-protocol-0.6.3.tar.gz or later,and run configure;make;make install.<br>then install spice,it will be work for you.<br><br>thanks.<br><br><div class="gmail_quote">
在 2011年2月22日 上午9:45,wangfeng wangfeng <span dir="ltr"><<a href="mailto:wangfeng.v1.1985@gmail.com">wangfeng.v1.1985@gmail.com</a>></span>写道:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
hi,<br>When I compile spice following the Building_Instructions,<br>an error appears after " ./autogen.sh --prefix=$INST_ROOT " :<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 >= 0.6.0) were not met:<br><br>No package 'spice-protocol' 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 lang="en"><span title="点击可显示其他翻译">How can I</span> <span title="点击可显示其他翻译">solve the problem?</span></span><br>
<br><div class="gmail_quote">2011/2/21 Songwen Liao <span dir="ltr"><<a href="mailto:songwen.liao@gmail.com" target="_blank">songwen.liao@gmail.com</a>></span><div><div></div><div class="h5"><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 <<a href="mailto:fredericg_99@yahoo.fr" target="_blank">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" target="_blank">spice-devel@freedesktop.org</a><br>
Message-ID: <<a href="mailto:b997c0e5-a178-4fd0-b354-a69aad385e48@zimbra.grelot.net" target="_blank">b997c0e5-a178-4fd0-b354-a69aad385e48@zimbra.grelot.net</a>><br>
Content-Type: text/plain; charset=utf-8<div><div></div><div><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'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" 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: Kyle<br>-----------------------------------------------------------------------------------------------</div>
<div>Mobile: 15800910495<br>Msn: <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" 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></blockquote></div></div></div><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>