[cairo-bugs] [Bug 4400] New: cairo-ocaml HEAD build failure against cairo-1.0.0: freetype2 not in include path

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Sep 8 08:35:40 PDT 2005

Please do not reply to this email: if you want to comment on the bug, go to    
the URL shown below and enter yourcomments there.     
           Summary: cairo-ocaml HEAD build failure against cairo-1.0.0:
                    freetype2 not in include path
           Product: cairo
           Version: 1.0.0
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: general
        AssignedTo: cworth at cworth.org
        ReportedBy: ed at catmur.co.uk
         QAContact: cairo-bugs at cairographics.org

ocamlc.opt -ccopt "-g -I/usr/include/cairo  " ml_cairo_png.c
In file included from /usr/include/cairo/cairo-ft.h:47,
                 from ml_cairo_ft.c:13:
/usr/include/ft2build.h:56:38: freetype/config/ftheader.h: No such file or directory
In file included from ml_cairo_ft.c:13:
/usr/include/cairo/cairo-ft.h:48:10: #include expects "FILENAME" or <FILENAME>
In file included from ml_cairo_ft.c:13:
/usr/include/cairo/cairo-ft.h:60: error: syntax error before "face"
/usr/include/cairo/cairo-ft.h:64: error: syntax error before
/usr/include/cairo/cairo-ft.h:64: warning: type defaults to `int' in declaration
of `cairo_ft_scaled_font_lock_face'
/usr/include/cairo/cairo-ft.h:64: warning: data definition has no type or
storage class
ml_cairo_ft.c:17: error: syntax error before "err"
ml_cairo_ft.c: In function `ml_raise_FT_Error':
ml_cairo_ft.c:20: error: `err' undeclared (first use in this function)
ml_cairo_ft.c:20: error: (Each undeclared identifier is reported only once
ml_cairo_ft.c:20: error: for each function it appears in.)


If I understand https://bugs.freedesktop.org/show_bug.cgi?id=4262#c4 correctly,
cairo-ocaml should do a pkgconfig on freetype in configure.          
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email         
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

More information about the cairo-bugs mailing list