[Webkit-unassigned] [Bug 70022] New: Build Webkit failed - cairo.h: No such file or directory

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 13 06:00:49 PDT 2011


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

           Summary: Build Webkit failed - cairo.h: No such file or
                    directory
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: gutaku at gmail.com


Hi

I'm trying to build WebKit r97352 with ./Tools/Scripts/build-webkit --gtk --prefix=<destination-dir> and during the process I obtain this error:

  CXXLD  TestNetscapePlugin/libtestnetscapeplugin.la
  CXX    Source/WebCore/accessibility/gtk/libWebCoreGtk2_la-AccessibilityObjectAtk.lo
In file included from ../../Source/WebCore/platform/graphics/freetype/FontPlatformData.h:31,
                 from ../../Source/WebCore/platform/graphics/FontPlatformData.h:35,
                 from ../../Source/WebCore/platform/graphics/SimpleFontData.h:30,
                 from ../../Source/WebCore/platform/graphics/FontFallbackList.h:25,
                 from ../../Source/WebCore/platform/graphics/Font.h:29,
                 from ../../Source/WebCore/rendering/style/RenderStyle.h:41,
                 from ../../Source/WebCore/rendering/RenderObject.h:36,
                 from ../../Source/WebCore/accessibility/gtk/AccessibilityObjectAtk.cpp:23:
../../Source/WebCore/platform/graphics/GlyphBuffer.h:47:19: error: cairo.h: No such file or directory
In file included from ../../Source/WebCore/platform/graphics/freetype/FontPlatformData.h:31,
                 from ../../Source/WebCore/platform/graphics/FontPlatformData.h:35,
                 from ../../Source/WebCore/platform/graphics/SimpleFontData.h:30,
                 from ../../Source/WebCore/platform/graphics/FontFallbackList.h:25,
                 from ../../Source/WebCore/platform/graphics/Font.h:29,
                 from ../../Source/WebCore/rendering/style/RenderStyle.h:41,
                 from ../../Source/WebCore/rendering/RenderObject.h:36,
                 from ../../Source/WebCore/accessibility/gtk/AccessibilityObjectAtk.cpp:23:
