gtk+-directfb-2.0.9

1,//
将root_fs_i386.ext2.bz2 复制到 /root/pda/  下,解压
  #bunzip2 root_fs_i386.ext2.bz2
 
# mkdir root_fs                    //工程根目录

# e2fsck -f root_fs_i386.ext2
# dd if=/dev/zero of=root_fs_i386.ext2 bs=1 count=0 seek=2048M
# resize2fs -p root_fs_i386.ext2
                把root_fs扩成2048M,否则空间可能不够

 
# mount -o loop  root_fs_i386.ext2 root_fs             //挂接

#chroot root_fs                                           //改变根目录

?2///
tar

用chroot 终端进入perl-5.8.8目录下   (在/usr下建立local 目录)
   #/bin/bash Configure -d -e -O -Uuseperlio
   #make
   #make test                            (有错误???先忽略)//可以忽略这步
   #make install

安装完成后 perl 所在目录为 /usr/local/lib/perl5, perl 执行文件
在 /usr/local/bin 中。                        
(安装过程最后跳过一些安装---不知以后会不会出问题????--)

3 /
pkgconfig-0.15.0.tar.gz 编译会有错误。
下载了pkg-config-0.20.tar.gz
编译会通过也能安装。
./configure --prefix=/usr
make
make install

4//

libiconv-1.9.2.tar.gz              
./configure --prefix=/usr
make
make install

5
gettext-0.13.tar.gz                   
./configure --prefix=/usr
make
make install

6  /
glib-2.4.8.tar.bz2 
./configure --prefix=/usr
make
make install
7//

expat-1.95.8.tar.gz
./configure   --prefix=/usr
make
make install

8///
freetype-2.1.4.tar.bz2
./configure --prefix=/usr
make
make install

9///
fontconfig-2.2.90.tar.gz
./configure --sysconfdir=/etc --prefix=/usr --mandir=/usr/share/man
make
make install
10///

pango-1.4.1.tar.bz2
./configure --prefix=/usr
make
make install
11///
atk-1.6.1.tar.bz2
./configure  --prefix=/usr
make
make install

12///
zlib-1.2.3.tar.gz                        (((add))
./configure  --prefix=/usr
make
make install

13 //
libpng-1.2.7beta2.tar.gz  (进入解压目录)
cp scripts/makefile.linux  makefile            (复制makefile文件)           
make
make install
14 //
jpegsrc.v6b.tar.gz
./configure  --prefix=/usr
make
make test
make install
make install-lib   //可以在DirectFB-0.9.21.tar.gz 中避免JPEG support is missing - many applications won't work correctly!))                 
15 //
tiff-v3.6.1.tar.gz
./configure
make
make install
16
libtool-1.5.10.tar.gz
./configure
make
make install
17
DirectFB-0.9.21.tar.gz
./configure      -- prefix=/usr
make
make install
/
18
automake-1.7.9.tar.gz
./configure
make
make install

//
19
autoconf-2.59.tar.bz2
./configure
make
make install
20
gtk+-directfb-2.0.9.tar.gz

./configure --with-gdktarget=directfb
make
make install


/
在大系统下编辑/boot/grub/grub.conf文件
/grub.conf//
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You do not have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /, eg.
#          root (hd0,0)
#          kernel /boot/vmlinuz-version ro root=/dev/sda1
#          initrd /boot/initrd-version.img
#boot=/dev/sda
default=0
timeout=10
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-8)

        root (hd0,0)
 kernel /boot/vmlinuz-2.4.20-8 ro root=LABEL=/ devfs=mount vga=788
 initrd /boot/initrd-2.4.20-8.img
///grub.conf/
devfs=mount vga=788 是后加的(为了支持framebuffer)

/
(大系统)将本地目录/usrs/share/fonts/下的内容复制到您的开发目录的
/usr/share/fonts/(小系统)下,
以便让fontconfig正常运行

//
/
vi /etc/inittab
id:x:initdefault:
x=3:文本方式 x=5:图形方式
将x=3重起进入控制台下。
重新mount,chroot.
运行gtk-demo  可看到现象。
//第一步完成  以下没完成可以不看

gpe-icons-0.24.tar.gz
解压
安装(make install)
/
cairo-1.0.2.tar.gz
./configure --prefix=/usr
make
make install

libschedule-0.14.tar.bz2
./configure --prefix=/usr
make
make install
/
 PKG_CONFIG_PATH="/usr/local/lib/pkgconfig"
 export PKG_CONFIG_PATH

 

 

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值