Re: [gtk-osx-users] Building WebKit with GTK3.

Oh thanks John for the tip, I wouldn’t have thought that a module configuration is specific for the final 

Never mind, the build failed later:

  CXX    Source/JavaScriptCore/API/libjavascriptcoregtk_3_0_la-JSBase.lo
In file included from Source/JavaScriptCore/API/JSBase.cpp:26:
In file included from ./Source/JavaScriptCore/config.h:30:
./Source/JavaScriptCore/wtf/Platform.h:1124:10: fatal error: 
      'gtk-2.0/gtk/gtk.h' file not found
#include <gtk-2.0/gtk/gtk.h>
1 error generated.
make[1]: *** [Source/JavaScriptCore/API/libjavascriptcoregtk_3_0_la-JSBase.lo] Error 1
make: *** [all] Error 2

WebKit build version is 1.6.1 as now it is 2.4 even 2.5 on
Is there a chance that a newer version solve the error?
Then how to force one newer version to be built?

Thanks, Pascal.

Le 4 sept. 2014 à 16:03, John Ralls <jralls ceridwen us> a écrit :

On Sep 4, 2014, at 3:35 AM, Pascal <p p14 orange fr> wrote:


During WebKit build, I’ve got this error:
cmd$ ~/.local/bin/jhbuild build webkit
./configure --prefix /Users/blady/gtk/inst --libdir '/Users/blady/gtk/inst/lib' --with-target=quartz 
--disable-video --with-font-backend=pango --with-gtk=2.0  
*** Configuring WebKit *** [18/18]
checking for PANGO... no
configure: error: Package requirements (pango >= 1.12
                 pangoft2) were not met:

No package 'pangoft2' found

Whereas I’ve only installed GTK3, is there a way to install WebKit for GTK3?

That's what you get for building modules separately instead of listing them all on one line: WebKit pulled 
in meta-gtk-osx-fontconfig, but since you'd already built meta-gtk-osx-gtk3 with a separate command, it was 
too late. Had you included webkit in the first build command, jhbuild would have gotten everything in the 
right order and you wouldn't have had the problem.

To fix it now, do
jhbuild buildone --force --clean pango
jhbuild webkit

John Ralls

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]