GNOME Bugzilla – Bug 163231
Compilation failure with fontconfig-2.1
Last modified: 2005-01-07 17:04:37 UTC
Source from ftp://ftp.gtk.org/pub/gtk/v2.6/pango-1.8.0.tar.bz2 doesn't install cleanly with fontconfig-2.1-9 pangofc-fontmap.c: In function `pango_fc_convert_weight_to_fc': pangofc-fontmap.c:538: `FC_WEIGHT_NORMAL' undeclared (first use in this function) fontconfig-2.1 seems to only define LIGHT MEDIUM DEMIBOLD BOLD BLACK Changing FC_WEIGHT_NORMAL to FC_WEIGHT_MEDIUM on line 538 of pango/pangofc-fontmap.c allows compilation to continue. GTK+ fails to configure, too: There were 11 lines in config.log of the form: /usr/local/lib/libpangoxft-1.0.so: undefined reference to `pango_fc_font_map_cache_clear' GTK configures and compiles if you add pangoft2 to "Requires:" section of pangoxft.pc
*** This bug has been marked as a duplicate of 161568 ***