[cairo] pangocairo make error
suzuki toshiya
mpsuzuki at hiroshima-u.ac.jp
Sat Jan 28 00:11:31 PST 2012
Hi,
The cairo functions cairo_ft_font_face_create_for_pattern() and
cairo_ft_font_options_substitute() are available when libcairo
is built with fontconfig (see cairo-ft.h).
Considering that pango's FreeType2 backend is designed to use
both of FreeType2 and fontconfig (see configure.in of pango),
thus, what I can recommend is:
1) install fontconfig
2) rebuild cairo to use fontconfig
3) rebuild pango to use fontconfig-enabled cairo
Regards,
mpsuzuki
kibirango moses wrote:
> Hullo users,
> I am having a problem with installing pangocairo 1.28.4 for rrdtool
> 1.4.7 it is giving me the error below
> ./pango/.libs/libpangocairo-1.0.so: undefined reference to
> `cairo_ft_font_face_create_for_pattern'
> ../pango/.libs/libpangocairo-1.0.so: undefined reference to
> `cairo_ft_font_options_substitute'
> collect2: ld returned 1 exit status
> make[3]: *** [pango-view] Error 1
> make[3]: Leaving directory `/usr/local/src/pango-1.28.4/pango-view'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/usr/local/src/pango-1.28.4/pango-view'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/src/pango-1.28.4'
> make: *** [all] Error 2
>
> Could anyone out there help on fixing this .
>
> Thanx in advance
> --
> cairo mailing list
> cairo at cairographics.org
> http://lists.cairographics.org/mailman/listinfo/cairo
More information about the cairo
mailing list