[GRASSLIST:10023] Re: Error using "make" for installing GRASS Mapserver-4.6.2
Siddhesh Bhatkar
sid_grass at yahoo.com
Fri Jan 27 05:47:30 EST 2006
Hello Stephan,
Sorry for the trouble yes its supposed to be
--with-gd=/usr/local/lib
i rectified tht now and its compiling fine.
Thanks a lot
Siddhesh
--- Stephan Holl <holl at gdf-hannover.de> wrote:
> 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
>
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the grass-user
mailing list