[GRASSLIST:3891] Re: building gdal for grass57

Hamish hamish_nospam at yahoo.com
Tue Jul 13 19:33:35 EDT 2004


> For some reason I have access to gdal through grass53, but not
> grass57. I just cvs up'ed gdal and was getting ready to rebuild it
> when I noticed an option for building with libgrass.
> 
> Does gdal need to be built with:
> 
> --with-grass=ARG  Include GRASS support (ARG=no or libgrass path)
> 
> option?
> 
> I just can't remember from the last time I did this, and if that is
> the case, where (in the usr/local) world, does librass get placed?
> 
> find / -name libgrass was coming up empty.


No.

You should only configure gdal with --with-grass if you need GDAL to be
able to export GRASS maps without GRASS being installed. It is not
needed, and can cause r.in.gdal to break if it is used. Leave it off.
[this may be out of date/fixed now, but is how things used to be]


Was grass57 built with --with-gdal=/usr/local/bin/gdal-config or the like?
Did the 5.7 ./configure summary say it will use GDAL?
can you cd raster/r.in.gdal and run make?



Hamish




More information about the grass-user mailing list