build error : ftfuncs.c:506: error: 'struct FT_Bitmap_Size_' has no member named 'x_ppem'

Michael gonwg at hotmail.com
Tue Jun 19 18:18:35 PDT 2007


Hi, X.org community,

I am trying to build X11R7.2 on a Red Hat Enterprise Edition 3. I used 
the command below:

> build-from-tarballs.sh -e -D -n /home/mwgong/temp/modular


But there is compilation error, like following:
..
Making install in FreeType
make[2]: Entering directory 
`/home/mwgong/temp/libXfont-X11R7.2-1.2.7/src/FreeType'
if /bin/sh ../../libtool --tag=CC --mode=compile 
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../inc
lude/X11/fonts -I../../include   -I/usr/include/freetype2 -Wall -Wpointer-arith 
 -Wstrict-prototy
pes     -Wmissing-prototypes -Wmissing-declarations     -Wnested-externs 
 -fno-strict-aliasing -g
 -O2 -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/home/mwgong/temp/modular/include 
   -D_XO
PEN_SOURCE -MT ftfuncs.lo -MD -MP -MF ".deps/ftfuncs.Tpo" -c -o 
ftfuncs.lo ftfuncs.c; \
then mv -f ".deps/ftfuncs.Tpo" ".deps/ftfuncs.Plo"; else rm -f 
".deps/ftfuncs.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include/X11/fonts -I../../include 
 -I/usr/include/fr
eetype2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations 
 -W
nested-externs -fno-strict-aliasing -g -O2 -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT 
 -I/ho
me/mwgong/temp/modular/include -D_XOPEN_SOURCE -MT 
ftfuncs.lo -MD -MP -MF .deps/ftfuncs.Tpo -c f
tfuncs.c  -fPIC -DPIC -o .libs/ftfuncs.o
ftfuncs.c: In function 'FreeTypeOpenInstance':
ftfuncs.c:506: error: 'struct FT_Bitmap_Size_' has no member named 
'x_ppem'
ftfuncs.c:506: error: 'struct FT_Bitmap_Size_' has no member named 
'y_ppem'
ftfuncs.c: In function 'FT_Do_SBit_Metrics':
ftfuncs.c:998: error: 'struct FT_Bitmap_Size_' has no member named 
'x_ppem'
ftfuncs.c:998: error: 'struct FT_Bitmap_Size_' has no member named 
'y_ppem'
make[2]: *** [ftfuncs.lo] Error 1
make[2]: Leaving directory 
`/home/mwgong/temp/libXfont-X11R7.2-1.2.7/src/FreeType'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory 
`/home/mwgong/temp/libXfont-X11R7.2-1.2.7/src'
make: *** [install-recursive] Error 1
***** install failed on lib/libXfont
..


I am new to X.org, so could anyone help me finding out how to fix the 
above problems ?

Thanks ahead.

Mike




More information about the xorg mailing list