[postgis-users] compile error
Vincent Schut
schut at sarvision.com
Thu Oct 28 08:26:10 PDT 2004
Hubert Fröhlich wrote:
> Hi list,
>
> I tried to compile postgis 0.9.0 with postgres 8.0 beta4 and geos 2.0.1
> (USE_GEOS=1) . I am working on a 2x Xeon box with SuSE Linux 8.1.
>
> When compiling Postgis, I get the error:
>
> gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels
> -fno-strict-aliasing -g -fexceptions -I. -DFRONTEND
> -DSYSCONFDIR='"/opt/verm80/etc/postgresql"' -DUSE_VERSION=80
> -DPOSTGIS_LIB_VERSION='"0.9.0"' -DPOSTGIS_SCRIPTS_VERSION='"0.0.1"'
> -I/opt/verm80/include -DUSE_GEOS -DUSE_STATS -fpic -I../../src/include
> -D_GNU_SOURCE -I/opt/verm/include -c -o postgis_estimate.o
> postgis_estimate.c
> postgis_estimate.c: In function `build_histogram2d':
> postgis_estimate.c:515: error: too few arguments to function
> `SPI_cursor_open'
>
> Can anybody help me?
See
http://postgis.refractions.net/pipermail/postgis-users/2004-October/005913.html
which worked for me too when I was in the same situation.
Cheers,
Vincent.
>
> Thanks,
> Hubert
>
More information about the postgis-users
mailing list