1.下载webkit源码,由于ubuntu版本为10.04,所以下载的webkit版本也比较靠前。

2.解压到文件夹下,运行/WebKit-r58572/WebKitTools/Scripts/build-webkit --gtk

3.遇到错误:

1).Warning: not running gtk-docize.

automake: cannot open < gtk-doc.make: No such file or directory

Failed to setup build environment using 'autotools'!

解决方法:sudo apt-get install gtk-doc-tools

2).checking which Unicode backend to use... icu

checking for icu-config... no

configure: error: Cannot find icu-config. The ICU library is needed.

Failed to setup build environment using 'autotools'!

解决方法:sudo apt-get install libicu-dev

3).checking for ENCHANT... configure: error: Package requirements (enchant >= 0.22) were not met:

No package 'enchant' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you

installed software in a non-standard prefix.

Alternatively, you may set the environment variables ENCHANT_CFLAGS

and ENCHANT_LIBS to avoid the need to call pkg-config.

See the pkg-config man page for more details.

Failed to setup build environment using 'autotools'!

解决方法:sudo apt-get install libenchant-dev

4).checking for ENCHANT... configure: error: Package requirements (enchant >= 0.22) were not met:

No package 'enchant' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you

installed software in a non-standard prefix.

Alternatively, you may set the environment variables ENCHANT_CFLAGS

and ENCHANT_LIBS to avoid the need to call pkg-config.

See the pkg-config man page for more details.

Failed to setup build environment using 'autotools'!

解决方法:sudo apt-get install libsoup2.4-dev

5).checking for library containing sqlite3_open16... no

configure: error: SQLite3 is required to enable Database support

Failed to setup build environment using 'autotools'!

解决方法:sudo apt-get install libsqlite3-dev

6).checking for LIBXSLT... configure: error: Package requirements (libxslt >= 1.1.7) were not met:

No package 'libxslt' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you

installed software in a non-standard prefix.

Alternatively, you may set the environment variables LIBXSLT_CFLAGS

and LIBXSLT_LIBS to avoid the need to call pkg-config.

See the pkg-config man page for more details.

Failed to setup build environment using 'autotools'!

解决方法:sudo apt-get install libxslt-dev

7).checking for GEOCLUE... configure: error: Package requirements (geoclue) were not met:

No package 'geoclue' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you

installed software in a non-standard prefix.

Alternatively, you may set the environment variables GEOCLUE_CFLAGS

and GEOCLUE_LIBS to avoid the need to call pkg-config.

See the pkg-config man page for more details.

Failed to setup build environment using 'autotools'!

解决方法:sudo apt-get install libgeoclue-dev

