ubuntu下编译GTK版webkit
来源:互联网 发布:罗技鼠标mac用法 编辑:程序博客网 时间:2024/05/16 11:29
1)系统
Linux ubuntu 3.2.0-29-generic-pae #46-Ubuntu SMP Fri Jul 27 17:25:43 UTC 2012 i686 i686 i386 GNU/Linux
2)参考https://help.ubuntu.com/community/WebKit
Get dependencies
WebKit requires a newer version of libsoup than provided by the official Ubuntu repositories. Add the PPA for WebKit Team repository to get access to the right version:
sudo add-apt-repository ppa:webkit-teamsudo apt-get update
WebKit requires libraries to successfully aquire, configure, and compile. You can get libraries by issuing the following command in your terminal:
sudo apt-get install subversion gtk-doc-tools autoconf automake libtool libgtk2.0-dev libpango1.0-dev libicu-dev libxslt-dev libsoup2.4-dev libsqlite3-dev gperf bison flex libjpeg62-dev libpng12-dev libxt-dev autotools-dev libgstreamer-plugins-base0.10-dev libenchant-dev libgail-dev
Get the source code
To acquire the WebKit source code issue the following command in your terminal:
svn checkout http://svn.webkit.org/repository/webkit/trunk ~/src/WebKit
Be patient, this step will take some time.
Compile the code
Change the directory in your terminal to the newly created ~/src/WebKit directory with the following command:
cd ~/src/WebKit
Now you will need to configure the source to be sure all dependencies are present on your system. Issue this simple command in your terminal:
./autogen.sh --prefix=/usr
If your ./autogen.sh command runs without any hitches you are ready to compile WebKit. Issue the following command in your terminal and grab a beer:
make
To install run:
sudo make install
3)遇到的問題
checking whether to do a debug build... no checking whether to enable optimized builds... yes checking whether to enable WebGL support... yes checking whether to enable accelerated compositing support... no checking GL/gl.h usability... no checking GL/gl.h presence... no checking for GL/gl.h... no configure: error: OpenGL header not found
解决方案:按webkit的官方文章从新安装相关依赖库
$ sudo apt-get install autoconf \ automake \ autotools-dev \ bison \ flex \ gail-3.0 \ gawk \ gnome-common \ autopoint \ gperf \ ruby \ gtk-doc-tools \ libenchant-dev \ libgail-dev \ libgail-3-dev \ libgeoclue-dev \ libgirepository1.0-dev \ libgtk-3-dev \ libgstreamer-plugins-base0.10-dev \ libgudev-1.0-dev \ libicu-dev \ libgl1-mesa-glx \ libgl1-mesa-dev \ libjpeg62-dev \ libpango1.0-dev \ libpng12-dev \ libsqlite3-dev \ libtool \ libxslt-dev \ libxt-dev \ libxtst-dev \ libgnutls-dev
- ubuntu下编译GTK版webkit
- Ubuntu 编译Webkit --gtk
- ubuntu下webkit编译
- ubuntu下编译webkit
- ubuntu下编译webkit
- Ubuntu下编译webkit
- ubuntu下编译qt版webkit
- Ubuntu 下编译qt版webkit
- GTK版WebKit编译详细步骤
- ubuntu gtk webkit 安装
- Ubuntu下GTK安装、编译和测试
- 在Ubuntu下编译WebKit源码
- Ubuntu 11.04下编译Webkit源代码
- 在Ubuntu下编译WebKit源码--qt
- 交叉编译 Webkit (基于 GTK + DFB )
- 编译webkit gtk遇到的问题
- WebKit编译--Ubuntu 9.10
- Ubuntu 编译Webkit
- Bool类型值的输出
- 从ZIP文件中解压缩和提取数据
- Zookeeper全解析——Paxos作为灵魂
- Git for Windows with TortoiseGit and GitHub
- GRUB加密方法
- ubuntu下编译GTK版webkit
- ZooKeeper典型使用场景一览
- oracle游标
- S3C2440(1) Clock&Power Management
- Lucene小练七--(索引删除 清空 加权 排序)复习
- Drupal 7中怎样添加自定义的CSS样式
- javascript array push pop shift unshift
- CeGui+Ogre
- ArcGIS Online初探