自动化交叉编译Webkit
来源:互联网 发布:天猫订购软件 编辑:程序博客网 时间:2024/05/29 06:54
webkitgtk-1.11.91.tar.xz
gtk+-2.10.13.tar.gz
openWRT
参考Tiny Linux Core,这玩意带了X11也就6M是6M还是10M反正
https://gist.github.com/namhyung/99588
http://webkit.sed.hu/blog/20091111/compiling-webkitgtk-scratchbox-arm-platform
成功编译gtk-dfb的配置示例:http://www.raspberrypi.org/phpBB3/viewtopic.php?t=11772&p=144694
在编译的过程中,遇到过下面的错误:
1. cann't find the cairo_surface
解决方案:由于是采用dfb作为后端,而webkitgtk默认是没有支持的,合并这个patch.https://bugs.webkit.org/show_bug.cgi?id=116717
2. 找不到x11相关的头文件。
解决方案:
step1. 在./Source/WebCore/bridge/npruntime_internal.h中用#if defined(MOZ_X11)来替代#ifdef XP_UNIX,具体参考https://bugs.webkit.org/show_bug.cgi?id=113687
step2. 在./Source/autotools/SetupAutoconfHeader.m4中去掉XP_UNIX的定义
正宗的解法参考这个
方法1.https://bugs.webkit.org/attachment.cgi?id=20705&action=prettypatch
方法2.
https://mail.mozilla.org/pipermail/plugin-futures/2012-April/000518.html
方法3. https://trac.macports.org/ticket/39898
3. 找不到依赖库提供的头文件
解决方案有几种:
a. 直接在安装前缀的目录下查找对应的头文件,手动做对应的软链接。
b. 写一个patch的shell 文件用来做对应的链接
c. 我估计应该在配置依赖库时应该是可以通过配置某些参数来实现的,等有空时在研究。
4. 编译gtk时提示
Can't link to Pango. Pango is required to build
解决方案:使用-rpath-link来指定依赖库的路径。详细解释看这里http://blog.chinaunix.net/uid-12532446-id-3165271.html
5. 编译webkitgtk时出现如下错误:
/home/youtao/webkit-lib/include/jmorecfg.h:263:16:error: expected identifier before numeric constant
/home/youtao/webkit-lib/include/jmorecfg.h:263:16: error: expected '}' beforenumeric constant
/home/youtao/webkit-lib/include/jmorecfg.h:263:16: error: expectedunqualified-id before numeric constant
/home/youtao/webkit-lib/include/jmorecfg.h:263:38: error: 'boolean' does notname a type
解决方案:这是jpeg头文件的一个bug,
Editfile: /usr/local/include/jmorecfg.h
change line:
typedef enum { FALSE = 0 , TRUE = 1 } boolean;
to:
#if defined TRUE && defined FALSEtypedef bool boolean;#elsetypedef enum { FALSE = 0, TRUE = 1 } boolean;#endif
6. EditorClientGtk.cpp fatal error:webkitmarshal.h: No such file or directory
解决方案:
touch ./Source/WebKit/gtk/webkitmarshal.list, 如果还是不行,请把用户切到LINUX系统当前的用户下尝试。
参考自https://bugs.webkit.org/show_bug.cgi?id=50534
7. build error which dependency the xslt feature, but we have disable it in the configurate phase.
解决方案:到Source/WTF/wtf/FeatureDefines.h中注释掉 xslt的定义
如何调试crash的问题,具体请参考
ulimit -c unlimited
http://www.cnblogs.com/li-hao/archive/2011/09/25/2190278.html
- 自动化交叉编译Webkit
- Qt Webkit 浏览器交叉编译
- Buildroot自动化交叉编译工具
- Buildroot自动化交叉编译工具
- Buildroot自动化交叉编译工具
- 交叉编译 Webkit (基于 GTK + DFB )
- Buildroot自动化交叉编译工具:其一
- Buildroot自动化交叉编译工具:其二
- Buildroot自动化交叉编译工具:其三
- 从零开始基于ARM 交叉编译开源浏览器webkit
- 从零开始基于ARM 交叉编译开源浏览器webkit
- 从零开始基于ARM 交叉编译开源浏览器webkit .
- webkit编译
- WebKit编译
- webkit编译
- 编译WebKit
- webkit编译
- 编译webkit
- 视频行业创业投资与趋势报告
- js学习
- VC用ADO访问数据库
- 菜鸟之旅——Java入门篇(二)基本类型
- IOS 6 自动布局
- 自动化交叉编译Webkit
- ADO数据库编程入门
- [转自waterday 的BLOG]C++函数参数中的省略号
- struts2拦截器
- [智力题] raondom5 -> random7
- 我也来说说container_of(或者list_entry)
- 【详细介绍常见XP系统的配置要求】
- javascript(js)中的 substring和substr方法
- 32. 交换ab中的值,使得差最小