[GRASS-dev] current CVS: v.in.ogr doesn't build

Maciek Sieczka werchowyna at epf.pl
Fri Jul 7 15:06:35 EDT 2006


On Fri, 7 Jul 2006 19:39:00 +0100
Glynn Clements <glynn at gclements.plus.com> wrote:

> 
> Maciek Sieczka wrote:
> 
> > CVS fetched just a while ago:
> > 
> > Errors in:
> > /home/fishoo/src/straight/grass6/vector/v.in.ogr
> > 
> > $ cd /home/fishoo/src/straight/grass6/vector/v.in.ogr
> > $ make
> > 
> > gcc
> > -I/home/fishoo/src/straight/grass6/dist.i686-pc-linux-gnu/include
> > -g -O2  -I/usr/local/include     -DPACKAGE=\""grassmods"\"
> > -I/usr/local/include
> > -I/home/fishoo/src/straight/grass6/dist.i686-pc-linux-gnu/include \
> > -o OBJ.i686-pc-linux-gnu/main.o -c main.c main.c: In function
> > `main': main.c:632: error: `OFTDate' undeclared (first use in this
> > function) main.c:632: error: (Each undeclared identifier is
> > reported only once main.c:632: error: for each function it appears
> > in.) make: *** [OBJ.i686-pc-linux-gnu/main.o] Error 1
> > 
> > 
> > 
> > Last time I built on 05 July and all was OK. Since then in
> > GRASS-COMMIT Markus wrote, on 2006.07.06:
> > 
> > Modified Files:
> > 	main.c 
> > Log Message:
> > 'NULL' support activated for OFTInteger and OFTReal
> > 
> > Modified Files:
> > 	main.c 
> > Log Message:
> > OFTDate added; OFTIntegerList hack polished
> 
> You need the most recent version of GDAL/OGR; the NEWS file at:
> 
> 	http://www.remotesensing.org/gdal/NEWS.html
> 
> says:
> 
> 	OGR 1.3.2 - Overview of Changes
> 	-------------------------------
> 	
> 	OGRFeature:
> 	 - Added support for OFTDate, OFTTime and OFTDateTime field
> types. 
> 	 - Also applied to a few drivers (shapefile, mysql, postgres)
> 
> As 1.3.2 has only been out a couple of months, I doubt that you will
> be able to get an "official" package from your distribution vendor yet
> (the 1.3.2 ebuild for Gentoo is still masked on all platforms).

Oops. Time to update GDAL then (using 2006-02-10 for now). Thanks for
the information!

Maciek

--------------------
W polskim Internecie s? setki milion?w stron. My przekazujemy Tobie tylko najlepsze z nich!
http://katalog.panoramainternetu.pl/




More information about the grass-dev mailing list