[GRASS5] [bug #3746] (grass) d.grid compilation error

this bug's URL: http://intevation.de/rt/webrt?serial_num=3746
-------------------------------------------------------------------------

Subject: d.grid compilation error

Platform: GNU/Linux/i386
grass obtained from: Trento Italy site
grass binary for platform: Compiled from Sources
GRASS Version: grass-6.1.cvs_src_snapshot_2005_10_15

Did ./configure by itself. All went well. No (obvious) errors.
after instaling it worked well, but i needed to configure freetype so i did:
   
./configure --with-freetype-libs=/usr/lib
--with-freetype-includes=/usr/include/freetype2 --with-freetype --with-blas
--with-lapack --with-blas-libs=/usr/lib --with-lapack-libs=/usr/lib
  
and got this:
----------------------------------------------------------------------
GRASS GIS compilation log
-------------------------
Started compilation: Sat Oct 15 13:08:31 Local time zone must be set--see zic
manual page 2005
--
Errors in:
/wall/grass-6.1.cvs_src_snapshot_2005_10_15/display/d.grid
--
Finished compilation: Sat Oct 15 13:13:03 Local time zone must be set--see
zic manual page 2005
(In case of errors please change into the directory with error and run
'make')
  
so i went into the d.grid directory and did make then i got this:
  
/wall/grass-6.1.cvs_src_snapshot_2005_10_15/include/gprojects.h:67: error:
syntax error before '*' token
/wall/grass-6.1.cvs_src_snapshot_2005_10_15/include/gprojects.h:68: warning:
data definition has no type or storage class
/wall/grass-6.1.cvs_src_snapshot_2005_10_15/include/gprojects.h:72: error:
syntax error before "OGRSpatialReferenceH"
main.c: In function `main':
main.c:127: warning: passing arg 1 of `R_reset_color' with different width
due to prototype
main.c:127: warning: passing arg 2 of `R_reset_color' with different width
due to prototype
main.c:127: warning: passing arg 3 of `R_reset_color' with different width
due to prototype
main.c:143: warning: passing arg 1 of `R_reset_color' with different width
due to prototype
main.c:143: warning: passing arg 2 of `R_reset_color' with different width
due to prototype
main.c:143: warning: passing arg 3 of `R_reset_color' with different width
due to prototype
main.c:158: warning: passing arg 1 of `R_reset_color' with different width
due to prototype
main.c:158: warning: passing arg 2 of `R_reset_color' with different width
due to prototype
main.c:158: warning: passing arg 3 of `R_reset_color' with different width
due to prototype
make: *** [OBJ.i686-pc-linux-gnu/main.o] Error 1
  
I didnt do a make clean before i compile for the second time so I dont know
if that is the issue. Hope this bug report is helpful.
  
-------------------------------------------- Managed by Request Tracker