Opened 3 years ago

Closed 3 years ago

#3456 closed defect (fixed)

Trunk fails to compile on Xenial

Reported by: marisn Owned by: grass-dev@…
Priority: major Milestone: 7.4.0
Component: Compiling Version: svn-trunk
Keywords: Cc:
CPU: Unspecified Platform: Unspecified

Description

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));

Change History (2)

comment:1 in reply to:  description Changed 3 years ago by mmetz

Replying to 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.

comment:2 Changed 3 years ago by marisn

Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.