[GRASSLIST:4538] Re: freetype compile error

Glynn Clements glynn.clements at virgin.net
Thu Oct 14 12:03:37 EDT 2004


Kirk R. Wythers wrote:

> > It's using the <freetype/freetype.h> header from FreeType 1.x, when it
> > needs to use 2.x. Presumably the FreeType 1.x headers are in
> > /sw/include, which occurs before /usr/X11R6/include/freetype2 on the
> > command line.
> 
> I've always been rather confused about freetype and freetype2. I 
> suspect that the only reason either freetype and freetype2 are 
> installed is for grass. If I have no other reason for having freetype 
> installed, would a second solution be to simply get rid of freetype 
> (keeping freetype2)?

Getting rid of the freetype 1.x files should solve the problem.

> > We should probably be putting $(EXTRA_CFLAGS) before $(COMPILE_FLAGS)
> > in the Makefile templates (src/CMD/generic/make.mid and mk/mid.mk); in
> > general, package-specific directories should be checked before generic
> > directories.
> 
> That sounds like a better solution for the long term. As this kind of 
> problem is likely to come up again.

I've already done this in CVS.

-- 
Glynn Clements <glynn.clements at virgin.net>




More information about the grass-user mailing list