[CentOS] compile webkit

Mon Oct 2 23:51:21 UTC 2017
Johnny Hughes <johnny at centos.org>

On 09/30/2017 09:33 AM, Jerry Geis wrote:
> I am trying to compile webkitgtk
> I downloaded the webkit source, extracted
> CMake Error at Source/cmake/OptionsGTK.cmake:12 (message):
>   GCC 4.9.0 is required to build WebKitGTK+, use a newer GCC version or
> clang
> I downloaded 2.14.7 - just like CentOS 7.4 has, how can I be getting a GCC
> error  ?
> My goal is to get the MediaSource package in webkit working. It seems to
> not be enabled.
> Is there a better way ?

The webkitgtk4 needs to use the devtoolset-6 gcc to build.

This is my root log to get it to build:

I used the CentOS SCL SIG version of devtoolset in this mock config:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20171002/c108a0f4/attachment-0005.sig>