Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jan 2006 05:21:24 +0100
From:      Par Leijonhufvud <par@hunter-gatherer.org>
To:        gnome@FreeBSD.org
Subject:   cairo build error
Message-ID:  <20060111042124.GD17824@absaroka.hunter-gatherer.org>

next in thread | raw e-mail | index | archive | help

--XsQoSWH+UP9D9v3l
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi,

I'm having trouble figuring out why cairo won't build (on a FreeBSD 5.3
system). Any suggestions?

Output from make attached. 

/Par

-- 
Par Leijonhufvud                               par@hunter-gatherer.org
People who do stupid things with hazardous materials often die.
		-- Jim Davidson on alt.folklore.urban

--XsQoSWH+UP9D9v3l
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="build.cairo.log"

===>  Building for cairo-1.0.2_1
make  all-recursive
Making all in pixman
Making all in src
Making all in src
if /bin/sh /usr/ports/graphics/cairo/work/gnome-libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H  -I. -I. -I.. -I. -I../pixman/src -I/usr/X11R6/include    -I/usr/local/include/libpng    -I/usr/X11R6/include   -I/usr/local/include/freetype2   -Wall -Wpointer-arith -Wstrict-prototypes 	-Wmissing-prototypes -Wmissing-declarations 	-Wnested-externs -fno-strict-aliasing  -I/usr/X11R6/include   -O -pipe -MT cairo-ft-font.lo -MD -MP -MF ".deps/cairo-ft-font.Tpo" -c -o cairo-ft-font.lo cairo-ft-font.c;  then mv -f ".deps/cairo-ft-font.Tpo" ".deps/cairo-ft-font.Plo"; else rm -f ".deps/cairo-ft-font.Tpo"; exit 1; fi
 cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../pixman/src -I/usr/X11R6/include -I/usr/local/include/libpng -I/usr/X11R6/include -I/usr/local/include/freetype2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -I/usr/X11R6/include -O -pipe -MT cairo-ft-font.lo -MD -MP -MF .deps/cairo-ft-font.Tpo -c cairo-ft-font.c  -fPIC -DPIC -o .libs/cairo-ft-font.o
In file included from cairo-ft-private.h:40,
                 from cairo-ft-font.c:42:
./cairo-ft.h:47:22: ft2build.h: No such file or directory
./cairo-ft.h:48:10: #include expects "FILENAME" or <FILENAME>
In file included from cairo-ft-private.h:40,
                 from cairo-ft-font.c:42:
