如何在龙芯 debian squeeze下编译spice client

(1) sudo apt-get install build-essential autoconfgit-core libtool liblog4cpp5-dev libavcodec-dev libssl-devxlibmesa-glu-dev libasound-dev libpng12-dev libfreetype6-devlibfontconfig1-dev libogg-dev libxrandr-dev libgcrypt-devlibsdl-dev libnss3-dev libpixman-1-dev libxfixes-dev libsasl2-devpython-pyparsing

(2) /etc/apt/sources.list中添加deb-src http://http.us.debian.org/debian wheezy mainnon-free contrib

apt-get source libpixman-1-dev

cd pixman-0.22.2/

./configure

make

sudo make install

(3)

git clonegit://anongit.freedesktop.org/~alon/libcacard

cd libcacard

./autogen.sh

make

sudo make install

cd ..

(4)

wget http://spice-space.org/download/releases/spice-protocol-0.8.0.tar.bz2
tar xjvf spice-protocol-0.8.0.tar.bz2
cd spice-protocol-0.8.0
mkdir m4
./configure
make
sudo make install
cd ..

(5)

wget http://downloads.us.xiph.org/releases/celt/celt-0.5.1.3.tar.gz
tar xvzf celt-0.5.1.3.tar.gz
cd celt-0.5.1.3/
./configure
make
sudo make install
cd ..

(6) 正式编译spiceclient

wget http://spice-space.org/download/releases/spice-0.8.1.tar.bz2
tar xjvf spice-0.8.1.tar.bz2
cd spice-0.8.1
修改./configure:
15538     echo Only x86 and x86-64 are supported
15539     exit 1(去掉这一行)
 
./configure --enable-smartcard
cd client
make
sudo make install

(7)解决运行时动态链接的问题

许多相关的动态库都放在/usr/local/lib中,所以需要在/etc/ld.so.conf.d/libc.conf中添加/usr/local/lib,并执行sudo ldconfig即可

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值