[GRASS-user] grass6.4 develbrunch revision 32726: undefined reference to `G_no_gisinit'

Glynn Clements glynn at gclements.plus.com
Thu Aug 14 13:51:55 EDT 2008


G. Allegri wrote:

> perfect. I was used to build grass, then build gdal with grass, and
> then rebuild grass. This time I'll follow your suggestion:
> I've just built gdal 1.5.2 (without grass) and grass (--with-gdal) ,
> and now I will compile gdal-grass plugin 1.4.2.
> 
> Last question (I'm sorry for my ignorance!): why grass configure asks
> for --with-gdal? Does this option prepare grass to use the gdal-grass
> plugin?

GRASS needs GDAL.

The --with-gdal switch allows the path to the gdal-config script to be
passed as an argument, in case it isn't in the path, or in case you
want to use a version other than the one which comes first in the
path. You can't use --without-gdal or --with-gdal=no; GDAL is
non-optional.

However, GRASS doesn't require that GDAL is built with GRASS support,
or the GDAL-GRASS plugin.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-user mailing list