[GRASS5] Without FreeType

Markus Neteler neteler at itc.it
Mon Nov 8 12:45:22 EST 2004


On Fri, Nov 05, 2004 at 10:35:22AM +0100, Radim Blazek wrote:
> I have 5.7 configured without FreeType and compilation fails in 
> grass51/display/drivers/lib:
> 
> Text3.c:14:22: ft2build.h: No such file or directory
> Text3.c:15:10: #include expects "FILENAME" or <FILENAME>
> Text3.c:25: parse error before '*' token
> 
> Radim

Currently I try to make the Freetype support optional.
However, I have a mysterious problem (for me):

configure ... --without-freetype

cd cvsgrass57/display/drivers/lib
make clean
make
...
ranlib /hardmnt/thuille0/ssi/software/cvsgrass57/dist.i686-pc-linux-gnu/lib/libgrass_driver.a



#check where Freetype is present:
grep -l FT_ *
Text3.c


# check if it was compiled:
ls OBJ.i686-pc-linux-gnu/Text*
OBJ.i686-pc-linux-gnu/Text2.o  OBJ.i686-pc-linux-gnu/Text.o  OBJ.i686-pc-linux-gnu/Text_size.o
# -> no, perfect. BUT:

nm /hardmnt/thuille0/ssi/software/cvsgrass57/dist.i686-pc-linux-gnu/lib/libgrass_driver.a | grep FT
         U FT_Done_Face
         U FT_Done_FreeType
         U FT_Init_FreeType
         U FT_Load_Char
         U FT_New_Face
         U FT_Render_Glyph
         U FT_Set_Char_Size
         U FT_Set_Transform

How come?

Getting this cleaned up I could fix the XDRIVER (maybe).
Any help appreciated...

 Markus




More information about the grass-dev mailing list