After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 163231 - Compilation failure with fontconfig-2.1
Compilation failure with fontconfig-2.1
Status: RESOLVED DUPLICATE of bug 161568
Product: pango
Classification: Platform
Component: general
1.8.x
Other Linux
: Normal critical
: ---
Assigned To: pango-maint
pango-maint
Depends on:
Blocks:
 
 
Reported: 2005-01-07 14:10 UTC by Matt Lawrence
Modified: 2005-01-07 17:04 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Matt Lawrence 2005-01-07 14:10:23 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
Comment 1 Owen Taylor 2005-01-07 17:04:37 UTC

*** This bug has been marked as a duplicate of 161568 ***