[webkit-help] How to successfully build Webkit on Ubuntu

Bem Jones-Bey bjonesbe at adobe.com
Thu Dec 5 10:11:36 PST 2013


I'm betting that Tools/gtk/install-dependencies actually failed to install something. You should take a look at the output of that script closely and see if you see any failures to install any packages.

My VM that I recently installed that worked with no problems is running 13.10, so it might be worth recreating the VM with that version or upgrading to 13.10 and then attempting to install all the dependencies again. (I had all sorts of issues when I tried a 12.04 VM, since that is way too old.)

On Dec 5, 2013, at 09:41 , brian watson <brianwatson999999 at gmail.com<mailto:brianwatson999999 at gmail.com>> wrote:

I got beyond that error and now I have the following:

checking for SHA1 implementation... configure: error: No suitable SHA1 implementation found
*** Error during phase configure of xserver: ########## Error running ./autogen.sh --prefix /home/brian/src/WebKit/WebKitBuild/Dependencies/Root --lib

any ideas???


On Thu, Dec 5, 2013 at 12:13 PM, brian watson <brianwatson999999 at gmail.com<mailto:brianwatson999999 at gmail.com>> wrote:
Hi,
  Would anyone know how to get beyond the following error. I'm looking around, but it's not clear as to what's needed.

checking whether to track client ids... yes
checking for XLIB... yes
checking for GL... yes
checking for DRIPROTO... no
configure: error: Package requirements (xf86driproto >= 2.1.0) were not met:

No package 'xf86driproto' 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 DRIPROTO_CFLAGS
and DRIPROTO_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
*** Error during phase configure of xserver: ########## Error running ./autogen.sh --prefix /home/brian/src/WebKit/WebKitBuild/Dependencies/Root --libdir '/home/brian/src/WebKit/WebKitBuild/Dependencies/Root/lib' --disable-xinerama --enable-glx --enable-composite --disable-xorg --disable-dmx --disable-xnest --disable-xquartz --disable-xwin --disable-xephyr --disable-xfake --disable-xfbdev --disable-install-setuid --disable-unit-tests --enable-unix-transport --enable-tcp-transport --enable-local-transport --with-xkb-path=/usr/share/X11/xkb --with-xkb-output=/var/lib/xkb --with-xkb-bin-directory=/usr/bin --enable-introspection  *** [27/28]


Thanks,
   Brian


On Thu, Dec 5, 2013 at 11:40 AM, brian watson <brianwatson999999 at gmail.com<mailto:brianwatson999999 at gmail.com>> wrote:
Sorry the image of my terminal got messed up that I tried to include, but I think I got beyond the error and a subsequent one. I had to do the following:

sudo apt-get install xutils-dev
sudo apt-get install x11proto-gl-dev


On Thu, Dec 5, 2013 at 10:51 AM, brian watson <brianwatson999999 at gmail.com<mailto:brianwatson999999 at gmail.com>> wrote:
Hi Ossy,
  Thanks for the info! The build now runs a lot longer and gets much further along and now it gets the following failure. I'll run the command again *update-webkit-updategtk-libs), but if you have any ideas as to this failure please let me know. Thanks!

Regards,
  Brian











On Thu, Dec 5, 2013 at 9:12 AM, Osztrogonác Csaba <oszi at inf.u-szeged.hu<mailto:oszi at inf.u-szeged.hu>> wrote:
Hi,

You only need the following commands, nothing else:
- sudo Tools/gtk/install-dependencies - to install necessary packages
- Tools/Scripts/update-webkitgtk-libs - build dependencies with jhbuild
- Tools/Scripts/build-webkit --gtk - to build WebKit

Ossy


On 12/05/2013 03:04 PM, brian watson wrote:
Hi,
    I've only been using Linux for a few months and am trying to get
Webkit to build on Ubuntu, but I've been having lots of problems.

1. Ubuntu 13.04 running inside VirtualBox
2. Downloaded the Webkit source code  from webkit.org<http://webkit.org/> <http://webkit.org<http://webkit.org/>>

3. I enter the following commands as well as others:
sudo add-apt-repository ppa:webkit-team

sudo apt-get update

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

svn checkout http://svn.webkit.org/repository/webkit/trunk ~/src/WebKit

4. I run the configuration command: ./autogen.sh --prefix=/usr
5. I get the following error in config.log:
conftest.c:28:18: fatal error: glib.h: No such file or directory
compilation terminate

What I would like to do is change the makefile such that I can add a new
or different include path so that /usr/include/glib-2.0 is picked up for
glib.h, but I can't find the makefile involved. I see some references to
glib.h in aclocal.m4, but the file is auto generated.

Does anyone know how to do this?

Any help would be greatly appreciated as I'm stuck :-).


Thanks,
    Brian

_______________________________________________
webkit-help mailing list
webkit-help at lists.webkit.org<mailto:webkit-help at lists.webkit.org>
https://lists.webkit.org/mailman/listinfo/webkit-help




_______________________________________________
webkit-help mailing list
webkit-help at lists.webkit.org<mailto:webkit-help at lists.webkit.org>
https://lists.webkit.org/mailman/listinfo/webkit-help

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-help/attachments/20131205/f2237816/attachment-0001.html>


More information about the webkit-help mailing list