[GRASS5] [bug #1926] (grass) Compilation error in function main

Paul Kelly paul-grass at stjohnspoint.co.uk
Fri Jun 6 15:05:45 EDT 2003

On Fri, 6 Jun 2003, Piero Cavalieri wrote:

> Had you ./configured with GDAL/OGR support ?
> You have to do it with
> --with-gdal[=path/gdal-config]

Should --with-gdal be made the default for 5.1? As I understand it both
r.in.gdal and v.in.ogr use GDAL; r.in.gdal will work without --with-gdal
as it uses the gdalbridge code (but anecdotal evidence suggests this may
be buggy) but v.in.ogr needs --with-gdal to be specified. So at least
the configure script should disable building v.in.ogr if --with-gdal is
not specified.

But I think it would probably be good to make GDAL an absolute dependency
for 5.1, as PROJ.4 is now. I intend to add some functions for exporting
the projection information in a location to other formats and this will
also use the ogrspatialreference functions in GDAL.

More information about the grass-dev mailing list