[GRASS-dev] grass6_devel, problems to find gdal library

Markus Neteler neteler at osgeo.org
Sun Jul 6 13:50:52 EDT 2008


On Sun, Jul 6, 2008 at 7:29 PM, William Kyngesburye
<woklist at kyngchaos.com> wrote:
> Finally had a chance to try it myself.  Looks like changes in r31909 broke
> it.  The tests are now including gdal.h, yet the GDAL include path isn't
> added to the test compile:

That r31909 change is the backport of
http://trac.osgeo.org/grass/changeset/31861
Timestamp:    06/27/08 12:48:11 (1 week ago)
Author:    glynn
Message:
    Add LOC_CHECK_LINK to allow checking Windows (stdcall) libraries
    Change GDAL ODBC checks to handle stdcall

[yes, I'll start to add the change rev into the backports]

> configure:7677: gcc -o conftest -Os -arch ppc -arch i386   -arch ppc -arch
> i386 -arch ppc -arch i386 conftest.c
>  -L/Library/Frameworks/GDAL.framework/Versions/1.5/unix/lib -lgdal 1>&5
> configure:7671:18: error: gdal.h: No such file or directory

It was also broken on grass.osgeo.org (Fedora, builds snapshots
and prog-man), Yann's include trick is a work-around.

Markus


More information about the grass-dev mailing list