[GRASS-dev] compiling error in grass

i configure gdal without grass and then compile grass then i given gdal with
grass

it gave me error like

->checking for G_asprintf in -lgrass_gis... no
configure: error: --with-grass=/usr/local/grass-6.2.2RC1 requested, but
libraries not found!

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/compiling-error-in-grass-tp5586647p5586647.html
Sent from the Grass - Dev mailing list archive at Nabble.com.

On Thu, Sep 30, 2010 at 7:34 AM, sunil <sunilrajkiran@gmail.com> wrote:

i configure gdal without grass and then compile grass then i given gdal with
grass

it gave me error like

->checking for G_asprintf in -lgrass_gis... no
configure: error: --with-grass=/usr/local/grass-6.2.2RC1 requested, but
libraries not found!

Please use GRASS 6.4 (6.2 is pretty outdated).

We also suggest to use the GRASS-GDAL plugin instead of compiling GDAL
with GRASS support.
See here
http://grass.osgeo.org/wiki/Compile_and_install_GDAL-GRASS_plugin

Markus