编译pango-1.8.0出错
为了升级gtk2.6, 必须升级这个,在configure --prefix=/usr 是通过的。可make就出现这个错误。系统是redhat9gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Pango\" -DPANGO_ENABLE_BACKEND -DPANGO_ENABLE_ENGINE -DSYSCONFDIR=\"/usr/etc\" -DLIBDIR=\"/usr/lib\" -DMODULE_VERSION=\"1.4.0\" -DG_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/freetype2 -I/usr/X11R6/include -I.. -g -O2 -Wall -MT pangofc-fontmap.lo -MD -MP -MF .deps/pangofc-fontmap.Tpo -c pangofc-fontmap.c -fPIC -DPIC -o .libs/pangofc-fontmap.o
pangofc-fontmap.c: In function `pango_fc_convert_weight_to_fc':
pangofc-fontmap.c:538: `FC_WEIGHT_NORMAL' undeclared (first use in this function)
pangofc-fontmap.c:538: (Each undeclared identifier is reported only once
pangofc-fontmap.c:538: for each function it appears in.)
make: *** Error 1
make: Leaving directory `/home/jabin/pango-1.8.0/pango'
make: *** Error 1
make: Leaving directory `/home/jabin/pango-1.8.0/pango'
make: *** Error 2
make: Leaving directory `/home/jabin/pango-1.8.0/pango'
make: *** Error 1
make: Leaving directory `/home/jabin/pango-1.8.0'
make: *** Error 2
# 省得被你唠叨,顶一下吧。 同问,而且./configure的时候最好显示“backends: FreeType X Xft”,网上找了好久都没见解决方法,郁闷
页:
[1]