当前位置: 代码迷 >> 综合 >> Centos7 SPICE 源码编译安装(2)----- 编译spice-gtk-0.31.tar.bz2
  详细解决方案

Centos7 SPICE 源码编译安装(2)----- 编译spice-gtk-0.31.tar.bz2

热度:10   发布时间:2023-12-16 13:43:42.0
1、把下载的最新源码spice-gtk-0.31.tar.bz2解压缩到/usr/local/src目录下,解压缩成功会在/usr/local/src目录下产生一个spice-gtk-0.31目录
2、进入spice-0.13.1目录,会看到源码和configure等文件;
3、首先执行一下configure脚本,
./configure --prefix=/usr/local/spice (要确保存在/usr/local/spice目录)会提示:


./configure: line 13056: intltool-update: command not found
checking for intltool >= 0.40.0...  found
configure: error: Your intltool is too old.  You need intltool 0.40.0 or later.


解决方法:首先查看一下intltool的包名,然后查看是否安装,最后安装或者更新intltool。
[root@localhost spice]# yum list|grep intltool
intltool.noarch                            0.50.2-6.el7                base     
[root@localhost spice]# rpm -qi intltool.noarch 
package intltool.noarch is not installed


[root@localhost spice]# yum install intltool.noarch


4、再次执行./configure --pref