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)

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章