[postgis-users] compilation problem with postgresql7.4 + postgis 0.8

Laurent Perez downloader at free.fr
Wed Dec 3 04:25:17 PST 2003


Hello

I am trying to install Postgis 0.8 with Postgresql7.3.4, on a linux system 
(debian).

I followed the README.postgis instructions but I'm getting this error 
(sorry for length) :

msi:/usr/local/src/postgresql-7.4/contrib/postgis-0.8.0# make
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes 
-Wmissing-declarations -g -fexceptions   -I. -DFRONTEND 
-DSYSCONFDIR='"/usr/local/pgsql74/etc"'  -DUSE_VERSION=74 
-I/usr/local/include/geos -DUSE_GEOS -I/usr/local/include 
-DUSE_PROJ  -DUSE_STATS -fpic -I../../src/include -D_GNU_SOURCE   -c -o 
postgis_debug.o postgis_debug.c
postgis_debug.c: In function `lockcheck':
postgis_debug.c:310: warning: control reaches end of non-void function
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes 
-Wmissing-declarations -g -fexceptions   -I. -DFRONTEND 
-DSYSCONFDIR='"/usr/local/pgsql74/etc"'  -DUSE_VERSION=74 
-I/usr/local/include/geos -DUSE_GEOS -I/usr/local/include 
-DUSE_PROJ  -DUSE_STATS -fpic -I../../src/include -D_GNU_SOURCE   -c -o 
postgis_ops.o postgis_ops.c
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes 
-Wmissing-declarations -g -fexceptions   -I. -DFRONTEND 
-DSYSCONFDIR='"/usr/local/pgsql74/etc"'  -DUSE_VERSION=74 
-I/usr/local/include/geos -DUSE_GEOS -I/usr/local/include 
-DUSE_PROJ  -DUSE_STATS -fpic -I../../src/include -D_GNU_SOURCE   -c -o 
postgis_fn.o postgis_fn.c
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes 
-Wmissing-declarations -g -fexceptions   -I. -DFRONTEND 
-DSYSCONFDIR='"/usr/local/pgsql74/etc"'  -DUSE_VERSION=74 
-I/usr/local/include/geos -DUSE_GEOS -I/usr/local/include 
-DUSE_PROJ  -DUSE_STATS -fpic -I../../src/include -D_GNU_SOURCE   -c -o 
postgis_inout.o postgis_inout.c
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes 
-Wmissing-declarations -g -fexceptions   -I. -DFRONTEND 
-DSYSCONFDIR='"/usr/local/pgsql74/etc"'  -DUSE_VERSION=74 
-I/usr/local/include/geos -DUSE_GEOS -I/usr/local/include 
-DUSE_PROJ  -DUSE_STATS -fpic -I../../src/include -D_GNU_SOURCE   -c -o 
postgis_proj.o postgis_proj.c
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes 
-Wmissing-declarations -g -fexceptions   -I. -DFRONTEND 
-DSYSCONFDIR='"/usr/local/pgsql74/etc"'  -DUSE_VERSION=74 
-I/usr/local/include/geos -DUSE_GEOS -I/usr/local/include 
-DUSE_PROJ  -DUSE_STATS -fpic -I../../src/include -D_GNU_SOURCE   -c -o 
postgis_chip.o postgis_chip.c
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes 
-Wmissing-declarations -g -fexceptions   -I. -DFRONTEND 
-DSYSCONFDIR='"/usr/local/pgsql74/etc"'  -DUSE_VERSION=74 
-I/usr/local/include/geos -DUSE_GEOS -I/usr/local/include 
-DUSE_PROJ  -DUSE_STATS -fpic -I../../src/include -D_GNU_SOURCE   -c -o 
postgis_transform.o postgis_transform.c
postgis_transform.c:52: projects.h: No such file or directory
make: *** [postgis_transform.o] Error 1

Is projects.h supposed to be bundled with 0.8 ?
Note : postgresql 7.3.4 is running and was compiled from the same 
/usr/local/src/postgresql-7.4 directory, before any postgis compilation 
attempt.

Thanks for any help

Laurent Perez
-------------- next part --------------

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.545 / Virus Database: 339 - Release Date: 27/11/2003


More information about the postgis-users mailing list