[postgis-users] Problem with PostgreSQL 8.0.0beta3 ant PostGIS 0.9.0 ...

strk at refractions.net strk at refractions.net
Mon Sep 27 10:30:20 PDT 2004


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



More information about the postgis-users mailing list