<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:mario&#64;webkit.org" title="Mario Sanchez Prada &lt;mario&#64;webkit.org&gt;"> <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>
               &nbsp;
           </td>
           <td>mario&#64;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&#64;webkit.org" title="Mario Sanchez Prada &lt;mario&#64;webkit.org&gt;"> <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">&gt; I got webkit newest code with svn, then try to build it follow instructions
&gt; on this page:
&gt; 
&gt; <a href="http://trac.webkit.org/wiki/BuildingGtk">http://trac.webkit.org/wiki/BuildingGtk</a>
&gt; 
&gt; When I run Tools/Scripts/build-webkit --gtk,
&gt; There is an error:
&gt; ../../Source/WebCore/platform/graphics/cairo/CairoUtilities.cpp:43:22: fatal
&gt; error: cairo-gl.h: No such file or directory
&gt; 
&gt; and I found these two file named cairo-gl.h under webkit directory:
&gt; ./WebKitBuild/Dependencies/Source/cairo-1.12.8/src/cairo-gl.h
&gt; ./WebKitBuild/Dependencies/Root/include/cairo/cairo-gl.h
&gt; </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 &quot;missing cairo-gl.h&quot;.

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>