[GRASS5] Problem compiling Grass5.1 (15/02/2003)

maurosw at jumpy.it maurosw at jumpy.it
Tue Feb 18 12:27:36 EST 2003


Hi to all,
I have a problem trying to compile last version of Grass51
(15/02/2003)... today updated with cvs
I use this configure parameters:

CFLAGS="-g -Wall" ./configure
--with-grass50=/home/rpms/GRASS/Sept2002/grass50_exp_2003_02_15/
--with-gd-includes=/home/rpms/gd-1.8.4
--with-gd-libs=/home/rpms/gd-1.8.4
--with-postgres-includes=/usr/local/pgsql/include
--with-opengl-includes=/usr/X11R6/include
--with-opengl-libs=/usr/X11R6/lib --with-dbm
--with-dbm-includes=/home/rpms/gdbm-1.8.0 --with-dbm-libs=/usr/local/lib
--with-gdal=/home/rpms/GRASS/gdal-1.1.8/apps/gdal-config
--with-includes=/home/rpms/GRASS/gdal-1.1.8/ogr/
--prefix=/home/rpms/GRASS/Sept2002/grass51_exp_2003_02_15/dist.i686-pc-linux-gnu

and there is no problem:

GRASS is now configured for i686-pc-linux-gnu

  Source directory:          /home/rpms/GRASS/Sept2002/grass51_exp_2003_02_15
  Build directory:           /home/rpms/GRASS/Sept2002/grass51_exp_2003_02_15
  Installation directory:    /home/rpms/GRASS/Sept2002/grass51_exp_2003_02_15/dist.i686-pc-linux-gnu/grass5
  C compiler:                gcc -g -Wall
  FORTRAN compiler:

  NVIZ:                       yes

  X11 support:                yes
  DBM support:                yes
  JPEG support:               yes
  TIFF support:               yes
  PNG support:                yes
  GD support:                 yes
  Tcl/Tk support:             yes
  PostgreSQL support:         yes
  MySQL support:              no
  OpenGL(R) support:          yes
  ODBC support:               yes
  FFTW support:               yes
  BLAS support:               no
  LAPACK support:             no
  Motif support:              no
  FreeType support:           no
  GLw support:                no
  NLS support:                no
  Readline support:           no


but make generates this error:

gcc  -L/home/rpms/GRASS/Sept2002/grass51_exp_2003_02_15/dist.i686-pc-linux-gnu/lib
  -I/home/rpms/GRASS/Sept2002/grass51_exp_2003_02_15/include -I/home/rpms/GRASS/Sept2002/grass51_exp_2003_02_15/dist.i686-pc-linux-gnu/include
-I/usr/X11R6/include/ -I/usr/include/gr -I/usr/local/include -I/usr/include
 -I/usr/local/pgsql/include -o OBJ.i686-pc-linux-gnu/port_test port_test.c
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
cc1: warning: changing search order for system directory "/usr/include"
cc1: warning:   as it has already been specified as a non-system directory
In file included from /home/rpms/GRASS/Sept2002/grass51_exp_2003_02_15/include/vect/digit.h:3,
                 from /home/rpms/GRASS/Sept2002/grass51_exp_2003_02_15/include/Vect.h:4,
                 from port_test.c:21:
/home/rpms/GRASS/Sept2002/grass51_exp_2003_02_15/include/vect/dig_structs.h:180:
parse error before "OGRDataSourceH"
/home/rpms/GRASS/Sept2002/grass51_exp_2003_02_15/include/vect/dig_structs.h:180:
warning: no semicolon at end of struct or union
/home/rpms/GRASS/Sept2002/grass51_exp_2003_02_15/include/vect/dig_structs.h:181:
warning: data definition has no type or storage class
/home/rpms/GRASS/Sept2002/grass51_exp_2003_02_15/include/vect/dig_structs.h:185:
parse error before '}' token
/home/rpms/GRASS/Sept2002/grass51_exp_2003_02_15/include/vect/dig_structs.h:194:
field `ogr' has incomplete type
make[3]: *** [/home/rpms/GRASS/Sept2002/grass51_exp_2003_02_15/dist.i686-pc-linux-gnu/include/portable.h]
Error 1
make[3]: Leaving directory `/home/rpms/GRASS/Sept2002/grass51_exp_2003_02_15/lib/vector/diglib'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/home/rpms/GRASS/Sept2002/grass51_exp_2003_02_15/lib/vector'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/home/rpms/GRASS/Sept2002/grass51_exp_2003_02_15/lib'
make: *** [default] Error 1




Could someone help me?

Thank you

Mauro

________________________________________
Hai bisogno di una pausa? Vieni a giocare su Jumpy! http://giochi.jumpy.it





More information about the grass-dev mailing list