[GRASS-dev] [GRASS GIS] #2779: v.external compile error --without-gdal --with-postgres

GRASS GIS trac at osgeo.org
Sat Oct 24 14:49:47 PDT 2015


#2779: v.external compile error --without-gdal --with-postgres
------------------------+-------------------------
 Reporter:  Papillon81  |      Owner:  grass-dev@…
     Type:  defect      |     Status:  new
 Priority:  normal      |  Milestone:  7.0.2
Component:  Vector      |    Version:  7.0.1
 Keywords:              |        CPU:  x86-64
 Platform:  Linux       |
------------------------+-------------------------
 The module v.external gives a compile error when compiling GRASS 7.0.1
 --without-gdal --with-postgres.

 The following error shows up:
 main.c:27:21: fatal error: ogr_api.h: No such file or directory

 It seems like the ogr_api.h header should be conditionally included in the
 main.c file or the v.external module should not be compiled at all when
 gdal is disabled.

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



More information about the grass-dev mailing list