[postgis-users] Problem with PostgreSQL 8.0.0beta3 ant PostGIS0.9.0 ...

strk at refractions.net strk at refractions.net
Tue Sep 28 01:32:29 PDT 2004


On Tue, Sep 28, 2004 at 10:12:58AM +0200, TECHER Jean David wrote:
> Hi
> 
> For this function seems to wotk with 'false'  too.

It's a READ_ONLY flag... I suppose 1 does some optimizing..

> 
> Actually for /lwgeom in lwgeom_estimate.c I need to do the same thing...

Yes. It's something changed between beta2 and beta3 of 800.

> 
> Questio: in compilation of /lwgeom, it looks that it miss the file
> lwgeom_chip.c
> 
> The make has no rule to make target lwgeom_chip.o ???
> 
> How to do???

All .o rules are implicit, take a look at the Makefile.
OBJS keeps a list of objects to be built.
Maybe your 'make' does not understand that (but you get other files uh ?).
Don't you get an error message ?
--strk;

> 
> ----- Original Message -----
> From: <strk at refractions.net>
> To: <postgis-users at postgis.refractions.net>
> Sent: Monday, September 27, 2004 7:30 PM
> Subject: Re: [postgis-users] Problem with PostgreSQL 8.0.0beta3 ant
> PostGIS0.9.0 ...
> 
> 
> > On Mon, Sep 27, 2004 at 12:20:34PM -0500, fabio quimbay wrote:
> > > Greetings ...
> > >
> > > When a try to build PostGIS 0.9.0 with PostgreSQL 8.0.0beta3, I have
> > > this problem:
> > >
> > > # make
> > > ./geos_version.sh /usr/local/pgsql/ > postgis_geos_version.h
> > > gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
> > > -Wmissing-declarations -g -fexceptions  -I. -DFRONTEND
> > > -DSYSCONFDIR='"/usr/local/pgsql/etc"'  -DUSE_VERSION=80
> > > -DPOSTGIS_LIB_VERSION='"0.9.0"' -DPOSTGIS_SCRIPTS_VERSION='"0.0.1"'
> > > -I/usr/local/pgsql//include -DUSE_GEOS -I/usr/local/pgsql//include
> > > -DUSE_PROJ  -DUSE_STATS -fpic
> > > -I/mnt/siglos/development/postgresql-8.0.0beta3/src/include
> > > -D_GNU_SOURCE   -c -o postgis_estimate.o postgis_estimate.c
> > > postgis_estimate.c: En la función `build_histogram2d':
> > > postgis_estimate.c:515: error: too few arguments to function
> `SPI_cursor_open'
> > > make: *** [postgis_estimate.o] Error 1
> > >
> > > What can I do ? Thanks, for your help ...
> >
> > Add a third argument with value '1' (read-only).
> > Preprocessor directive is already there for PG>800
> > (beta2 did not have third argument).
> > --strk;
> >
> > >
> > > P.D. I use Fedora Core 2 and previously I installed PostgreSQL
> > > 8.0.0beta3, GEOS 2.0.0 and Proj 4.4.8 sucessfully.
> > > _______________________________________________
> > > postgis-users mailing list
> > > postgis-users at postgis.refractions.net
> > > http://postgis.refractions.net/mailman/listinfo/postgis-users
> > _______________________________________________
> > postgis-users mailing list
> > postgis-users at postgis.refractions.net
> > http://postgis.refractions.net/mailman/listinfo/postgis-users
> 
> 
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users



More information about the postgis-users mailing list