pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

RRD-Simple build problem



Hi,

I'm trying to build p5-RRD-Simple with pkg_comp on NetBSD-5.1.2, but bulding of cairo fails with this error message :

In file included from cairo-fontconfig-private.h:49,
                 from cairo-xlib-screen.c:66:
/pkg_comp/obj/pkgsrc/graphics/cairo/default/.x11-buildlink/include/fontconfig/fcfreetype.h:27:22: error: ft2build.h: No such file or directory /pkg_comp/obj/pkgsrc/graphics/cairo/default/.x11-buildlink/include/fontconfig/fcfreetype.h:28:10: error: #include expects "FILENAME" or <FILENAME>
In file included from cairo-fontconfig-private.h:49,
                 from cairo-xlib-screen.c:66:
/pkg_comp/obj/pkgsrc/graphics/cairo/default/.x11-buildlink/include/fontconfig/fcfreetype.h:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'FcFreeTypeCharIndex' /pkg_comp/obj/pkgsrc/graphics/cairo/default/.x11-buildlink/include/fontconfig/fcfreetype.h:40: error: expected ')' before 'face' /pkg_comp/obj/pkgsrc/graphics/cairo/default/.x11-buildlink/include/fontconfig/fcfreetype.h:43: error: expected ')' before 'face' /pkg_comp/obj/pkgsrc/graphics/cairo/default/.x11-buildlink/include/fontconfig/fcfreetype.h:46: error: expected declaration specifiers or '...' before 'FT_Face' /pkg_comp/obj/pkgsrc/graphics/cairo/default/.x11-buildlink/include/fontconfig/fcfreetype.h:49: warning: type defaults to 'int' in declaration of 'FT_Face' /pkg_comp/obj/pkgsrc/graphics/cairo/default/.x11-buildlink/include/fontconfig/fcfreetype.h:49: error: expected ';', ',' or ')' before 'f' /pkg_comp/obj/pkgsrc/graphics/cairo/default/.x11-buildlink/include/fontconfig/fcfreetype.h:52: warning: type defaults to 'int' in declaration of 'FT_Face' /pkg_comp/obj/pkgsrc/graphics/cairo/default/.x11-buildlink/include/fontconfig/fcfreetype.h:52: error: expected ';', ',' or ')' before 'face'
*** Error code 1

How to fix it ?

--
Benoit


Home | Main Index | Thread Index | Old Index