[mapserver-dev] MapServer 6.0.0-beta1 release - Please test!

Daniel Morissette dmorissette at mapgears.com
Tue Mar 22 23:09:04 EDT 2011

Hi Nicol,

Has this problem been solved? If not the please create a ticket and 
provide the info below:

On 11-03-10 05:49 PM, Nicol Hermann wrote:
> Hi Devs,
> if I am adding the option
> --with-opengl=/usr --with-ftgl
> to the following configure statement
> /configure --with-wfsclient --with-wfs --with-wmsclient --without-tiff
> --with-jpeg=/usr --with-ogr=/usr/local/bin/gdal-config
> --with-freetype=/usr --with-png=/usr --with-proj=/usr --enable-debug
> --with-gd=/usr/local --with-gdal=/usr/local/bin/gdal-config
> --with-postgis=/usr/local/pgsql/bin/pg_config
> --with-curl-config=/usr/bin/curl-config --with-threads
> --with-httpd=/usr/local/apache2_ssl/bin/httpd --with-php=/usr/local/php5
> --with-agg=/usr/local --with-geos=/usr/local/bin/geos-config
> I get the following error message while building mapserver:
> -I/usr/include  -I/usr/include -I/usr/local/include
> -Irenderers/agg/include  -I/usr/include -I/usr/include/FTGL/
> -I/usr/include   -I/usr/local/include -I/usr/local/pgsql-844/include
> -I/usr/local/include    -I/usr/include/libxml2     -c -o
> renderers/agg/src/agg_font_freetype.o
> renderers/agg/src/agg_font_freetype.cpp
> In file included from
> renderers/agg/src/../include/agg_font_freetype.h:23,
>                   from renderers/agg/src/agg_font_freetype.cpp:18:
> /usr/include/ft2build.h:56:38: error: freetype/config/ftheader.h: Datei
> oder Verzeichnis nicht gefunden

Do you have the file ftheader.h and where is it located?

Normally we'd find it under 

MapServer's configure checks for the presence of the 
$FT_DIR/include/freetype2 directory and if it is found then it is added 
to the include path so that files such as freetype/config/ftheader.h can 
be reached. It seems that in your case the file must be in a different 
location and we'll need to know what it is.

Daniel Morissette
Provider of Professional MapServer Support since 2000

More information about the mapserver-dev mailing list