[webkit-gtk] Can't build WebKitGTK on Fedora 31

Eric Williams ericwill at redhat.com
Wed Nov 6 05:08:46 PST 2019


On 11/5/19 2:31 PM, Carlos Alberto Lopez Perez wrote:
> On 05/11/2019 19:31, Eric Williams wrote:
>> Hello,
>>
>> I'm trying to build WebKitGTK from source on Fedora 31, but it looks
>> like my gettext version is too new:
>>
>> *** error: gettext infrastructure mismatch: using a Makefile.in.in from
>> gettext version 0.19 but the autoconf macros are from gettext version 0.20
>>
>> This happens when I run WebKit/Tools/Scripts/update-webkitgtk-libs. I'm
>> assuming a version has to be bumped in a Makefile somewhere?
>>
>>
>>
>> Thanks,
>>
> 
> The usual work-flow for developing WebKitGTK is the following:
> 
> 1. Install the distro required dependencies for building webkit
> $ Tools/gtk/install-dependencies
> 
> 2. (Optional) Build the third-party libraries.
> 2.1 Option 1 (with JHbuild): Tools/Scripts/update-webkitgtk-libs
> 2.2 Option 2 (with flatpak): Tools/Scripts/update-webkitgtk-flatpak
> 
> 3. Build WebKit.
> $ Tools/Scripts/build-webkit --gtk


Thank you for clarifying, I was unaware that step 2) was optional. I'll 
try without it for now.


> So, what is failing to you is the second step (with JHBuild).
> 
> To understand where it fails I would need to see the complete build log
> failure. The one you pasted is not enough to know in which of this
> libraries it fails.
> 
> In any case, keep in mind that building this third-party libraries is
> optional. And that you can also try the flatpak method that perhaps work
> better on Fedora 31.
> 
> The JHBuild method is what currently the buildbots at build.webkit.org
> use and what sets the current standard for the results of the layout tests.
> 
> The flatpak method is intended to replace JHBuild in the future.

Good to know about the flatpak option, if I need to compile the 
third-party libs I'll use that instead.


Thanks for your help!
Eric



More information about the webkit-gtk mailing list