[postgis-users] Can't compile Postgis 0.9.0 on Postgress 7.4.5.1 (Cygwin)

Januar V. Simarmata januar at web4yours.com
Sun Oct 3 07:15:14 PDT 2004


Hi all,

I am trying to compile Postgis 0.9.0 on Postgres 7.4.5.1 which runs on
Cygwin 1.5.11.
****************
$ uname -a
CYGWIN_NT-5.1 acer-17okrx4nec 1.5.11(0.116/4/2) 2004-09-04 23:17 i686
unknown un
known Cygwin
****************

I got Postgres source code from Cygwin too.

Error I got shown below:
******************************
$ make
./geos_version.sh /usr/local > postgis_geos_version.h
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declaratio
ns -
g -fexceptions  -I. -DFRONTEND -DSYSCONFDIR='"/usr/local/pgsql/etc"'  -DUSE_
VERS
ION=74 -DPOSTGIS_LIB_VERSION='"0.9.0"' -DPOSTGIS_SCRIPTS_VERSION='"0.0.1"' -
I/us
r/local/include -DUSE_GEOS -I/usr/local/include -DUSE_PROJ  -DUSE_STATS  -I/
usr/
src/postgresql-7.4.5-1/src/include   -c -o postgis_debug.o postgis_debug.c
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declaratio
ns -
g -fexceptions  -I. -DFRONTEND -DSYSCONFDIR='"/usr/local/pgsql/etc"'  -DUSE_
VERS
ION=74 -DPOSTGIS_LIB_VERSION='"0.9.0"' -DPOSTGIS_SCRIPTS_VERSION='"0.0.1"' -
I/us
r/local/include -DUSE_GEOS -I/usr/local/include -DUSE_PROJ  -DUSE_STATS  -I/
usr/
src/postgresql-7.4.5-1/src/include   -c -o postgis_ops.o postgis_ops.c
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declaratio
ns -
g -fexceptions  -I. -DFRONTEND -DSYSCONFDIR='"/usr/local/pgsql/etc"'  -DUSE_
VERS
ION=74 -DPOSTGIS_LIB_VERSION='"0.9.0"' -DPOSTGIS_SCRIPTS_VERSION='"0.0.1"' -
I/us
r/local/include -DUSE_GEOS -I/usr/local/include -DUSE_PROJ  -DUSE_STATS  -I/
usr/
src/postgresql-7.4.5-1/src/include   -c -o postgis_fn.o postgis_fn.c
postgis_fn.c:3198: warning: no previous prototype for
`postgis_scripts_released'

gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declaratio
ns -
g -fexceptions  -I. -DFRONTEND -DSYSCONFDIR='"/usr/local/pgsql/etc"'  -DUSE_
VERS
ION=74 -DPOSTGIS_LIB_VERSION='"0.9.0"' -DPOSTGIS_SCRIPTS_VERSION='"0.0.1"' -
I/us
r/local/include -DUSE_GEOS -I/usr/local/include -DUSE_PROJ  -DUSE_STATS  -I/
usr/
src/postgresql-7.4.5-1/src/include   -c -o postgis_inout.o postgis_inout.c
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declaratio
ns -
g -fexceptions  -I. -DFRONTEND -DSYSCONFDIR='"/usr/local/pgsql/etc"'  -DUSE_
VERS
ION=74 -DPOSTGIS_LIB_VERSION='"0.9.0"' -DPOSTGIS_SCRIPTS_VERSION='"0.0.1"' -
I/us
r/local/include -DUSE_GEOS -I/usr/local/include -DUSE_PROJ  -DUSE_STATS  -I/
usr/
src/postgresql-7.4.5-1/src/include   -c -o postgis_proj.o postgis_proj.c
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declaratio
ns -
g -fexceptions  -I. -DFRONTEND -DSYSCONFDIR='"/usr/local/pgsql/etc"'  -DUSE_
VERS
ION=74 -DPOSTGIS_LIB_VERSION='"0.9.0"' -DPOSTGIS_SCRIPTS_VERSION='"0.0.1"' -
I/us
r/local/include -DUSE_GEOS -I/usr/local/include -DUSE_PROJ  -DUSE_STATS  -I/
usr/
src/postgresql-7.4.5-1/src/include   -c -o postgis_chip.o postgis_chip.c
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declaratio
ns -
g -fexceptions  -I. -DFRONTEND -DSYSCONFDIR='"/usr/local/pgsql/etc"'  -DUSE_
VERS
ION=74 -DPOSTGIS_LIB_VERSION='"0.9.0"' -DPOSTGIS_SCRIPTS_VERSION='"0.0.1"' -
I/us
r/local/include -DUSE_GEOS -I/usr/local/include -DUSE_PROJ  -DUSE_STATS  -I/
usr/
src/postgresql-7.4.5-1/src/include   -c -o postgis_transform.o
postgis_transform
.c
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declaratio
ns -
g -fexceptions  -I. -DFRONTEND -DSYSCONFDIR='"/usr/local/pgsql/etc"'  -DUSE_
VERS
ION=74 -DPOSTGIS_LIB_VERSION='"0.9.0"' -DPOSTGIS_SCRIPTS_VERSION='"0.0.1"' -
I/us
r/local/include -DUSE_GEOS -I/usr/local/include -DUSE_PROJ  -DUSE_STATS  -I/
usr/
src/postgresql-7.4.5-1/src/include   -c -o postgis_svg.o postgis_svg.c
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declaratio
ns -
g -fexceptions  -I. -DFRONTEND -DSYSCONFDIR='"/usr/local/pgsql/etc"'  -DUSE_
VERS
ION=74 -DPOSTGIS_LIB_VERSION='"0.9.0"' -DPOSTGIS_SCRIPTS_VERSION='"0.0.1"' -
I/us
r/local/include -DUSE_GEOS -I/usr/local/include -DUSE_PROJ  -DUSE_STATS  -I/
usr/
src/postgresql-7.4.5-1/src/include   -c -o postgis_gist_72.o
postgis_gist_72.c
gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declaratio
ns -
g -fexceptions  -I. -DFRONTEND -DSYSCONFDIR='"/usr/local/pgsql/etc"'  -DUSE_
VERS
ION=74 -DPOSTGIS_LIB_VERSION='"0.9.0"' -DPOSTGIS_SCRIPTS_VERSION='"0.0.1"' -
I/us
r/local/include -DUSE_GEOS -I/usr/local/include -DUSE_PROJ  -DUSE_STATS  -I/
usr/
src/postgresql-7.4.5-1/src/include   -c -o postgis_estimate.o
postgis_estimate.c

gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declaratio
ns -
g -fexceptions  -I. -DFRONTEND -DSYSCONFDIR='"/usr/local/pgsql/etc"'  -DUSE_
VERS
ION=74 -DPOSTGIS_LIB_VERSION='"0.9.0"' -DPOSTGIS_SCRIPTS_VERSION='"0.0.1"' -
I/us
r/local/include -DUSE_GEOS -I/usr/local/include -DUSE_PROJ  -DUSE_STATS  -I/
usr/
src/postgresql-7.4.5-1/src/include   -c -o postgis_geos.o postgis_geos.c
postgis_geos.c:317: warning: `resize_ptrArrayType' defined but not used
g++ -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declaratio
ns -
g -fexceptions  -I. -DFRONTEND -DSYSCONFDIR='"/usr/local/pgsql/etc"'  -DUSE_
VERS
ION=74 -DPOSTGIS_LIB_VERSION='"0.9.0"' -DPOSTGIS_SCRIPTS_VERSION='"0.0.1"' -
I/us
r/local/include -DUSE_GEOS -I/usr/local/include -DUSE_PROJ  -fPIC -I/usr/src
/pos
tgresql-7.4.5-1/src/include   -c -o postgis_geos_wrapper.o
postgis_geos_wrapper.
cpp
cc1plus: warning: "-Wmissing-declarations" is valid for C/ObjC but not for
C++
cc1plus: warning: -fPIC ignored for target (all code is position
independent)
postgis_geos_wrapper.cpp:203:5: invalid character '\206' in #if
postgis_geos_wrapper.cpp:245:5: invalid character '\206' in #if
postgis_geos_wrapper.cpp:278:5: invalid character '\206' in #if
postgis_geos_wrapper.cpp:363:5: invalid character '\206' in #if
postgis_geos_wrapper.cpp:399:5: invalid character '\206' in #if
postgis_geos_wrapper.cpp:437:5: invalid character '\206' in #if
postgis_geos_wrapper.cpp:469:5: invalid character '\206' in #if
postgis_geos_wrapper.cpp:533:5: invalid character '\206' in #if
postgis_geos_wrapper.cpp:565:5: invalid character '\206' in #if
postgis_geos_wrapper.cpp:1519:5: invalid character '\206' in #if
postgis_geos_wrapper.cpp:1535:5: invalid character '\206' in #if
make: *** [postgis_geos_wrapper.o] Error 1

Januar V. Simarmata at acer-17okrx4nec /home/ombus/postgis/postgis-0.9.0
$
***************************

Needs help from anyone to fix this problem.

Thanks,
Jan




More information about the postgis-users mailing list