[Webkit-unassigned] [Bug 136576] can not find cairo-gl.h when build webkit with gtk on ubuntu 14.04

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 4 03:14:49 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=136576

Mario Sanchez Prada <mario at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mario at webkit.org

--- Comment #28 from Mario Sanchez Prada <mario at webkit.org> ---
(In reply to comment #0)
> I got webkit newest code with svn, then try to build it follow instructions
> on this page:
> 
> http://trac.webkit.org/wiki/BuildingGtk
> 
> When I run Tools/Scripts/build-webkit --gtk,
> There is an error:
> ../../Source/WebCore/platform/graphics/cairo/CairoUtilities.cpp:43:22: fatal
> error: cairo-gl.h: No such file or directory
> 
> and I found these two file named cairo-gl.h under webkit directory:
> ./WebKitBuild/Dependencies/Source/cairo-1.12.8/src/cairo-gl.h
> ./WebKitBuild/Dependencies/Root/include/cairo/cairo-gl.h
> 

I hit a similar problem to this today, although perhaps not exactly the same issue:

When I tried to build the latest release of WebKitGTK+ (2.9.5) right from the tarball in a 32-bit Linux system withOUT cairo-gl available, ACCELERATED_2D_CANVAS was enabled by default, making the build fail later on with a similar error to the one above, due to "missing cairo-gl.h".

I have no idea why it enabled 2D_ACCELERATED_CANVAS by default, I've just noticed it when I saw the build failing, because of this line in CMakeCache.txt:

  //Toggle accelerated 2D canvas support
  ENABLE_ACCELERATED_2D_CANVAS:BOOL=ON

Will try to provide more info later on, but for now just to mention that I was not using the build-webkit script at all, as I was building straight from the tarball.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150804/0bf70738/attachment-0001.html>


More information about the webkit-unassigned mailing list