[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:
>
> g++ -g -fPIC -Wall -DHAVE_VSNPRINTF -DNEED_STRLCPY -DNEED_STRLCAT
> -DNEED_STRRSTR -DUSE_WMS_LYR -DUSE_WFS_LYR -DUSE_LIBXML2
> -DUSE_CURL -DUSE_CURLOPT_PROXYAUTH -DUSE_WFS_SVR -DUSE_WMS_SVR
> -DUSE_POSTGIS -DPOSTGIS_HAS_SERVER_VERSION -DUSE_GDAL -DUSE_OGR
> -DUSE_GEOS -DUSE_THREAD -DUSE_PROJ -DUSE_AGG_SVG_SYMBOLS -DUSE_OGL
> -DUSE_FTGL -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP
> -DUSE_GD_FT -DGD_HAS_FTEX_XSHOW -DGD_HAS_GDIMAGEGIFPTR
> -DGD_HAS_GETBITMAPFONTS -DGD_HAS_GET_TRUE_COLOR_PIXEL -DUSE_ICONV
> -DUSE_GIF -DUSE_PNG -DUSE_ZLIB -DUSE_FREETYPE -DDISABLE_CVSID
> -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
<prefix>/include/freetype2/freetype/config/ftheader.h
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
http://www.mapgears.com/
Provider of Professional MapServer Support since 2000
More information about the mapserver-dev
mailing list