hi, When I compile spice following the Building_Instructions, an error appears after " ./autogen.sh --prefix=$INST_ROOT " : *************************************************** ... checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for x86 or x86-64 platform... 64 bit checking for native Win32... no checking for some Win32 platform... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for PROTOCOL... configure: error: Package requirements (spice-protocol >= 0.6.0) were not met:
No package 'spice-protocol' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables PROTOCOL_CFLAGS and PROTOCOL_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. ************************************************************************ How can I solve the problem? 2011/2/21 Songwen Liao <[email protected]> > Hi, > If you just compile the spice server,there is no spice-server.pc in your > PKG_CONFIG_PATH. > So,you can find the .pc file and move it to your PKG_CONFIG_PATH or the > standard path. > just let the qemu can find spice-server library.. > > thanks. > > --------------------------------------------------------------- > >> Message: 2 >> Date: Mon, 21 Feb 2011 13:05:37 +0100 (CET) >> From: Fr?d?ric Grelot <[email protected]> >> Subject: [Spice-devel] Difficulty in building qemu with spice enabled >> To: [email protected] >> Message-ID: <[email protected]> >> Content-Type: text/plain; charset=utf-8 >> >> >> Hello everyone, >> >> Because of a bug I mentioned on the [email protected] 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. >> >> >> ------------------------------ >> >> _______________________________________________ >> Spice-devel mailing list >> [email protected] >> http://lists.freedesktop.org/mailman/listinfo/spice-devel >> >> >> End of Spice-devel Digest, Vol 13, Issue 81 >> ******************************************* >> > > > > -- > Name: Kyle > > ----------------------------------------------------------------------------------------------- > Mobile: 15800910495 > Msn: [email protected] > > > _______________________________________________ > Spice-devel mailing list > [email protected] > http://lists.freedesktop.org/mailman/listinfo/spice-devel > >
_______________________________________________ Spice-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/spice-devel
