[postgis-devel] Issue 142 in postgis: 1.4 snapshot build is broken
codesite-noreply at google.com
codesite-noreply at google.com
Tue Mar 24 07:47:12 PDT 2009
Comment #11 on issue 142 by robe.... at cityofboston.gov: 1.4 snapshot build
is broken
http://code.google.com/p/postgis/issues/detail?id=142
I'm not sure if this has anything to these changes, but I can no longer
compile under
mingw. The .configure works okay and now gives me pretty details about
what is being
used just like the old 1.3 does, but make throws all these errors. It
could very
well be because before I was testing under 8.3 and I recently switched to
testing 8.2
(so perhaps I have a mixed up install somewhere). Anyrate this is the
noise I am
getting under mingw.
I even reloaded my svn trunk from scratch from osgeo.org new location to
rule that
out as an issue.
$ ./configure --includedir=/usr/local/include
--with-pgconfig=/usr/local/pgsql/bin/pg_config --libdir=/usr/local/lib
--with-projdir=/usr/local
Using user-specified proj directory: /usr/local
checking proj_api.h usability... yes
checking proj_api.h presence... yes
checking for proj_api.h... yes
checking for pj_get_release in -lproj... yes
configure: creating ./config.status
config.status: creating liblwgeom/Makefile
config.status: creating liblwgeom/cunit/Makefile
config.status: creating postgis/Makefile
config.status: creating postgis/sqldefines.h
config.status: creating loader/Makefile
config.status: creating topology/Makefile
config.status: creating regress/Makefile
config.status: creating doc/Makefile
config.status: creating postgis_config.h
PostGIS is now configured for i686-pc-mingw32
-------------- Compiler Info -------------
C compiler: gcc -g -O2
C++ compiler: g++ -g -O2
-------------- Dependencies --------------
GEOS config: /usr/local/bin/geos-config
GEOS version: 3.1
PostgreSQL config: /usr/local/pgsql/bin/pg_config
PostgreSQL version: 8.2
PROJ4 version: 46
PostGIS debug level: 0
$ make
make -C liblwgeom
make[1]: Entering directory `/D/SVNProjects/Postgis/trunknew/liblwgeom'
gcc -g -O2 -DDLL_EXPORT -DPIC -c -o measures.o measures.c
gcc -g -O2 -DDLL_EXPORT -DPIC -c -o box2d.o box2d.c
gcc -g -O2 -DDLL_EXPORT -DPIC -c -o ptarray.o ptarray.c
gcc -g -O2 -DDLL_EXPORT -DPIC -c -o lwgeom_api.o lwgeom_api.c
gcc -g -O2 -DDLL_EXPORT -DPIC -c -o lwgeom.o lwgeom.c
gcc -g -O2 -DDLL_EXPORT -DPIC -c -o lwpoint.o lwpoint.c
gcc -g -O2 -DDLL_EXPORT -DPIC -c -o lwline.o lwline.c
gcc -g -O2 -DDLL_EXPORT -DPIC -c -o lwpoly.o lwpoly.c
gcc -g -O2 -DDLL_EXPORT -DPIC -c -o lwmpoint.o lwmpoint.c
gcc -g -O2 -DDLL_EXPORT -DPIC -c -o lwmline.o lwmline.c
gcc -g -O2 -DDLL_EXPORT -DPIC -c -o lwmpoly.o lwmpoly.c
gcc -g -O2 -DDLL_EXPORT -DPIC -c -o lwcollection.o lwcollection.c
gcc -g -O2 -DDLL_EXPORT -DPIC -c -o lwcircstring.o lwcircstring.c
gcc -g -O2 -DDLL_EXPORT -DPIC -c -o lwcompound.o lwcompound.c
gcc -g -O2 -DDLL_EXPORT -DPIC -c -o lwcurvepoly.o lwcurvepoly.c
gcc -g -O2 -DDLL_EXPORT -DPIC -c -o lwmcurve.o lwmcurve.c
gcc -g -O2 -DDLL_EXPORT -DPIC -c -o lwmsurface.o lwmsurface.c
gcc -g -O2 -DDLL_EXPORT -DPIC -c -o lwutil.o lwutil.c
gcc -g -O2 -DDLL_EXPORT -DPIC -c -o lwalgorithm.o lwalgorithm.c
gcc -g -O2 -DDLL_EXPORT -DPIC -c -o lwgunparse.o lwgunparse.c
gcc -g -O2 -DDLL_EXPORT -DPIC -c -o lwgparse.o lwgparse.c
gcc -g -O2 -DDLL_EXPORT -DPIC -c -o lwsegmentize.o lwsegmentize.c
gcc -g -O2 -DDLL_EXPORT -DPIC -c -o wktparse.tab.o wktparse.tab.c
gcc -g -O2 -DDLL_EXPORT -DPIC -c -o lex.yy.o lex.yy.c
gcc -g -O2 -DDLL_EXPORT -DPIC -c -o vsprintf.o vsprintf.c
ar rs liblwgeom.a measures.o box2d.o ptarray.o lwgeom_api.o lwgeom.o
lwpoint.o
lwline.o lwpoly.o lwmpoint.o lwmline.o lwmpoly.o lwcollection.o
lwcircstring.o
lwcompound.o lwcurvepoly.o lwmcurve.o lwmsurface.o lwutil.o lwalgorithm.o
lwgunparse.o lwgparse.o lwsegmentize.o wktparse.tab.o lex.yy.o vsprintf.o
C:\MinGW\bin\ar.exe: creating liblwgeom.a
make[1]: Leaving directory `/D/SVNProjects/Postgis/trunknew/liblwgeom'
make -C postgis
make[1]: pg_config: Command not found
make[1]: Entering directory `/D/SVNProjects/Postgis/trunknew/postgis'
make[1]: pg_config: Command not found
make[1]: pg_config: Command not found
make[1]: pg_config: Command not found
make[1]: pg_config: Command not found
make[1]: pg_config: Command not found
gcc -E -traditional-cpp postgis.sql.in.c | grep -v '^#' > postgis.sql.in
sed 's,MODULE_PATHNAME,$libdir/postgis-1.4,g' postgis.sql.in >postgis.sql
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline
-Wdeclaration-after-
statement
-Wendif-labels -fno-strict-aliasing -fwrapv -I/usr/local/include -I/u
sr/local/include
-I../liblwgeom -I. -I/server -I/internal -I./src/include/port/w
in32 -DEXEC_BACKEND
"-IC:/msys/1.0/local/pgsql/lib/pgxs/src/MAKEFI~1/../../src/
include/port/win32"
-I/server/port/win32 -c -o lwgeom_pg.o lwgeom_pg.c
lwgeom_pg.c:1:22: postgres.h: No such file or directory
lwgeom_pg.c:2:18: fmgr.h: No such file or directory
lwgeom_pg.c:3:26: executor/spi.h: No such file or directory
In file included from lwgeom_pg.c:7:
lwgeom_pg.h:5:29: utils/geo_decls.h: No such file or directory
In file included from lwgeom_pg.c:7:
lwgeom_pg.h:83: error: syntax error before "getGeometryOID"
lwgeom_pg.h:83: warning: type defaults to `int' in declaration of
`getGeometryOI
D'
lwgeom_pg.h:83: warning: data definition has no type or storage class
lwgeom_pg.h:87: error: syntax error before '*' token
lwgeom_pg.h:88: error: syntax error before "BOX"
lwgeom_pg.h:91: error: syntax error before "BOX2D_same"
lwgeom_pg.h:91: warning: type defaults to `int' in declaration of
`BOX2D_same'
lwgeom_pg.h:91: warning: parameter names (without types) in function
declaration
lwgeom_pg.h:91: warning: data definition has no type or storage class
lwgeom_pg.h:92: error: syntax error before "BOX2D_overlap"
lwgeom_pg.h:92: warning: type defaults to `int' in declaration of
`BOX2D_overlap
'
lwgeom_pg.h:92: warning: parameter names (without types) in function
declaration
lwgeom_pg.h:92: warning: data definition has no type or storage class
lwgeom_pg.h:93: error: syntax error before "BOX2D_overleft"
lwgeom_pg.h:93: warning: type defaults to `int' in declaration of
`BOX2D_overlef
t'
lwgeom_pg.h:93: warning: parameter names (without types) in function
declaration
lwgeom_pg.h:93: warning: data definition has no type or storage class
lwgeom_pg.h:94: error: syntax error before "BOX2D_left"
lwgeom_pg.h:94: warning: type defaults to `int' in declaration of
`BOX2D_left'
lwgeom_pg.h:94: warning: parameter names (without types) in function
declaration
lwgeom_pg.h:94: warning: data definition has no type or storage class
lwgeom_pg.h:95: error: syntax error before "BOX2D_right"
lwgeom_pg.h:95: warning: type defaults to `int' in declaration of
`BOX2D_right'
lwgeom_pg.h:95: warning: parameter names (without types) in function
declaration
lwgeom_pg.h:95: warning: data definition has no type or storage class
lwgeom_pg.h:96: error: syntax error before "BOX2D_overright"
lwgeom_pg.h:96: warning: type defaults to `int' in declaration of
`BOX2D_overrig
ht'
lwgeom_pg.h:96: warning: parameter names (without types) in function
declaration
lwgeom_pg.h:96: warning: data definition has no type or storage class
lwgeom_pg.h:97: error: syntax error before "BOX2D_overbelow"
lwgeom_pg.h:97: warning: type defaults to `int' in declaration of
`BOX2D_overbel
ow'
lwgeom_pg.h:97: warning: parameter names (without types) in function
declaration
lwgeom_pg.h:97: warning: data definition has no type or storage class
lwgeom_pg.h:98: error: syntax error before "BOX2D_below"
lwgeom_pg.h:98: warning: type defaults to `int' in declaration of
`BOX2D_below'
lwgeom_pg.h:98: warning: parameter names (without types) in function
declaration
lwgeom_pg.h:98: warning: data definition has no type or storage class
lwgeom_pg.h:99: error: syntax error before "BOX2D_above"
lwgeom_pg.h:99: warning: type defaults to `int' in declaration of
`BOX2D_above'
lwgeom_pg.h:99: warning: parameter names (without types) in function
declaration
lwgeom_pg.h:99: warning: data definition has no type or storage class
lwgeom_pg.h:100: error: syntax error before "BOX2D_overabove"
lwgeom_pg.h:100: warning: data definition has no type or storage class
lwgeom_pg.h:101: error: syntax error before "BOX2D_contained"
lwgeom_pg.h:101: warning: type defaults to `int' in declaration of
`BOX2D_contai
ned'
lwgeom_pg.h:101: warning: parameter names (without types) in function
declaratio
n
lwgeom_pg.h:101: warning: data definition has no type or storage class
lwgeom_pg.h:102: error: syntax error before "BOX2D_contain"
lwgeom_pg.h:102: warning: type defaults to `int' in declaration of
`BOX2D_contai
n'
lwgeom_pg.h:102: warning: parameter names (without types) in function
declaratio
n
lwgeom_pg.h:102: warning: data definition has no type or storage class
lwgeom_pg.h:103: error: syntax error before "BOX2D_intersects"
lwgeom_pg.h:103: warning: type defaults to `int' in declaration of
`BOX2D_inters
ects'
lwgeom_pg.h:103: warning: parameter names (without types) in function
declaratio
n
lwgeom_pg.h:103: warning: data definition has no type or storage class
lwgeom_pg.h:104: error: syntax error before "BOX2D_union"
lwgeom_pg.h:104: warning: type defaults to `int' in declaration of
`BOX2D_union'
lwgeom_pg.h:104: warning: parameter names (without types) in function
declaratio
n
lwgeom_pg.h:104: warning: data definition has no type or storage class
lwgeom_pg.h:106: error: syntax error before "LWGEOM_same"
lwgeom_pg.h:106: warning: type defaults to `int' in declaration of
`LWGEOM_same'
lwgeom_pg.h:106: warning: parameter names (without types) in function
declaratio
n
lwgeom_pg.h:106: warning: data definition has no type or storage class
lwgeom_pg.h:107: error: syntax error before "BOX3D_construct"
lwgeom_pg.h:107: warning: type defaults to `int' in declaration of
`BOX3D_constr
uct'
lwgeom_pg.h:107: warning: parameter names (without types) in function
declaratio
n
lwgeom_pg.h:107: warning: data definition has no type or storage class
lwgeom_pg.h:108: error: syntax error before "BOX2DFLOAT4_ymin"
lwgeom_pg.h:108: warning: type defaults to `int' in declaration of
`BOX2DFLOAT4_
ymin'
lwgeom_pg.h:108: warning: parameter names (without types) in function
declaratio
n
lwgeom_pg.h:108: warning: data definition has no type or storage class
lwgeom_pg.h:110: error: syntax error before "LWGEOM_force_2d"
lwgeom_pg.h:110: warning: type defaults to `int' in declaration of
`LWGEOM_force
_2d'
lwgeom_pg.h:110: warning: parameter names (without types) in function
declaratio
n
lwgeom_pg.h:110: warning: data definition has no type or storage class
lwgeom_pg.h:111: error: syntax error before "LWGEOM_force_3dm"
lwgeom_pg.h:111: warning: type defaults to `int' in declaration of
`LWGEOM_force
_3dm'
lwgeom_pg.h:111: warning: parameter names (without types) in function
declaratio
n
lwgeom_pg.h:111: warning: data definition has no type or storage class
lwgeom_pg.h:112: error: syntax error before "LWGEOM_force_3dz"
lwgeom_pg.h:112: warning: type defaults to `int' in declaration of
`LWGEOM_force
_3dz'
lwgeom_pg.h:112: warning: parameter names (without types) in function
declaratio
n
lwgeom_pg.h:112: warning: data definition has no type or storage class
When I run my /usr/local/pgsql/bin/pg_config
it outputs
$ /usr/local/pgsql/bin/pg_config
BINDIR = C:/msys/1.0/local/pgsql/bin
DOCDIR = C:/msys/1.0/local/pgsql/doc
INCLUDEDIR = C:/msys/1.0/local/pgsql/include
PKGINCLUDEDIR = C:/msys/1.0/local/pgsql/include
INCLUDEDIR-SERVER = C:/msys/1.0/local/pgsql/include/server
LIBDIR = C:/msys/1.0/local/pgsql/lib
PKGLIBDIR = C:/msys/1.0/local/pgsql/lib
LOCALEDIR =
MANDIR = C:/msys/1.0/local/pgsql/man
SHAREDIR = C:/msys/1.0/local/pgsql/share
SYSCONFDIR = C:/msys/1.0/local/pgsql/etc
PGXS = C:/msys/1.0/local/pgsql/lib/pgxs/src/MAKEFI~1/pgxs.mk
CONFIGURE = '--without-zlib'
CC = gcc
CPPFLAGS = -I./src/include/port/win32 -DEXEC_BACKEND
-I../../../src/include/port/win32
CFLAGS = -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline
-Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv
CFLAGS_SL =
LDFLAGS = -Wl,--allow-multiple-definition
LDFLAGS_SL =
LIBS = -lpgport -lm -lws2_32 -lshfolder
VERSION = PostgreSQL 8.2.13
if someone else using MingW could check this out, that would be appreciated.
As a side note, works okay on the OpenSUSE box I tested. That one is
running 8.3 though.
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
More information about the postgis-devel
mailing list