[GRASS5] 5.3 shared libraries and other experimental changes

Glynn Clements glynn.clements at virgin.net
Mon Jan 5 10:13:21 EST 2004


Moritz Lennert wrote:

> > I made some changes to the 5.3 CVS that are quite experimental and will
> > probably break some things. However it allows to build the core GRASS
> > libraries as shared, which hugely reduces the size of the binary
> > distribution.
> >
> > Please test it by adding the following option to the configure script:
> > --enable-gmake=no
> >
> 
> Works perfectly on Debian testing/unstable with following config:
> 
> /data/CVS/GRASSCVS/grass/configure --with-gdal --with-readline
> --with-tcltk-includes=/usr/include/tcl8.4/
> --with-postgres-includes="/usr/include/postgresql/
> /usr/include/postgresql/internal/" --with-motif --with-proj
> --enable-gmake=no
> 
> Very superficial testing has been succesful up to now.
> 
> 
> However, when I add
> 
> --with-freetype --with-freetype-includes=/usr/include/freetype2
> 
> I get the following error in config.log (which I didn't get last time I
> compiled):
> 
> 
> configure:10927: checking for freetype/freetype.h
> configure:10935: gcc -E  -I/usr/include/freetype2  conftest.c >/dev/null
> 2>conftest.out
> In file included from configure:10931:
> /usr/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h'
> hasn't been included yet!"
> /usr/include/freetype2/freetype/freetype.h:21:2: #error "Please always use
> macros to include FreeType header files."
> /usr/include/freetype2/freetype/freetype.h:22:2: #error "Example:"
> /usr/include/freetype2/freetype/freetype.h:23:2: #error "  #include
> <ft2build.h>"
> /usr/include/freetype2/freetype/freetype.h:24:2: #error "  #include
> FT_FREETYPE_H"
> configure: failed program was:
> #line 10930 "configure"
> #include "confdefs.h"
> #include <freetype/freetype.h>

This has nothing to do with Paul's changes; you will get the same
error from any other version of GRASS.

Either use a different version of FreeType2, or build without it.

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




More information about the grass-dev mailing list