[GRASS5] compile 5.1/ogr_api.h

Radim Blazek blazek at itc.it
Wed Apr 2 02:56:57 EST 2003


It was missing 
  VECT_CFLAGS =  $(GDALCFLAGS)
in Grass.make.in. 
Add this row to include/Make/Grass.make.in and run configure.

Radim

On Wednesday 02 April 2003 07:58 am, John Gillette wrote:
> I am having a problem with grass51_exp_2003_03_29.  I configure pointing to
> the gdal-config.  The problem is that there are a bunch of files that don't
> get made because they can't find ogr_api.h.  It appears that ./config sets
> HAVE_OGR (in include/config.h) which in turn triggers vect/dig_structures.h
> to include ogr_api.h.  The problem apprears to be that nothing adds the
> path to ogr_api.h.
>
> If I manually add $(GDAL_CFLAGS) which is defined in Platform.make to the
> local make file, this corrects the error.  The problem is that I have added
> this 13 times so far and still going.  I assume this isn't correct.
>
> Can someone help, please?
>
> Red Hat 7.2
> CFLAGS="-g -Wall" ./configure
> --with-grass50=/home/john/grass50_exp_2003_03_29
> --with-postgres-includes=/usr/include/pgsql
> --without-fftw
> --with-dbm
> --with-dbm-includes=/usr/include/gdbm
> --with-gdal=/home/john/gdal-1.1.8/apps/gdal-config
>
> John
>
> _______________________________________________
> grass5 mailing list
> grass5 at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass5




More information about the grass-dev mailing list