I met a problem when I try to install QEMU with spice support.
It works well if I install spice-server with yum
. In this case when I type ./configure --enable-spice
in root directory of QEMU's source codes, the spice-server can be detected correctly.
But now I want to install spice-server by compiling its source codes, cause I have some work to do with it.
I tried ./configure; make; make install
./configure; make; make install
./configure; make; make install
and ./configure --prefix=/usr; make; make install
./configure --prefix=/usr; make; make install
./configure --prefix=/usr; make; make install
. QEMU couldn't find spice-server installed in neither way. I just got
ERROR: User requested feature spice configure was not able to find it. Install spice-server(>=0.12.0) and spice-protocol(>=0.12.3) devel
returned.
I don't have this problem in ubuntu, I don't know how to fix it in a CentOS server. Does anybody have a solution?
I guess you are trying to build qemu with spice from source code.
That involves many dependences and configurations. Especially while you have system-installed 'qemu' running.
Maybe https://github.com/grizzlybears/sqb can help you.
It is a set of helper scripts to automatically do the follwing:
您应该首先手动克隆spice-protocol并执行./autogen.sh && ./configure &&make &&make install
并导出PKG_CONFIG_PATH export PKG_CONFIG_PATH={your pkg config path}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.