[GRASSLIST:10022] Re: Error using "make" for installing GRASS
Mapserver-4.6.2
Stephan Holl
holl at gdf-hannover.de
Fri Jan 27 05:34:15 EST 2006
Hello Siddhesh,
On Fri, 27 Jan 2006 01:04:15 -0800 (PST) Siddhesh Bhatkar
<sid_grass at yahoo.com> wrote:
> Hello Everyone,
> I am getting errors while using the "make" command for
> mapserver-4.6.2 with GRASS installation.
> In file included from maperror.c:70:
> /usr/local/include/gdfonts.h:26: error: syntax error
> before "gdFontPtr"
> /usr/local/include/gdfonts.h:27: error: parse error
> before "gdFontGetSmall"
>
>
> Following are the steps i carried out before
> installing the GRASS mapserver.
This is not a direclty GRASS related problem. However, it seems that
something with the GD-Lib is broken.
[...]
>
> 5. Error while using "make" for mapserver-4.6.2
> tar xvfz mapserver-4.6.2.tar.gz
> cd mapserver-4.6.2
> ./configure --with-proj --with-ogr
> --with-gdal=/usr/local/bin/gdal-config
> --with-gd=/usr/lib --with-png=/usr/local/lib
Shouldn`t this be --with-gd=/usr/local/lib ?!
>
> USE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP
> -DGD_HAS_GDIMAGEGIFPTR
> -DGD_HAS_GETBITMAPFONTS -DUSE_OGR -DUSE_GDAL
> -DUSE_ICONV
> -DUSE_ZLIB -I/usr/lib -I/usr/local/include
> maperror.c -o maperror.o
> In file included from maperror.c:70:
> /usr/local/include/gdfonts.h:26: error: syntax
> error before "gdFontPtr"
> /usr/local/include/gdfonts.h:27: error: parse error
> before "gdFontGetSmall"
HTH
Best
Stephan
--
GDF Hannover - Solutions for spatial data analysis and remote sensing
Hannover Office - Mengendamm 16d - D-30177 Hannover
Internet: www.gdf-hannover.de - Email: holl at gdf-hannover.de
Phone : ++49-(0)511.39088507 - Fax: ++49-(0)511.39088508
More information about the grass-user
mailing list