Re: pangocairo make error

suzuki toshiya <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
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
> [email protected]
> http://lists.cairographics.org/mailman/listinfo/cairo

--
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.