[postgis-users] FC2 Compile Error
Richard_D_Levine at raytheon.com
Richard_D_Levine at raytheon.com
Tue Oct 12 06:01:30 PDT 2004
I'm running Fedora Core 2 and got the following compile error while running
make for PostGIS 0.9.0. More details follow the error listing.
[root at cp09426 postgis-0.9.0]# make
./geos_version.sh /usr/local > 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/include -DUSE_GEOS -I/usr/local/include -DUSE_PROJ
-DUSE_STATS -fpic -I../../src/include -D_GNU_SOURCE -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'
make: *** [postgis_estimate.o] Error 1
I'm running PostgreSQL 8.0.0 Beta 3, which I made and installed without a
problem from the tarball.
I'm installing as root.
I built Proj.4 and installed it without a problem.
I built the GEOS library and installed it without a problem.
I can't wait to get this working cause I want to play with it.
Thanks,
Rick
More information about the postgis-users
mailing list