build webkit for gtk port

 编译webkit for gtk port,简要记录。
 
./WebKit-r96832/Tools/Scripts/build-webkit --gtk


正常情况下会缺少各种库,没关系,一个一个解决。下面列举了我所遇到的一些问题:


sudo apt-get install libtool
sudo apt-get install gtk-doc-tools
 
错误:undefined macro XXX (不记得了~~)
解决:sudo apt-get install libgtkhtml*       (全部安装)
 
错误:configure: error: JPEG library (libjpeg) not found
解决:sudo apt-get install libjpeg8-dev      (当时我编译的时候libjpeg的最新版是8,你编译的时候要选择当前的最新版,下同!)


错误:Cannot find icu-config. The ICU library is needed.
解决:sudo apt-get install libicu-dev
 
错误:configure: error: Package requirements (gail-3.0 >= 3.0) were not met: No package 'gail-3.0' found
解决:sudo apt-get install libgail-3-dev

错误:configure: error: X Toolkit Intrinsics library (libXt) not found
解决:sudo apt-get install libxt-dev


错误:configure: error: Package requirements (libsoup-2.4 >= 2.33.6) were not met: No package 'libsoup-2.4' found
解决:sudo apt-get install libsoup2.4-dev

错误:configure: error: SQLite3 is required for the Database related features
解决:sudo apt-get install libsqlite3-dev

错误:configure: error: Package requirements (libxslt >= 1.1.7) were not met: No package 'libxslt' found
解决:sudo apt-get install libxslt-dev

错误:configure: error: Package requirements (geoclue) were not met: No package 'geoclue' found
解决:sudo apt-get install libgeoclue-dev

错误:configure: error: Package requirements (gstreamer-0.10 >= 0.10
                     gstreamer-app-0.10
                     gstreamer-base-0.10
                     gstreamer-interfaces-0.10
                     gstreamer-pbutils-0.10
                     gstreamer-plugins-base-0.10 >= 0.10.30
                     gstreamer-video-0.10) were not met:
          No package 'gstreamer-0.10' found
                     No package 'gstreamer-app-0.10' found
                     No package 'gstreamer-base-0.10' found
                     No package 'gstreamer-interfaces-0.10' found
                     No package 'gstreamer-pbutils-0.10' found
                     No package 'gstreamer-plugins-base-0.10' found
                     No package 'gstreamer-video-0.10' found
解决:sudo apt-get install libgstreamer*

if the version of gst is old, please lower the required gst version

by Source/autotools/Versions.m4.


libudev dependence:

sudo apt-get install libgudev-1.0-0

harfbuzz need to patch:

Tools/gtk/patches/harfbuzz-icu-detection-fix.patch
Tools/efl/patches/harfbuzz-icu-detection-fix.patch

cd harfbuzz path
patch <   Tools/gtk/patches/harfbuzz-icu-detection-fix.patch

make install 

libtool: link: `Source/WebCore/css/libWebCore_la-CSSSegmentedFontFace.lo' is not a valid libtool object
solution: 


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值