<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:mario@webkit.org" title="Mario Sanchez Prada <mario@webkit.org>"> <span class="fn">Mario Sanchez Prada</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - can not find cairo-gl.h when build webkit with gtk on ubuntu 14.04"
href="https://bugs.webkit.org/show_bug.cgi?id=136576">bug 136576</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>mario@webkit.org
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - can not find cairo-gl.h when build webkit with gtk on ubuntu 14.04"
href="https://bugs.webkit.org/show_bug.cgi?id=136576#c28">Comment # 28</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - can not find cairo-gl.h when build webkit with gtk on ubuntu 14.04"
href="https://bugs.webkit.org/show_bug.cgi?id=136576">bug 136576</a>
from <span class="vcard"><a class="email" href="mailto:mario@webkit.org" title="Mario Sanchez Prada <mario@webkit.org>"> <span class="fn">Mario Sanchez Prada</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=136576#c0">comment #0</a>)
<span class="quote">> I got webkit newest code with svn, then try to build it follow instructions
> on this page:
>
> <a href="http://trac.webkit.org/wiki/BuildingGtk">http://trac.webkit.org/wiki/BuildingGtk</a>
>
> 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
> </span >
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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>