gtk+-2.10.0.

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///
将stable.tar.gz复制到root_fs下 解压,

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

安装完成后 perl 所在目录为 /usr/local/lib/perl5, perl 执行文件
在 /usr/local/bin 中。                        
(安装过程最后跳过一些安装---不知以后会不会出问题????--)
//
下载了pkg-config-0.20.tar.gz
编译会通过也能安装。
./configure   --prefix=/usr
make
make install
/
libiconv-1.11.tar.gz                
./configure   --prefix=/usr
make
make install
///
gettext-0.15.tar.gz
./configure   --prefix=/usr
make
make check          (Optionally)
make install

glib-2.12.2.tar.bz2
./configure   --prefix=/usr
make
make install
///
expat-2.0.0.tar.gz
./configure  --prefix=/usr
make
make install
//
freetype-2.1.4.tar.bz2
./configure --prefix=/usr
make
make install
/
fontconfig-2.2.90.tar.gz
./configure --sysconfdir=/etc --prefix=/usr --mandir=/usr/share/man
make
make install

zlib-1.2.3.tar.gz
./configure  --prefix=/usr
make
make install
//
libpng-1.2.8.tar.bz2
cp scripts/makefile.linux  makefile            (复制makefile文件)           
make
make install
//
将/usr/local/lib/pkgconfig目录下的libpng12.pc 和libpng.pc文件复制到/usr/lib/pkgconfig目录下
PKG_CONFIG_PATH="/usr/local/lib/pkgconfig:/usr/lib/pkgconfig"
 export PKG_CONFIG_PATH
 
cairo-1.2.6.tar.gz                    (是否应该先安装directfb)
sh configure --prefix=/usr --enable-directfb --disable-xlib --disable-win32

make
make install
/
pango-1.14.6.tar.bz2
./configure  --prefix=/usr
make
make install
/
atk-1.9.1.tar.bz2
./configure  --prefix=/usr
make
make install
///
jpegsrc.v6b.tar.gz 
./configure    --prefix=/usr
make
make test
make install
make install-lib 

tiff-3.8.0.tar.gz
./configure  --prefix=/usr
make
make install
/
libtool-1.5.22.tar.gz  
./configure  --prefix=/usr
make
make install

DirectFB-1.0.0-rc2.tar.gz
./configure  --prefix=/usr       
make
make install

      以下的是没有做好的(**************************)
gtk+-2.10.0.tar.bz2

./configure --prefix=/usr --with-gdktarget=directfb --without-x

make
make install

...
./configure --with-gdktarget=directfb --enable-static --with-gdktarget=directfb --without-libtiff --prefix=/usr
make && make install && make clean

/
Edit gtk/Makefile:

Comment the following line:

#       ./gtk-update-icon-cache --force --ignore-theme-index    /
           --source builtin_icons stock-icons > gtkbuiltincache.h
///
./configure --with-gdktarget=directfb --without-x --enable-static  --prefix=/usr --with-included-loaders=png


cd
> gtk+-2.10.3;./configure --without-x --enable-static --enable-fbmanager --enable-
> debug=no

Edit gdk/directfb/Makefile:

Add to the INCLUDES variable the following values:

$(GDK_DEP_CFLAGS) $(GDK_PIXBUF_DEP_CFLAGS)

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值