[Gdal-dev] gdal --with-grass cannot find installed grass library follow up errors

Bruce Bill tzhai2002 at yahoo.com
Wed Nov 9 13:54:03 EST 2005


Hi, Dear group
  I finally passed that grass libraries not found
error by hand set 
ac_cv_lib_grass_gis_G_asprintf=yes

which in turn allows
  GRASS_SETTING=grass57+

which in turn allows it to see the libraries,

but now when I make, it gives this error:
make[3]: Entering directory
`/home/danpatch/a/aggrass/gdal-1.3.1/ogr/ogrsf_frmts/grass'
/bin/sh ../../../libtool --mode=compile g++ -Wall  -O2
  -DUSE_CPL
-DGRASS_GISBASE=\"/home/danpatch/a/aggrass/grass-6.0.1\"
-I.. -I../..
-I/home/danpatch/a/aggrass/grass-6.0.1/include
-I../../../port -I../../../gcore -I../../../alg
-I../../../ogr -I../../../ogr/ogrsf_frmts
-I../../../port -I/usr/local/lib
-I/usr/local/lib/include -I/usr/local/lib/include
-I/usr/local/lib -I/usr/local/lib/include  -c -o
../o/ogrgrassdriver.o ogrgrassdriver.cpp
 g++ -Wall -O2 -DUSE_CPL
-DGRASS_GISBASE=\"/home/danpatch/a/aggrass/grass-6.0.1\"
-I.. -I../..
-I/home/danpatch/a/aggrass/grass-6.0.1/include
-I../../../port -I../../../gcore -I../../../alg
-I../../../ogr -I../../../ogr/ogrsf_frmts
-I../../../port -I/usr/local/lib
-I/usr/local/lib/include -I/usr/local/lib/include
-I/usr/local/lib -I/usr/local/lib/include -c
ogrgrassdriver.cpp  -fPIC -DPIC -o
../o/.libs/ogrgrassdriver.o
In file included from ogrgrassdriver.cpp:37:
ogrgrass.h:43:33: grass/gprojects.h: No such file or
directory
ogrgrass.h:44:27: grass/gis.h: No such file or
directory
ogrgrass.h:45:28: grass/dbmi.h: No such file or
directory
ogrgrass.h:46:28: grass/Vect.h: No such file or
directory
In file included from ogrgrassdriver.cpp:37:
ogrgrass.h:101: error: ISO C++ forbids declaration of
`dbString' with no type
ogrgrass.h:101: error: expected `;' before '*' token
ogrgrass.h:102: error: ISO C++ forbids declaration of
`dbDriver' with no type
ogrgrass.h:102: error: expected `;' before '*' token
ogrgrass.h:103: error: ISO C++ forbids declaration of
`dbCursor' with no type
ogrgrass.h:103: error: expected `;' before '*' token
ogrgrass.h:115: error: `dbTable' has not been declared
ogrgrass.h:115: error: ISO C++ forbids declaration of
`table' with no type
ogrgrass.h:161: error: field `map' has incomplete type
make[3]: *** [../o/ogrgrassdriver.o] Error 1
make[3]: Leaving directory
`/home/danpatch/a/aggrass/gdal-1.3.1/ogr/ogrsf_frmts/grass'
make[2]: *** [grass-target] Error 2
make[2]: Leaving directory
`/home/danpatch/a/aggrass/gdal-1.3.1/ogr/ogrsf_frmts'
make[1]: *** [sublibs] Error 2
make[1]: Leaving directory
`/home/danpatch/a/aggrass/gdal-1.3.1/ogr'
make: *** [ogr-target] Error 2

   Please help!!
   Thanks,



	
		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com



More information about the Gdal-dev mailing list