current CVS: v.in.ogr doesn't build

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

current CVS: v.in.ogr doesn't build

Maciek Sieczka
Hi,

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

?

Maciek

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

_______________________________________________
grass-dev mailing list
[hidden email]
http://grass.itc.it/mailman/listinfo/grass-dev
Reply | Threaded
Open this post in threaded view
|

Re: current CVS: v.in.ogr doesn't build

Glynn Clements

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).

--
Glynn Clements <[hidden email]>

_______________________________________________
grass-dev mailing list
[hidden email]
http://grass.itc.it/mailman/listinfo/grass-dev
Reply | Threaded
Open this post in threaded view
|

Re: current CVS: v.in.ogr doesn't build

Maciek Sieczka
On Fri, 7 Jul 2006 19:39:00 +0100
Glynn Clements <[hidden email]> 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/

_______________________________________________
grass-dev mailing list
[hidden email]
http://grass.itc.it/mailman/listinfo/grass-dev
Reply | Threaded
Open this post in threaded view
|

Re: current CVS: v.in.ogr doesn't build

Markus Neteler-3
In reply to this post by Glynn Clements
On Fri, Jul 07, 2006 at 07:39:00PM +0100, Glynn Clements 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).

To make everybody happy, I have conditionalized OFTDate on
GDAL_VERSION_NUM >= 1320. It doesn't make the code more readable but
we can take it out in a couple of months.

Maciek, please test this before updating your GDAL installation.

Markus

_______________________________________________
grass-dev mailing list
[hidden email]
http://grass.itc.it/mailman/listinfo/grass-dev
Reply | Threaded
Open this post in threaded view
|

Re: current CVS: v.in.ogr doesn't build

Maciek Sieczka
On Sat, 8 Jul 2006 00:09:15 +0200
Markus Neteler <[hidden email]> wrote:

> To make everybody happy, I have conditionalized OFTDate on
> GDAL_VERSION_NUM >= 1320. It doesn't make the code more readable but
> we can take it out in a couple of months.
>
> Maciek, please test this before updating your GDAL installation.

Done. v.in.ogr builds OK with GDAL 1.3.1.

Maciek

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

_______________________________________________
grass-dev mailing list
[hidden email]
http://grass.itc.it/mailman/listinfo/grass-dev
Reply | Threaded
Open this post in threaded view
|

Re: current CVS: v.in.ogr doesn't build

Markus Neteler-3
On Sat, Jul 08, 2006 at 01:18:03AM +0200, Maciek Sieczka wrote:

> On Sat, 8 Jul 2006 00:09:15 +0200
> Markus Neteler <[hidden email]> wrote:
>
> > To make everybody happy, I have conditionalized OFTDate on
> > GDAL_VERSION_NUM >= 1320. It doesn't make the code more readable but
> > we can take it out in a couple of months.
> >
> > Maciek, please test this before updating your GDAL installation.
>
> Done. v.in.ogr builds OK with GDAL 1.3.1.

Good.
Now update your GDAL :-) You don't want to miss the improvements...

Markus

_______________________________________________
grass-dev mailing list
[hidden email]
http://grass.itc.it/mailman/listinfo/grass-dev