../../Source/WebCore/platform/graphics/GlyphBuffer.h:56: error: ‘cairo_glyph_t’ does not name a type
../../Source/WebCore/platform/graphics/GlyphBuffer.h:90: error: ISO C++ forbids declaration of ‘GlyphBufferGlyph’ with no type
../../Source/WebCore/platform/graphics/GlyphBuffer.h:90: error: expected ‘;’ before ‘*’ token
../../Source/WebCore/platform/graphics/GlyphBuffer.h:91: error: expected ‘;’ before ‘GlyphBufferAdvance’
../../Source/WebCore/platform/graphics/GlyphBuffer.h:92: error: ISO C++ forbids declaration of ‘GlyphBufferGlyph’ with no type
../../Source/WebCore/platform/graphics/GlyphBuffer.h:92: error: expected ‘;’ before ‘*’ token
../../Source/WebCore/platform/graphics/GlyphBuffer.h:93: error: expected ‘;’ before ‘const’
../../Source/WebCore/platform/graphics/GlyphBuffer.h:210: error: ‘GlyphBufferGlyph’ was not declared in this scope
../../Source/WebCore/platform/graphics/GlyphBuffer.h:210: error: template argument 1 is invalid
../../Source/WebCore/platform/graphics/GlyphBuffer.h: In member function ‘void WebCore::GlyphBuffer::clear()’:
../../Source/WebCore/platform/graphics/GlyphBuffer.h:83: error: request for member ‘clear’ in ‘((WebCore::GlyphBuffer*)this)->WebCore::GlyphBuffer::m_glyphs’, which is of non-class type ‘int’
../../Source/WebCore/platform/graphics/GlyphBuffer.h: In member function ‘void WebCore::GlyphBuffer::swap(int, int)’:
../../Source/WebCore/platform/graphics/GlyphBuffer.h:103: error: ‘GlyphBufferGlyph’ was not declared in this scope
../../Source/WebCore/platform/graphics/GlyphBuffer.h:103: error: expected ‘;’ before ‘g’
../../Source/WebCore/platform/graphics/GlyphBuffer.h:104: error: invalid types ‘int[int]’ for array subscript
../../Source/WebCore/platform/graphics/GlyphBuffer.h:104: error: invalid types ‘int[int]’ for array subscript
../../Source/WebCore/platform/graphics/GlyphBuffer.h:105: error: invalid types ‘int[int]’ for array subscript
../../Source/WebCore/platform/graphics/GlyphBuffer.h:105: error: ‘g’ was not declared in this scope
../../Source/WebCore/platform/graphics/GlyphBuffer.h: In member function ‘WebCore::Glyph WebCore::GlyphBuffer::glyphAt(int) const’:
../../Source/WebCore/platform/graphics/GlyphBuffer.h:121: error: invalid types ‘const int[int]’ for array subscript
../../Source/WebCore/platform/graphics/GlyphBuffer.h: In member function ‘void WebCore::GlyphBuffer::add(WebCore::Glyph, const WebCore::SimpleFontData*, float, const WebCore::FloatSize*)’:
../../Source/WebCore/platform/graphics/GlyphBuffer.h:153: error: ‘cairo_glyph_t’ was not declared in this scope
../../Source/WebCore/platform/graphics/GlyphBuffer.h:153: error: expected ‘;’ before ‘cairoGlyph’
../../Source/WebCore/platform/graphics/GlyphBuffer.h:154: error: ‘cairoGlyph’ was not declared in this scope
../../Source/WebCore/platform/graphics/GlyphBuffer.h:155: error: request for member ‘append’ in ‘((WebCore::GlyphBuffer*)this)->WebCore::GlyphBuffer::m_glyphs’, which is of non-class type ‘int’
../../Source/WebCore/platform/graphics/GlyphBuffer.h: In member function ‘void WebCore::GlyphBuffer::add(WebCore::Glyph, const WebCore::SimpleFontData*, WebCore::GlyphBufferAdvance)’:
../../Source/WebCore/platform/graphics/GlyphBuffer.h:184: error: ‘cairo_glyph_t’ was not declared in this scope
../../Source/WebCore/platform/graphics/GlyphBuffer.h:184: error: expected ‘;’ before ‘cairoGlyph’
../../Source/WebCore/platform/graphics/GlyphBuffer.h:185: error: ‘cairoGlyph’ was not declared in this scope
../../Source/WebCore/platform/graphics/GlyphBuffer.h:186: error: request for member ‘append’ in ‘((WebCore::GlyphBuffer*)this)->WebCore::GlyphBuffer::m_glyphs’, which is of non-class type ‘int’
In file included from ../../Source/WebCore/platform/graphics/transforms/TransformOperation.h:29,
                 from ../../Source/WebCore/platform/graphics/transforms/TransformOperations.h:28,
                 from ../../Source/WebCore/rendering/style/StyleTransformData.h:29,
                 from ../../Source/WebCore/rendering/style/RenderStyle.h:66,
                 from ../../Source/WebCore/rendering/RenderObject.h:36,
                 from ../../Source/WebCore/accessibility/gtk/AccessibilityObjectAtk.cpp:23:
../../Source/WebCore/platform/graphics/transforms/TransformationMatrix.h: At global scope:
../../Source/WebCore/platform/graphics/transforms/TransformationMatrix.h:323: error: expected type-specifier before ‘cairo_matrix_t’
make[1]: *** [Source/WebCore/accessibility/gtk/libWebCoreGtk2_la-AccessibilityObjectAtk.lo] Error 1
make[1]: Leaving directory `/home/sas/Downloads/WebKit-r97352/WebKitBuild/Release'
make: *** [all] Error 2

Failed to build WebKit using 'make'!

I'm building under Debian 6.0, and I using

- gtk 3.0.0
- libsoup 2.34.0
- cairo 1.10.2
- gail 1.9.0

Any ideas about how to solve the error?

Thanks

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list