1,先安装一个command line的linux
2,编译安装tinyx
1.从 下载源码包:
X43src-1~5.tgz,其中X43src-6.tgz和X43src-7.tgz是文档相关的包,可以不进行编译
2.建立编译环境
apt-get install gcc
apt-get install make
apt-get install autoconf
apt-get install pkg-config
3.安装相关依赖库
apt-get install bison
apt-get install flex
apt-get install zlib1g-dev
apt-get install libpam0g-dev
apt-get install libncurses5-dev
apt-get install libfreetype6
apt-get install libfreetype6-dev
apt-get install libpng12-dev
4.准备编译tinyx
mkdir tinyx
mv X430src-*.tgz tinyx
tar zxf X430src-*.tgz
cd xc/config/util
make -f Makefile.ini lndir
cd ../../../
mkdir build
cd build
../sc/config/util/lndir ../xc
cd config/cf/
cp TinyX.cf host.def
5.编辑host.def文件,将其修改为:
#define KDriveXServer YES
#define TinyXServer YES
#define XfbdevServer YES
#define BuildLBX YES
#define BuildFonts YES
#define BuildDBE NO
#define BuildXCSecurity YES
#define FontServerAccess NO
#undef BuildXF86RushEXt
#define BuildXF86RushEXt NO
#undef BuildRender
#define BuildRender YES
#define UseRgbTxt YES
#define BuildFontServer NO
6.cd ../../
touch xf86Date.h
touch Xf86Version.h
7.make World
8. make install
所有文件都被安装在/usr/X11R6和/etc/x11两个目录下
阅读(2059) | 评论(0) | 转发(0) |