« 提示su:鉴定故障的原因解决“E: 无法获得锁 /var/lib/apt/lists/lock” »

wesnoth游戏 ubuntu安装方法

2008年7月3日 工作分享 0条评论 0个引用

VN compile and install for Ubuntu gutsy

0.安装之前

sudo apt-get install -y subversionsvn co http://svn.gna.org/svn/wesnoth/trunk wesnoth

1.依赖关系

sudo apt-get install -y build-essential autoconf automake gettext libsdl1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-net1.2-dev libfreetype6-dev python-dev libboost-iostreams-dev libfribidi-dev libsdl-ttf2.0-0 libsdl-ttf2.0-dev libboost-regex1.34.1 libboost-regex-dev

可能需要的包: debhelper quilt

2.获取Makefile文件

./autogen.sh./configure --with-x

4.编译

make

5.安装

sudo make install

5.5.选择中文语言

主菜单->Language->中文(Zhongwen)

到这一步就可以玩了


6.重新编译 [如果你需要]

make maintainer-clean

返回步骤 3

7.卸载 [如果你需要]

sudo make uninstall

8.结束。

如果无法显示中文,请先搜索gkai00mp.zip解压,然后改名字成 DejaVuSans.ttf替换安装目录fonts下的相同的文件,就可以显示中文了。
./usr/share/games/wesnoth/fonts

[ubuntu 游戏wesnoth]

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

最新评论及回复

最近发表

Powered By Z-Blog 1.8 Spirit Build 80722

Auto Publisher Copyright 2007-2008 http://www.hx263.net. Some Rights Reserved.苏ICP备05010401号