Chinaunix

标题: ubuntu8.04下安装TintyX [打印本页]

作者: gary721400    时间: 2008-12-25 15:14
标题: ubuntu8.04下安装TintyX
1,先安装一个command line的linux
2,编译安装tinyx
1.从
http://ftp.xfree86.org/pub/XFree86/4.4.0/source
下载源码包:
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两个目录下
               
               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/75200/showart_1741605.html




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2