现在的位置: 首页 > 综合 > 正文

从源代码安装spice客户端

2013年09月10日 ⁄ 综合 ⁄ 共 1265字 ⁄ 字号 评论关闭

 

Xubuntu10.04安装spice客户端

安装spice客户端:

1.root用户登录系统并在终端中运行apt-get update命令跟新软件包 

注:软件包的源最好选择Main Server服务器,在Applications-System-Software Sources中的Download from里进行选择。

2.跟新好软件包后一次装入以下软件

  apt-get install build-essential

  apt-get install autoconf

  apt-get install libjpeg62-dev

  apt-get install libogg-dev

  apt-get install libssl-dev

  apt-get install libasound2-dev

  apt-get install libxrandr-dev

  apt-get install libxfixes-dev

  apt-get install pkg-config

  注:如果中间有确认安装提示,则直接输入y确定即可。

 

3.  240服务器上copy安装spice所需的安装包到本地opt目录

scp root@192.168.1.240:/mnt/sda1/public/temp/spice.tar.gz  /opt

(大家可以到spice官方网站上去下载)

4.  进到opt目录解压spicec.tar.gz

    tar –xvf spice.tar.gz

5   cdspice/spice_svn/trunk/spiceProtocol/spice-protocol-0.6.3目录下依次运行以下三条命令:

./configure --prefix=/usr

make

make install

6 .从源码安装celt-0.5.1.3pixman-0.18.4这两个软件包

   (1): 安装celt-0.5.1.3

cd/opt/spice/celt-0.5.1.3目录下依次运行以下三条命令

         ./configure --prefix=/usr

             make

             make install

      (2):安装pixman-0.18.4

              cd/opt/spice/pixman-0.18.4目录下依次运行以下三条命令

              ./configure --prefix=/usr

              make

              make install

7.cd/opt/spice_svn/trunk/spice目录下执行命令

  ./configure --prefix=/usr

  如果编译没有错误的话,然后cd/opt/spice_svn/trunk/spice/client目录执行以下命令

  make

  make install

  

至此spice客户端安装完毕!

抱歉!评论已关闭.