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)