[GRASS-dev] [GRASS GIS] #3456: Trunk fails to compile on Xenial

GRASS GIS trac at osgeo.org
Mon Nov 27 08:27:12 PST 2017


#3456: Trunk fails to compile on Xenial
-------------------------+-------------------------
 Reporter:  marisn       |      Owner:  grass-dev@…
     Type:  defect       |     Status:  new
 Priority:  major        |  Milestone:  7.4.0
Component:  Compiling    |    Version:  svn-trunk
 Keywords:               |        CPU:  Unspecified
 Platform:  Unspecified  |
-------------------------+-------------------------
 Ubuntu Xenial ships with GDAL 1.11.3, released 2015/09/16. It seems that
 trunk (most likely 7.4 too) needs a more recent GDAL version, still it
 fails to detect it during configuration phase.
 Either compatibility with GDAL 1.11 must be restored (v.out.ogr) or
 configure should fail with an error of incompatible GDAL version.
 {{{
 gcc  -g -O2   -I/home/marisn/soft/grass_trunk/dist.x86_64-pc-linux-
 gnu/include -I/home/marisn/soft/grass_trunk/dist.x86_64-pc-linux-
 gnu/include   -I/usr/include/gdal -I/usr/include -DPACKAGE=\""grassmods"\"
 -I/usr/include/gdal -I/home/marisn/soft/grass_trunk/dist.x86_64-pc-linux-
 gnu/include -I/home/marisn/soft/grass_trunk/dist.x86_64-pc-linux-
 gnu/include -DRELDIR=\"vector/v.out.ogr\" -o OBJ.x86_64-pc-linux-
 gnu/main.o -c main.c
 main.c: In function ‘main’:
 main.c:473:49: error: ‘Ogr_driver’ undeclared (first use in this function)
   G_debug(2, "driver %d : %s", i, OGR_Dr_GetName(Ogr_driver));
 }}}

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3456>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list