[Gdal-dev] Re: [GRASS-dev] gdal-grass plugin fails during
./configure with GRASS 6.3 CVS
Paul Kelly
paul-grass at stjohnspoint.co.uk
Mon Jan 1 12:57:21 EST 2007
You probably need to check config.log to see what the actual error is.
But as a sidenote, in some circumstances G_asprintf is/was/will be
implemented as a macro (replaced by a call to the system asprintf()) and
not a function in libgrass_gis.so, so it is not a very good choice as a
typical GRASS function to test for in the configure script. Perhaps
G_gisinit() would be better, or some function that the GDAL GRASS plugin
directly uses.
Paul
On Mon, 1 Jan 2007, Maciej Sieczka wrote:
> Hi,
>
> With current GRASS 6.3 CVS gdal-grass 1.3.1.2 and 1.3.2 fail during
> configure:
>
> $ ./configure --with-grass=/usr/local/grass-6.3.cvs/
> [...]
> checking for gdal-config... /usr/local/bin/gdal-config
> using /usr/local/lib/gdalplugins as GDAL shared library autoload directory
> checking for G_asprintf in -lgrass_gis... no
> configure: error: --with-grass=/usr/local/grass-6.3.cvs/ requested, but
> libraries not found! Perhaps you need to set LD_LIBRARY_PATH to
> include /usr/local/grass-6.3.cvs//lib?
>
> GRASS is installed /usr/local/grass-6.3.cvs/, the
> /usr/local/grass-6.3.cvs/lib is present in the /etc/ld.so.conf and I
> remembered to run ldconfig.
>
> Did something change in GRASS between 6.2 and 6.3, or in GDAL, that
> gdal-grass plugin won't build with GRASS 6.3? Both gdal-grass versions
> configure fine with GRASS 6.2.2 (CVS 23.12.2006).
>
> Using GDAL 1.4 CVS 25.12.2006.
>
> Any hints appreciated!
>
> Thanks.
>
> Maciek
>
> _______________________________________________
> grass-dev mailing list
> grass-dev at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass-dev
>
More information about the Gdal-dev
mailing list