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



Hello John,

After getting webkitgtk 2.4.5 and configuring with "./configure --prefix /Users/blady/gtk/inst 
--enable-quartz-target”, I’ve got the following error:

configure: error: Compiler GCC >= 4.7 or Clang >= 3.3 is required for C compilation

So I modify configure in order it will accept clang major version >= 4 with no minor version.

Then I’ve another configuring error:

checking webp/decode.h usability... no
checking webp/decode.h presence... no
checking for webp/decode.h... no
configure: error: WebP library (libwebp) not found

I fear that it takes me away too far in dependancies.
Well at present, webkitgtk component is not essential for me, so I go on other components testing.

Regards, Pascal.
http://blady.pagesperso-orange.fr


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


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

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

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 http://webkitgtk.org.
Is there a chance that a newer version solve the error?
Then how to force one newer version to be built?

You can get the current version from SVN in modules-unstable, but that hasn’t ever worked without major 
surgery. The WebKitGtk folks have in the past been extremely hostile to (to the extent of deliberately 
breaking) building with gtk-quartz, so rather extensive patching has been required. It’s several days work 
and hasn’t been a priority for me to do so, so I haven’t. On the other hand they’ve been making nicer 
noises on the mailing list in the last couple of months, so maybe you’ll get lucky.

Regards,
John Ralls




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