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

#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&gt;
GRASS GIS <https://grass.osgeo.org>

#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
Resolution: | Keywords:
       CPU: Unspecified | Platform: Unspecified
--------------------------+-------------------------

Comment (by mmetz):

Replying to [ticket:3456 marisn]:
> 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.

Compatibility of v.out.ogr with GDAL 1.11 has been restored in trunk
r71854. Relbr74 is not affected.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3456#comment:1&gt;
GRASS GIS <https://grass.osgeo.org>

#3456: Trunk fails to compile on Xenial
--------------------------+-------------------------
  Reporter: marisn | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: major | Milestone: 7.4.0
Component: Compiling | Version: svn-trunk
Resolution: fixed | Keywords:
       CPU: Unspecified | Platform: Unspecified
--------------------------+-------------------------
Changes (by marisn):

* status: new => closed
* resolution: => fixed

Comment:

Didn't had time to investigate, this time it was just a typo. Thanks,
Markus M.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3456#comment:2&gt;
GRASS GIS <https://grass.osgeo.org>