[GRASS-dev] GRASS and GDAL 1.4.1 MingW
Benjamin Ducke
benjamin.ducke at ufg.uni-kiel.de
Tue Jun 12 06:35:58 EDT 2007
Hi all,
concerning the troubles with the DBF driver under Win32 that I wrote
about earlier, I am trying to compile a current version of GRASS
with MingW.
My problem is, that I cannot break the vicious GDAL-GRASS-GDAL cycle
anymore. I was trying to follow the instructions in the gdal-grass
plugin README:
1. GDAL 1.4.1 compiles fine without GRASS support.
2. However, the README is not clear on whether GRASS first needs to be
compiled w/o GDAL support firdst, but I assume it has to, because it
won't be able to find GDALOpen and the configure script aborts:
checking whether to use GDAL... yes
checking for gdal-config... /usr/local/bin/gdal-config
checking for GDALOpen... no
checking for GDALOpen... no
configure: error: *** couldn't find GDAL
3. Fair enough, BUT: with the current CVS version, it seems impossible
to compile GRASS without GDAL support, as compilation in lib/vector/Vlib
aborts, even if I specify --without-gdal:
field.c: In function `Vect_read_dblinks':
field.c:388: error: `OGRDataSourceH' undeclared (first use in this function)
field.c:388: error: (Each undeclared identifier is reported only once
field.c:388: error: for each function it appears in.)
field.c:388: error: syntax error before "Ogr_ds"
field.c:389: error: `OGRLayerH' undeclared (first use in this function)
field.c:390: error: `OGRFeatureDefnH' undeclared (first use in this
function)
field.c:400: error: `Ogr_ds' undeclared (first use in this function)
field.c:412: error: `Ogr_layer' undeclared (first use in this function)
field.c:417: error: `Ogr_featuredefn' undeclared (first use in this
function)
A 'make distclean' with fresh configure run did not help.
I don't know how many hours of time I have already lost with this
tricky GDAL-GRASS interdependency thing in the past without ever
figuring it out 100%
Are you all sure that including GDAL in the GRASS distribution in the
future is not an option?
Best,
Benjamin
--
Benjamin Ducke, M.A.
Archäoinformatik
(Archaeoinformation Science)
Institut für Ur- und Frühgeschichte
(Inst. of Prehistoric and Historic Archaeology)
Christian-Albrechts-Universität zu Kiel
Johanna-Mestorf-Straße 2-6
D 24098 Kiel
Germany
Tel.: ++49 (0)431 880-3378 / -3379
Fax : ++49 (0)431 880-7300
www.uni-kiel.de/ufg
More information about the grass-dev
mailing list