升级开发环境
yum install xinetd telnet-server samba samba-common samba-client make gcc tftp-server patch gettext libtool gcc-c++ nfs-utils autoconf automake libtool gperf bison flex gtk-doc xorg-x11-util-macros
编译参考:
http://hi.baidu.com/zheqiduo/blog/item/90c4fe34380a121991ef39ec.html
GTK+ 编译 官方参考
http://trac.webkit.org/wiki/BuildingGtk
从哪里下载 webkit 源代码?
http://nightly.webkit.org/builds/trunk/src/1
Warning: not running gtk-docize
yum install gtk-doc
没有./configure文件?在gtk 下如何编译?
./--with-webkit-target=directfb --without-x
什么是 ICU,如何得到源代码?
(ICU)International Components for Unicode Library
http://blog.sina.com.cn/s/blog_5412ede60100g4ba.html
http://www.icu-project.org
被封喽 http://groups.google.de/group/cn.comp.lang.c/browse_thread/thread/1feb8c1c713f8a14/ef99c52e8a1ad4b4
http://www.oschina.net/p/icu
icu4c
http://download.icu-project.org/files/icu4c/
终于可以从来看到官方下载地址喽
编译 sqlite 因为选择的版本不对
编译 libxt-dev 需要 yum install xorg-x11-util-macros
编译 libxt-dev Package requirements(sm ice x11 xproto kbproto) were not met
ftp://ftp.x.org/pub/X11R7.1/src/lib/libX11-X11R7.1-1.0.1.tar.gz
下载编译所需要的代码
libgtk2.0-dev (>= 2.10)
libpango1.0-dev (>= 1.16)
libjpeg62-dev
libpng12-dev
以上gtk相关参考前一篇文章
另:
本想使用最新的 gtk+ 可惜编译遇到了一些问题,这里只记录最新的gtk+相关的一些下载地址
http://ftp.acc.umu.se/pub/GNOME/sources/gtk+/2.21/gtk+-2.21.4.tar.gz
ftp://ftp.remotesensing.org/pub/libtiff/tiff-4.0.0beta6.tar.gz
http://ftp.acc.umu.se/pub/GNOME/sources/gdk-pixbuf/2.21/gdk-pixbuf-2.21.5.tar.gz
http://ftp.gnome.org/pub/gnome/sources/glib/2.25/glib-2.25.10.tar.gz
libtiff
http://www.libtiff.org/
gdk-pixbuff
http://library.gnome.org/devel/gdk-pixbuf
webkit依赖的库
libicu-dev
http://download.icu-project.org/files/icu4c/
libxslt-dev
http://webkit.org/projects/xslt/
http://xmlsoft.org/XSLT/
libsoup2.4-dev (>= 2.27.4) (*)
http://download.gnome.org/sources/libsoup
libsqlite3-dev
http://www.sqlite.org/download.html
libxt-dev
http://cgit.freedesktop.org/xorg/lib/libXt
autotools-dev
libgstreamer-plugins-base0.10-dev
http://www.gstreamer.net/src/gst-plugins-base/
libenchant-dev
http://www.abisource.com/projects/enchant/
libgail-dev
http://ftp.gnome.org/pub/GNOME/sources/gail/
libgeoclue-dev
http://www.freedesktop.org/wiki/Software/GeoClue
webkit依赖库下载
http://download.icu-project.org/files/icu4c/4.5.1/icu4c-4_5_1-src.tgz
ftp://ftp.gnome.org/pub/GNOME/sources/libxslt/1.1/libxslt-1.1.19.tar.gz
http://ftp.acc.umu.se/pub/GNOME/sources/libsoup/2.31/libsoup-2.31.2.tar.gz
http://www.sqlite.org/sqlite-amalgamation-3.6.23.1.tar.gz
http://cgit.freedesktop.org/xorg/lib/libXt/snapshot/libXt-1.0.8.tar.gz
http://ftp.debian.org/debian/pool/main/a/autotools-dev/autotools-dev_20100122.1.tar.gz
http://www.gstreamer.net/src/gst-plugins-base/gst-plugins-base-0.10.29.tar.gz
http://www.abisource.com/downloads/enchant/1.6.0/enchant-1.6.0.tar.gz
http://ftp.gnome.org/pub/GNOME/sources/gail/1.22/gail-1.22.3.tar.gz
http://folks.o-hand.com/jku/geoclue-releases/geoclue-0.12.0.tar.gz
编译 webkit
cd icu
cd
cd source
./configure --prefix=$PREFIX --enable-static --enable-shared
make -j2
make -j2 install
cd ..
cd ..
cd libxslt-1.1.19
./configure --prefix=$PREFIX --without-crypto --with-libxml
make -j2
make -j2 install
cd ..
cd libsoup-2.31.2
./configure --prefix=$PREFIX --disable-glibtest --without-gnome --disable-ssl
make -j2
make -j2 install
cd ..
cd sqlite-3.6.23.1
./configure --prefix=$PREFIX
make -j2
make -j2 install
cd ..
cd libXt-1.0.8
./autogen.sh --prefix=$PREFIX
./configure --prefix=$PREFIX
make -j2
make -j2 install
cd ..
cd enchant-1.6.0
./configure --prefix=$PREFIX
make -j2
make -j2 install
cd ..
cd gail-1.22.3
make -j2
make -j2 install
cd ..