[Gdal-dev] gdal 1.3.0 install

Markus Neteler neteler at itc.it
Tue Sep 19 16:28:09 EDT 2006


On Tue, Sep 19, 2006 at 12:32:44PM -0400, Frank Warmerdam wrote:
> Ryan Ollerenshaw wrote:
> >I have tried gdal-1.3.1 and got the same error
> >
> >With gdal-1.3.2 i get the following error:
> >
> >make[2]: Entering directory `/root/gdal-1.3.2/frmts/grass'
> >/bin/sh /root/gdal-1.3.2/libtool --mode=compile g++ -Wall  -O2    
> >-I/root/gdal-1.3.2/port -I/root/gdal-1.3.2/gcore -I/root/gdal-1.3.2/alg 
> >-I/root/gdal-1.3.2/ogr -I/root/gdal-1.3.2/ogr/ogrsf_frmts -DOGR_ENABLED 
> >-I/root/gdal-1.3.2/port  -c -o ../o/grassdataset.o grassdataset.cpp
> >g++ -Wall -O2 -I/root/gdal-1.3.2/port -I/root/gdal-1.3.2/gcore 
> >-I/root/gdal-1.3.2/alg -I/root/gdal-1.3.2/ogr 
> >-I/root/gdal-1.3.2/ogr/ogrsf_frmts -DOGR_ENABLED -I/root/gdal-1.3.2/port 
> >-c grassdataset.cpp  -fPIC -DPIC -o ../o/.libs/grassdataset.o
> >grassdataset.cpp:84:22: error: libgrass.h: No such file or directory
> >grassdataset.cpp: In constructor 
> 
> 
> Ryan,
> 
> There is no sign in the above compile line that the GRASS include files
> are being indicated properly.  If GRASS support is not important, I
> would suggest you re-configure --without-grass.  If GRASS support is
> important, then we need to track through the configure logic related
> to GRASS and I would need to know what grass related configure options
> you used.
>

Hi,

GDAL 1.3.2 needs to be linked to a recent GRASS, otherwise the
include files may not be found (we changed to <grass/gis.h> etc).
Not sure if this info is related to the problem here.

Markus 



More information about the Gdal-dev mailing list