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.
1. Installed gd-2.0.33.tar.gz Successfully
tar xvfz gd-2.0.33.tar.gz
cd gd-2.0.33
./configure --with-png=/usr/local/lib
--with-freetype=/usr/local/lib
--with-jpeg=/usr/lib
--with-libiconv-prefix=/usr/local/lib
make
su
make install
2. Installed gdal-1.3.1.tar.gz Successfully
tar xvfz gdal-1.3.1.tar.gz
cd gdal-1.3.1
./configure --without-hdf4
make
su
make install
3. Installed grass-6.0.0 Successfully
./configure --prefix=/home/bnagesh
--bindir=/home/bnagesh/bin
--with-postgres-includes=/usr/include/pgsql
--without-odbc --without-fftw
make
su
make install
4. Installed gdal-grass-1.3.1.1.tar.gz Successfully
tar xvfz gdal-grass-1.3.1.1.tar.gz
cd gdal-grass-1.3.1
./configure
--with-gdal=/usr/local/bin/gdal-config
--with-grass=/home/bnagesh/grass-6.0.0
make
su
make install
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
make
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"
Kindly have a look at these errors and give me any
suggestions on how to remove these errors.
Thanking All In Advance
Siddhesh.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Hello Siddhesh,
On Fri, 27 Jan 2006 01:04:15 -0800 (PST) Siddhesh Bhatkar
<sid_grass@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@gdf-hannover.de
Phone : ++49-(0)511.39088507 - Fax: ++49-(0)511.39088508
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@gdf-hannover.de> wrote:
Hello Siddhesh,
On Fri, 27 Jan 2006 01:04:15 -0800 (PST) Siddhesh
Bhatkar
<sid_grass@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@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