I'm building cairo 1.4.12 with freetype 2.1.4. Make gives me the following error: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../pixman/src -I/opt/freetype-2.1.4/include -I/opt/freetype-2.1.4/include/freetype2 -I/opt/fontconfig-2.2.99/include -I/opt/libpng-1.2.22/include/libpng12 -DXTHREADS -I/opt/libXrender-0.9.0/include -I/opt/renderext-0.9/include -I/usr/openwin/include -I/usr/openwin/include -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wunsafe-loop-optimizations -Wdeclaration-after-statement -Wold-style-definition -Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes -fno-strict-aliasing -g -O2 -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 cairo-ft-font.c: In function '_cairo_ft_scaled_font_create': cairo-ft-font.c:1531: error: 'FT_Bitmap_Size' has no member named 'x_ppem' cairo-ft-font.c:1532: error: 'FT_Bitmap_Size' has no member named 'y_ppem' cairo-ft-font.c: In function '_decompose_glyph_outline': cairo-ft-font.c:1829: warning: passing argument 2 of 'FT_Outline_Transform' discards qualifiers from pointer target type cairo-ft-font.c: In function '_cairo_ft_load_truetype_table': cairo-ft-font.c:2129: warning: unused variable 'face' cairo-ft-font.c:2128: warning: unused variable 'unscaled' make[2]: *** [cairo-ft-font.lo] Error 1 y_ppem and x_ppem were not added to the FT_Bitmap_Size struct until freetype 2.1.9, but the documentation says that only freetype 2.1.4 is required.
Do you what the library version (its different from release version) of 2.1.9 is? Try: $ pkg-config --modversion freetype2 Thanks,
That returns nothing. My freetype package doesn't have any .pc files.
pkg-config support wasn't added to freetype until 2.1.5
Right. And I asked for 2.1.9 that seems to be the real required version.
For freetype-2.1.9: $ pkg-config --modversion freetype2 9.7.3
Fixed thanks. b46bb58e11f9d7b7fa68a64ca887c9b996b8f6f2
Does README need to be updated as well?
commit 5f38e215ed4ec930492ee373db37a767d85a6ee8 Author: Behdad Esfahbod <behdad@behdad.org> Date: Sat Dec 1 22:44:54 2007 -0500 [README] Remove the Dependencies section as it falls out of date easily
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.