webkitgtk+在ubuntu12上的编译

来源:互联网 发布:淘宝店铺违规了怎么办 编辑:程序博客网 时间:2024/06/06 05:05

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

我在运行脚本: ./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上的编译

0 0