8).checking for GSTREAMER... configure: error: Package requirements (gstreamer-0.10 >= 0.10

gstreamer-app-0.10

gstreamer-base-0.10

gstreamer-pbutils-0.10

gstreamer-plugins-base-0.10 >= 0.10.25

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-pbutils-0.10' found

No package 'gstreamer-plugins-base-0.10' found

No package 'gstreamer-video-0.10' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you

installed software in a non-standard prefix.

Alternatively, you may set the environment variables GSTREAMER_CFLAGS

and GSTREAMER_LIBS to avoid the need to call pkg-config.

See the pkg-config man page for more details.

Failed to setup build environment using 'autotools'!

解决方法:sudo apt-get install libgstreamer*

编译完成后,会提示运行命令

===========================================================

WebKit is now built (51m:57s).

To run GtkLauncher with this newly-built code, use the

"WebKitTools/Scripts/run-launcher" script.

===========================================================

运行:

./WebKitTools/Scripts/run-launcher --gtk

技术人员都有自己的情怀,深陷其中而不被理解,欢迎关注个人微信公众平台:程序员互动联盟(coder_online),一个开发人员的家,来诉说自己的故事。

linux下编译webkit,ubuntu下编译webkit相关推荐

  1. linux 编译 suitesparse,Ubuntu下编译SuiteSparse-4.4.1和METIS-4.0.3

    ubuntu下编译caffe Ubuntu下编译caffe 纯粹是个人编译的记录.不用CUDA(笔记本是amd卡,万恶的nvidia):不手动编译依赖包(apt-get是用来干啥的?用来直接装二进制包 ...

  2. linux下glew例子,ubuntu 下编译glew (opengl扩展库)

    推荐文章 更新源的方法 提前保存一下原来源 sudo cp sources.list sources.list.bak 换源命令: sudo gedit /etc/apt/sources.list 或 ...

  3. linux编译linphone,Ubuntu下linphone交叉编译与移植

    移植前搞清楚linphone依赖库的关系,这个一般是移植工作的关键所在,还有一个关键是目标平台的交叉编译器. linphone-3.1.0依赖的库如下: speex(又依赖libogg) libosi ...

  4. android rtorrent 编译,在Ubuntu下rtorrent编译安装笔记

    rtorrent是一个Bittorrent软件,基于终端的BT客户端,高性能.低资源,另外有不少人给rtorrent开发了Web GUI来更好的让用户控制管理rtorrent,总而言之在Linux平台 ...

  5. linux pureftp mysql_在Ubuntu下安装apache2+php5+mysql5+pureftp+ftp

    在Ubuntu下安装apache2+php5+mysql5+pureftp+ftp 一.安装Ubuntu7.04 Desktop版 二.ubuntu Linux下手工安装mysql5 1.下载mysq ...

  6. dlib linux 编译使用,ubuntu/ARM编译使用Dlib、OpenCV

    参考文章: ubuntu安装Dlib(C++与Python) https://blog.csdn.net/sinat_38354963/article/details/90517321 ubuntu编 ...

  7. linux如何升级cmake,ubuntu下升级cmake

    ubuntu下直接:sudo apt-get install cmake 得到的是2.8的版本,然而最近我用qt creator编译的时候,发现这个遇到utf-8编码的时候老是有bug, Parse ...

  8. linux下运行yolo,Ubuntu下CPU/GPU模式YOLOv3代码运行

    YOLO是近几年物体检测主要算法之一,2018年已发展到YOLOv3,是目前速度最快的物体检测算法,详细内容可查看YOLO主页.YOLO的主要优势在于基于纯C语言编写的DarkNet,可查看DarkN ...

  9. linux安装gtk命令,Ubuntu 下安装 GTK2.0

    Ubuntu 下安装GTK2.0命令 安装命令: sudo apt-get install gnome-core-devel sudo apt-get install libglib2.0-doc l ...

  10. linux启用root用户,Ubuntu 下启用root账号与修改密码

    Ubuntu是一套基于Debian的Linux系统,它追求的是"Just Work",最新的7.10版本发布于2007年10月,不同于其他Linux发行版本,Ubuntu的所有版本 ...

最新文章

  1. was修改堆内存_C语言内存泄露很严重,如何应对?
  2. nginx压力测试和并发预估
  3. 微服务小范围发布影响小
  4. jqGrid('setSelection',rowid)报Cannot read property 'multiple' of undefined
  5. 使有用计算机不注意卫生,保护眼睛注意细节有哪些
  6. 《Spring攻略(第2版)》——1.5 指定Bean引用
  7. 分奇偶数c语言_小白学写字(C语言)
  8. 郁金香VC外挂教程(全) 翻录版 免Key(精品教程)
  9. wifinative.java_AndroidQ Wifi打开流程(二)
  10. 2D曲线插值拟合基础
  11. VMware12 安装 Mac OS 10.12 步骤及设置优化教程
  12. 无法确认设备和计算机之间的连接,代码45的8种解决方法 - 硬件设备没有连接到计算机...
  13. 太极图正确画法_太极图唯一正确的画法
  14. 算法:凸多边形最优三角剖分
  15. 时频分析工具箱典型函数的使用
  16. vmware+双显示器实现双系统同时使用
  17. 最全量子计算硬件概述(建议收藏)
  18. 【敏捷5.2】用户故事的层次和用户故事地图
  19. Cordova徽章插件
  20. 真的假的?中国科学技术大学软件学院今年报考人数4366人?

热门文章

  1. 质量超高的UI素材站!推荐UI\UX设计师
  2. 导航类网站|设计没有感觉,苦于寻找各种工具 或者资料的小伙伴收藏好哦
  3. .net websocket 获取http登录的用户_辽宁装备制造职业技术学院用户登录http://59.46.58.179/login...
  4. (全网唯一)Python 10行代码 实现 PDF转WORD
  5. const char *转wstring 方法
  6. Linux PCI驱动框架分析:(Peripheral Component Interconnect,外部设备互联)
  7. ncurses输出修饰:attron(),attroff(),attrset(),attr_get(),attr_,wattr_,chgat(),mvchgat()
  8. Java实现RPC框架
  9. unity字符串换行符_unity如何在中文文本换行时实现排版换行,避免标点符号出现在行首等比较丑的情况?...
  10. protobuf java service_【java】protoc不生成.proto中的service,只生成model相关类,求助。...