./cairo-ft.h:60: error: syntax error before "face"
./cairo-ft.h:61: warning: function declaration isn't a prototype
./cairo-ft.h:64: error: syntax error before "cairo_ft_scaled_font_lock_face"
./cairo-ft.h:64: warning: type defaults to `int' in declaration of `cairo_ft_scaled_font_lock_face'
./cairo-ft.h:64: warning: data definition has no type or storage class
In file included from cairo-ft-font.c:42:
cairo-ft-private.h:62: error: syntax error before "_cairo_ft_unscaled_font_lock_face"
cairo-ft-private.h:62: warning: type defaults to `int' in declaration of `_cairo_ft_unscaled_font_lock_face'
cairo-ft-private.h:62: warning: data definition has no type or storage class
In file included from cairo-ft-font.c:45:
/usr/X11R6/include/fontconfig/fcfreetype.h:28:10: #include expects "FILENAME" or <FILENAME>
In file included from cairo-ft-font.c:45:
/usr/X11R6/include/fontconfig/fcfreetype.h:33: error: syntax error before "FcFreeTypeCharIndex"
/usr/X11R6/include/fontconfig/fcfreetype.h:33: error: syntax error before "face"
/usr/X11R6/include/fontconfig/fcfreetype.h:33: warning: type defaults to `int' in declaration of `FcFreeTypeCharIndex'
/usr/X11R6/include/fontconfig/fcfreetype.h:33: warning: function declaration isn't a prototype
/usr/X11R6/include/fontconfig/fcfreetype.h:33: warning: data definition has no type or storage class
/usr/X11R6/include/fontconfig/fcfreetype.h:36: error: syntax error before "face"
/usr/X11R6/include/fontconfig/fcfreetype.h:36: warning: function declaration isn't a prototype
/usr/X11R6/include/fontconfig/fcfreetype.h:39: error: syntax error before "face"
/usr/X11R6/include/fontconfig/fcfreetype.h:39: warning: function declaration isn't a prototype
/usr/X11R6/include/fontconfig/fcfreetype.h:42: error: syntax error before "FT_Face"
/usr/X11R6/include/fontconfig/fcfreetype.h:42: warning: function declaration isn't a prototype
/usr/X11R6/include/fontconfig/fcfreetype.h:45: error: syntax error before "f"
/usr/X11R6/include/fontconfig/fcfreetype.h:45: warning: type defaults to `int' in declaration of `FcPatternAddFTFace'
/usr/X11R6/include/fontconfig/fcfreetype.h:45: warning: function declaration isn't a prototype
cairo-ft-font.c:53:10: #include expects "FILENAME" or <FILENAME>
cairo-ft-font.c:54:10: #include expects "FILENAME" or <FILENAME>
cairo-ft-font.c:55:10: #include expects "FILENAME" or <FILENAME>
cairo-ft-font.c:106: error: syntax error before "FT_Face"
cairo-ft-font.c:151: error: syntax error before "FT_Library"
cairo-ft-font.c: In function `_font_map_release_face_lock_held':
cairo-ft-font.c:163: error: structure has no member named `face'
cairo-ft-font.c:164: warning: implicit declaration of function `FT_Done_Face'
cairo-ft-font.c:164: warning: nested extern declaration of `FT_Done_Face'
cairo-ft-font.c:164: error: structure has no member named `face'
cairo-ft-font.c:165: error: structure has no member named `face'
cairo-ft-font.c: In function `_cairo_ft_unscaled_font_map_create':
cairo-ft-font.c:192: warning: implicit declaration of function `FT_Init_FreeType'
cairo-ft-font.c:192: warning: nested extern declaration of `FT_Init_FreeType'
cairo-ft-font.c:192: error: structure has no member named `ft_library'
cairo-ft-font.c: In function `_cairo_ft_unscaled_font_map_destroy':
cairo-ft-font.c:239: warning: implicit declaration of function `FT_Done_FreeType'
cairo-ft-font.c:239: warning: nested extern declaration of `FT_Done_FreeType'
cairo-ft-font.c:239: error: structure has no member named `ft_library'
cairo-ft-font.c: At top level:
cairo-ft-font.c:322: error: syntax error before "FT_Face"
cairo-ft-font.c:323: warning: function declaration isn't a prototype
cairo-ft-font.c: In function `_cairo_ft_unscaled_font_init':
cairo-ft-font.c:324: error: `unscaled' undeclared (first use in this function)
cairo-ft-font.c:324: error: (Each undeclared identifier is reported only once
cairo-ft-font.c:324: error: for each function it appears in.)
cairo-ft-font.c:327: error: `face' undeclared (first use in this function)
cairo-ft-font.c:338: error: `filename' undeclared (first use in this function)
cairo-ft-font.c:342: error: `id' undeclared (first use in this function)
cairo-ft-font.c: In function `_cairo_ft_unscaled_font_fini':
cairo-ft-font.c:373: error: structure has no member named `face'
cairo-ft-font.c: At top level:
cairo-ft-font.c:456: error: syntax error before "face"
cairo-ft-font.c:457: warning: function declaration isn't a prototype
cairo-ft-font.c: In function `_cairo_ft_unscaled_font_create_from_face':
cairo-ft-font.c:465: error: `face' undeclared (first use in this function)
cairo-ft-font.c: In function `_has_unlocked_face':
cairo-ft-font.c:510: error: structure has no member named `face'
cairo-ft-font.c: At top level:
cairo-ft-font.c:520: error: syntax error before "_cairo_ft_unscaled_font_lock_face"
cairo-ft-font.c:521: warning: return type defaults to `int'
cairo-ft-font.c: In function `_cairo_ft_unscaled_font_lock_face':
cairo-ft-font.c:523: error: syntax error before "face"
cairo-ft-font.c:525: error: structure has no member named `face'
cairo-ft-font.c:527: error: structure has no member named `face'
cairo-ft-font.c:549: warning: implicit declaration of function `FT_New_Face'
cairo-ft-font.c:549: warning: nested extern declaration of `FT_New_Face'
cairo-ft-font.c:549: error: structure has no member named `ft_library'
cairo-ft-font.c:552: error: `face' undeclared (first use in this function)
cairo-ft-font.c:552: error: `FT_Err_Ok' undeclared (first use in this function)
cairo-ft-font.c:555: error: structure has no member named `face'
cairo-ft-font.c: In function `_cairo_ft_unscaled_font_set_scale':
cairo-ft-font.c:615: error: syntax error before "mat"
cairo-ft-font.c:619: error: structure has no member named `face'
cairo-ft-font.c:636: error: `mat' undeclared (first use in this function)
cairo-ft-font.c:636: error: `FT_Fixed' undeclared (first use in this function)
cairo-ft-font.c:646: warning: implicit declaration of function `FT_Set_Transform'
cairo-ft-font.c:646: warning: nested extern declaration of `FT_Set_Transform'
cairo-ft-font.c:646: error: structure has no member named `face'
cairo-ft-font.c:648: error: structure has no member named `face'
cairo-ft-font.c:648: error: `FT_FACE_FLAG_SCALABLE' undeclared (first use in this function)
cairo-ft-font.c:649: error: `pixel_width' undeclared (first use in this function)
cairo-ft-font.c:650: error: `pixel_height' undeclared (first use in this function)
cairo-ft-font.c:651: error: `error' undeclared (first use in this function)
cairo-ft-font.c:651: warning: implicit declaration of function `FT_Set_Char_Size'
cairo-ft-font.c:651: warning: nested extern declaration of `FT_Set_Char_Size'
cairo-ft-font.c:651: error: structure has no member named `face'
cairo-ft-font.c:662: error: structure has no member named `face'
cairo-ft-font.c:666: error: structure has no member named `face'
cairo-ft-font.c:682: warning: implicit declaration of function `FT_Set_Pixel_Sizes'
cairo-ft-font.c:682: warning: nested extern declaration of `FT_Set_Pixel_Sizes'
cairo-ft-font.c:682: error: structure has no member named `face'
cairo-ft-font.c:683: error: structure has no member named `face'
cairo-ft-font.c:684: error: structure has no member named `face'
cairo-ft-font.c: At top level:
cairo-ft-font.c:720: error: syntax error before "FT_Bitmap"
cairo-ft-font.c:723: warning: function declaration isn't a prototype
cairo-ft-font.c: In function `_get_bitmap_surface':
cairo-ft-font.c:729: error: `bitmap' undeclared (first use in this function)
cairo-ft-font.c:733: error: `own_buffer' undeclared (first use in this function)
cairo-ft-font.c:736: error: `val' undeclared (first use in this function)
cairo-ft-font.c:739: error: `FT_PIXEL_MODE_MONO' undeclared (first use in this function)
cairo-ft-font.c:783: error: `FT_PIXEL_MODE_LCD' undeclared (first use in this function)
cairo-ft-font.c:784: error: `FT_PIXEL_MODE_LCD_V' undeclared (first use in this function)
cairo-ft-font.c:785: error: `FT_PIXEL_MODE_GRAY' undeclared (first use in this function)
cairo-ft-font.c:786: error: `rgba' undeclared (first use in this function)
cairo-ft-font.c:888: error: `FT_PIXEL_MODE_GRAY2' undeclared (first use in this function)
cairo-ft-font.c:889: error: `FT_PIXEL_MODE_GRAY4' undeclared (first use in this function)
cairo-ft-font.c: At top level:
cairo-ft-font.c:932: error: syntax error before "face"
cairo-ft-font.c:934: warning: function declaration isn't a prototype
cairo-ft-font.c: In function `_render_glyph_outline':
cairo-ft-font.c:936: error: syntax error before "glyphslot"
cairo-ft-font.c:937: error: `FT_Outline' undeclared (first use in this function)
cairo-ft-font.c:937: error: `outline' undeclared (first use in this function)
cairo-ft-font.c:937: error: `glyphslot' undeclared (first use in this function)
cairo-ft-font.c:938: error: syntax error before "bitmap"
cairo-ft-font.c:948: warning: implicit declaration of function `FT_Outline_Get_CBox'
cairo-ft-font.c:948: warning: nested extern declaration of `FT_Outline_Get_CBox'
cairo-ft-font.c:948: error: `cbox' undeclared (first use in this function)
cairo-ft-font.c:961: error: `val' undeclared (first use in this function)
cairo-ft-font.c:961: error: `FT_LOAD_MONOCHROME' undeclared (first use in this function)
cairo-ft-font.c:963: warning: implicit declaration of function `FT_LOAD_TARGET_MODE'
cairo-ft-font.c:963: warning: nested extern declaration of `FT_LOAD_TARGET_MODE'
cairo-ft-font.c:963: error: `FT_RENDER_MODE_LCD' undeclared (first use in this function)
cairo-ft-font.c:964: error: `FT_RENDER_MODE_LCD_V' undeclared (first use in this function)
cairo-ft-font.c:975: error: `matrix' undeclared (first use in this function)
cairo-ft-font.c:979: error: `bitmap' undeclared (first use in this function)
cairo-ft-font.c:979: error: `FT_PIXEL_MODE_MONO' undeclared (first use in this function)
cairo-ft-font.c:986: warning: nested extern declaration of `FT_LOAD_TARGET_MODE'
cairo-ft-font.c:1011: warning: implicit declaration of function `FT_Outline_Transform'
cairo-ft-font.c:1011: warning: nested extern declaration of `FT_Outline_Transform'
cairo-ft-font.c:1013: error: `FT_PIXEL_MODE_GRAY' undeclared (first use in this function)
cairo-ft-font.c:1026: warning: implicit declaration of function `FT_Outline_Translate'
cairo-ft-font.c:1026: warning: nested extern declaration of `FT_Outline_Translate'
cairo-ft-font.c:1028: warning: implicit declaration of function `FT_Outline_Get_Bitmap'
cairo-ft-font.c:1028: warning: nested extern declaration of `FT_Outline_Get_Bitmap'
cairo-ft-font.c: At top level:
cairo-ft-font.c:1065: error: syntax error before "face"
cairo-ft-font.c:1067: warning: function declaration isn't a prototype
cairo-ft-font.c: In function `_render_glyph_bitmap':
cairo-ft-font.c:1068: error: syntax error before "glyphslot"
cairo-ft-font.c:1070: error: syntax error before "error"
cairo-ft-font.c:1079: error: `error' undeclared (first use in this function)
cairo-ft-font.c:1079: warning: implicit declaration of function `FT_Render_Glyph'
cairo-ft-font.c:1079: warning: nested extern declaration of `FT_Render_Glyph'
cairo-ft-font.c:1079: error: `glyphslot' undeclared (first use in this function)
cairo-ft-font.c:1079: error: `FT_RENDER_MODE_NORMAL' undeclared (first use in this function)
cairo-ft-font.c:1083: error: `val' undeclared (first use in this function)
cairo-ft-font.c: In function `_cairo_ft_unscaled_font_create_glyph':
cairo-ft-font.c:1215: error: syntax error before "glyphslot"
cairo-ft-font.c:1217: error: `FT_Glyph_Metrics' undeclared (first use in this function)
cairo-ft-font.c:1217: error: `metrics' undeclared (first use in this function)
cairo-ft-font.c:1221: error: `face' undeclared (first use in this function)
cairo-ft-font.c:1225: error: `glyphslot' undeclared (first use in this function)
cairo-ft-font.c:1230: warning: implicit declaration of function `FT_Load_Glyph'
cairo-ft-font.c:1230: warning: nested extern declaration of `FT_Load_Glyph'
cairo-ft-font.c:1264: error: `FT_LOAD_NO_HINTING' undeclared (first use in this function)
cairo-ft-font.c:1265: error: syntax error before "x1"
cairo-ft-font.c:1269: error: `x1' undeclared (first use in this function)
cairo-ft-font.c:1270: error: `x2' undeclared (first use in this function)
cairo-ft-font.c:1272: error: `y2' undeclared (first use in this function)
cairo-ft-font.c:1274: error: `advance' undeclared (first use in this function)
cairo-ft-font.c:1277: error: pointer value used where a floating point value was expected
cairo-ft-font.c:1299: error: `FT_GLYPH_FORMAT_OUTLINE' undeclared (first use in this function)
cairo-ft-font.c:1306: error: structure has no member named `face'
cairo-ft-font.c:1306: error: `FT_FACE_FLAG_SCALABLE' undeclared (first use in this function)
cairo-ft-font.c: In function `_get_pattern_load_flags':
cairo-ft-font.c:1355: error: `FT_LOAD_NO_BITMAP' undeclared (first use in this function)
cairo-ft-font.c:1357: error: `FT_LOAD_MONOCHROME' undeclared (first use in this function)
cairo-ft-font.c:1369: error: `FT_LOAD_NO_HINTING' undeclared (first use in this function)
cairo-ft-font.c:1375: error: `FT_LOAD_TARGET_LIGHT' undeclared (first use in this function)
cairo-ft-font.c:1378: error: `FT_LOAD_TARGET_NORMAL' undeclared (first use in this function)
cairo-ft-font.c:1402: error: `FT_LOAD_TARGET_LCD' undeclared (first use in this function)
cairo-ft-font.c:1406: error: `FT_LOAD_TARGET_LCD_V' undeclared (first use in this function)
cairo-ft-font.c:1418: error: `FT_LOAD_FORCE_AUTOHINT' undeclared (first use in this function)
cairo-ft-font.c:1425: error: `FT_LOAD_VERTICAL_LAYOUT' undeclared (first use in this function)
cairo-ft-font.c: In function `_get_options_load_flags':
cairo-ft-font.c:1454: error: `FT_LOAD_MONOCHROME' undeclared (first use in this function)
cairo-ft-font.c:1461: error: `FT_LOAD_TARGET_LCD' undeclared (first use in this function)
cairo-ft-font.c:1465: error: `FT_LOAD_TARGET_LCD_V' undeclared (first use in this function)
cairo-ft-font.c:1471: error: `FT_LOAD_NO_BITMAP' undeclared (first use in this function)
cairo-ft-font.c:1478: error: `FT_LOAD_NO_HINTING' undeclared (first use in this function)
cairo-ft-font.c:1482: error: `FT_LOAD_TARGET_LIGHT' undeclared (first use in this function)
cairo-ft-font.c:1486: error: `FT_LOAD_TARGET_NORMAL' undeclared (first use in this function)
cairo-ft-font.c: In function `_cairo_ft_scaled_font_text_to_glyphs':
cairo-ft-font.c:1655: error: syntax error before "face"
cairo-ft-font.c:1672: error: `face' undeclared (first use in this function)
cairo-ft-font.c:1686: warning: implicit declaration of function `FT_Get_Char_Index'
cairo-ft-font.c:1686: warning: nested extern declaration of `FT_Get_Char_Index'
cairo-ft-font.c: In function `_cairo_ft_scaled_font_font_extents':
cairo-ft-font.c:1720: error: syntax error before "face"
cairo-ft-font.c:1721: error: `FT_Size_Metrics' undeclared (first use in this function)
cairo-ft-font.c:1721: error: `metrics' undeclared (first use in this function)
cairo-ft-font.c:1723: error: `face' undeclared (first use in this function)
cairo-ft-font.c: At top level:
cairo-ft-font.c:2080: error: syntax error before '*' token
cairo-ft-font.c:2081: warning: function declaration isn't a prototype
cairo-ft-font.c: In function `_move_to':
cairo-ft-font.c:2082: error: `closure' undeclared (first use in this function)
cairo-ft-font.c:2085: error: `to' undeclared (first use in this function)
cairo-ft-font.c: At top level:
cairo-ft-font.c:2095: error: syntax error before '*' token
cairo-ft-font.c:2096: warning: function declaration isn't a prototype
cairo-ft-font.c: In function `_line_to':
cairo-ft-font.c:2097: error: `closure' undeclared (first use in this function)
cairo-ft-font.c:2100: error: `to' undeclared (first use in this function)
cairo-ft-font.c: At top level:
cairo-ft-font.c:2109: error: syntax error before '*' token
cairo-ft-font.c:2110: warning: function declaration isn't a prototype
cairo-ft-font.c: In function `_conic_to':
cairo-ft-font.c:2111: error: `closure' undeclared (first use in this function)
cairo-ft-font.c:2121: error: `control' undeclared (first use in this function)
cairo-ft-font.c:2124: error: `to' undeclared (first use in this function)
cairo-ft-font.c: At top level:
cairo-ft-font.c:2142: error: syntax error before '*' token
cairo-ft-font.c:2144: warning: function declaration isn't a prototype
cairo-ft-font.c: In function `_cubic_to':
cairo-ft-font.c:2145: error: `closure' undeclared (first use in this function)
cairo-ft-font.c:2150: error: `control1' undeclared (first use in this function)
cairo-ft-font.c:2153: error: `control2' undeclared (first use in this function)
cairo-ft-font.c:2156: error: `to' undeclared (first use in this function)
cairo-ft-font.c: In function `_cairo_ft_scaled_font_glyph_path':
cairo-ft-font.c:2175: error: syntax error before "glyph"
cairo-ft-font.c:2173: warning: unused variable `i'
cairo-ft-font.c:2174: warning: unused variable `scaled_font'
cairo-ft-font.c: At top level:
cairo-ft-font.c:2187: warning: type defaults to `int' in declaration of `face'
cairo-ft-font.c:2187: error: `abstract_font' undeclared here (not in a function)
cairo-ft-font.c:2187: error: initializer element is not constant
cairo-ft-font.c:2187: warning: data definition has no type or storage class
cairo-ft-font.c:2188: error: syntax error before "if"
cairo-ft-font.c:211: warning: '_cairo_ft_unscaled_font_map_destroy' defined but not used
cairo-ft-font.c:457: warning: '_cairo_ft_unscaled_font_create_from_face' defined but not used
cairo-ft-font.c:1445: warning: '_get_options_load_flags' defined but not used
cairo-ft-font.c:1535: warning: '_cairo_ft_scaled_font_create_toy' defined but not used
cairo-ft-font.c:1625: warning: '_cairo_ft_scaled_font_fini' defined but not used
cairo-ft-font.c:1650: warning: '_cairo_ft_scaled_font_text_to_glyphs' defined but not used
cairo-ft-font.c:1718: warning: '_cairo_ft_scaled_font_font_extents' defined but not used
cairo-ft-font.c:1775: warning: '_cairo_ft_scaled_font_glyph_extents' defined but not used
cairo-ft-font.c:1862: warning: '_cairo_ft_scaled_font_glyph_bbox' defined but not used
cairo-ft-font.c:1952: warning: '_cairo_ft_scaled_font_show_glyphs' defined but not used
cairo-ft-font.c:2081: warning: '_move_to' defined but not used
cairo-ft-font.c:2096: warning: '_line_to' defined but not used
cairo-ft-font.c:2110: warning: '_conic_to' defined but not used
cairo-ft-font.c:2144: warning: '_cubic_to' defined but not used
cairo-ft-font.c:2172: warning: '_cairo_ft_scaled_font_glyph_path' defined but not used
*** Error code 1

Stop in /usr/ports/graphics/cairo/work/cairo-1.0.2/src.
*** Error code 1

Stop in /usr/ports/graphics/cairo/work/cairo-1.0.2.
*** Error code 1

Stop in /usr/ports/graphics/cairo/work/cairo-1.0.2.
*** Error code 1

Stop in /usr/ports/graphics/cairo.

--XsQoSWH+UP9D9v3l--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060111042124.GD17824>