| Summary: |
cairo-ocaml HEAD build failure against cairo-1.0.0: freetype2 not in include path |
| Product: |
cairo
|
Reporter: |
Ed Catmur <ed> |
| Component: |
general | Assignee: |
Carl Worth <cworth> |
| Status: |
RESOLVED
FIXED
|
QA Contact: |
cairo-bugs mailing list <cairo-bugs> |
| Severity: |
normal
|
|
|
| Priority: |
high
|
CC: |
bsiegert
|
| Version: |
1.0.0 | |
|
| Hardware: |
x86 (IA32) | |
|
| OS: |
Linux (All) | |
|
| Whiteboard: |
|
|
i915 platform:
|
|
i915 features:
|
|
| Attachments: |
proposed fix
|
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
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 "cairo_ft_scaled_font_lock_face" /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.) etcetera. If I understand https://bugs.freedesktop.org/show_bug.cgi?id=4262#c4 correctly, cairo-ocaml should do a pkgconfig on freetype in configure.