当前位置: 首页 > 工具软件 > WebKitGTK+ > 使用案例 >

webkitgtk+在ubuntu12上的编译

怀飞掣
2023-12-01

首先参看官方文档:
官方文章

我在运行脚本: ./Tools/Scripts/update-webkitgtk-libs脚本时遇到了这样的错误:
No package “”x11-xcb”” found
No package ‘xcb-dri2’ found
解决办法:
sudo apt-add-repository ppa:xorg-edgers
sudo apt-get update
sudo apt-get install libx11-xcb-dev
sudo apt-get install libxcb-xfixes0-dev

又遇到错误:
error: must install xorg-macros 1.14 or later before running autoconf/autogen
运行:sudo apt-get install xutils-dev
EGL支持:sudo apt-get install libgles2-mesa-dev
sudo apt-get install libtiff4-dev

后来看了这段话,有点道理
The PPA mentioned in the question is greatly outdated for 12.04 hence you have to disable it and find another instructions on building webkit from source. Additionally, someone has to edit the wiki.

Looks like webkit is now in libwebkitgtk-3.0-0. Try these:
sudo apt-get build-dep libwebkitgtk-3.0-0
apt-get source libwebkitgtk-3.0-0
cd webkit-*
dpkg-buildpackage

参看了这个链接:webkitgtk+在ubuntu12上的编译

 类似资料: