[postgis-users] Compile Problem with postgis

Oli Young oli at katalyst.com.au
Thu Aug 26 06:05:40 PDT 2004


Hi,

I'm trying to install postgis-0.7.5 on a Debian (sarge) box, with  
postgresql-7.4.3 installed with apt-get.

I've followed the instructions as here --  
http://edseek.com/archives/2004/03/31/installing-postgis-on-debian- 
gnulinux/ -- and everything seemed okay until i've attempted to 'make'  
postgis. Output as follows

[root at mojave][/usr/src/postgresql-7.4.3/build-tree/postgresql-7.4.3/ 
contrib/postgis-0.7.5][0]: make
i386-linux-gcc -DCHECK_RLIMIT_NOFILE -fno-strict-aliasing -g -Wall  
-Wmissing-prototypes -Wmissing-declarations -pipe -fPIC -g -I.  
-I../../src/include -D_GNU_SOURCE  -I/usr/include/tcl8.4 -DFRONTEND  
-DSYSCONFDIR='"/usr/etc/postgresql"' -DUSE_VERSION=73  -c -o  
postgis_estimate.o postgis_estimate.c
postgis_estimate.c: In function `get_restriction_var':
postgis_estimate.c:543: warning: assignment from incompatible pointer  
type
postgis_estimate.c:545: warning: assignment from incompatible pointer  
type
postgis_estimate.c: In function `genericcostestimate2':
postgis_estimate.c:752: error: structure has no member named `elem'
postgis_estimate.c:752: error: too few arguments to function  
`clauselist_selectivity'
postgis_estimate.c:810: warning: passing arg 1 of `cost_qual_eval' from  
incompatible pointer type
postgis_estimate.c:810: error: too few arguments to function  
`cost_qual_eval'
postgis_estimate.c:810: error: void value not ignored as it ought to be
make: *** [postgis_estimate.o] Error 1

Any ideas ?

Thanks in advance
Oli




More information about the postgis-users mailing list