[postgis-users] PostGIS with Mapserver/Mapscript 4.0

Mike Leahy mgleahy at fes.uwaterloo.ca
Tue Sep 16 08:16:44 PDT 2003


Norman/All,

Sorry - I hadn't thought to look there...

Anyway...I've compiles/installed the Proj4 package (as well as the GEOS
package).  Now when I compile the PostGIS-CVS, I get the output below.  Have
I missed something else?  Sorry to keep making so many requests...

Mike

$ make
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -g -fexceptions
-I. -DFRONTEND -DSYSCONFDIR='"/etc/postgresql"'
-DUSE_VERSION=73 -I/usr/local/include/geos -DUSE_GEOS -I/usr/local/include
-DUSE_PROJ  -DUSE_STATS  -I../../src/include   -c
-o postgis_debug.o postgis_debug.c
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
postgis_debug.c: In function `lockcheck':
postgis_debug.c:231: warning: return makes integer from pointer without a
cast
postgis_debug.c:252: warning: return makes integer from pointer without a
cast
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -g -fexceptions
-I. -DFRONTEND -DSYSCONFDIR='"/etc/postgresql"'
-DUSE_VERSION=73 -I/usr/local/include/geos -DUSE_GEOS -I/usr/local/include
-DUSE_PROJ  -DUSE_STATS  -I../../src/include   -c
-o postgis_ops.o postgis_ops.c
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -g -fexceptions
-I. -DFRONTEND -DSYSCONFDIR='"/etc/postgresql"'
-DUSE_VERSION=73 -I/usr/local/include/geos -DUSE_GEOS -I/usr/local/include
-DUSE_PROJ  -DUSE_STATS  -I../../src/include   -c
-o postgis_fn.o postgis_fn.c
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -g -fexceptions
-I. -DFRONTEND -DSYSCONFDIR='"/etc/postgresql"'
-DUSE_VERSION=73 -I/usr/local/include/geos -DUSE_GEOS -I/usr/local/include
-DUSE_PROJ  -DUSE_STATS  -I../../src/include   -c
-o postgis_inout.o postgis_inout.c
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -g -fexceptions
-I. -DFRONTEND -DSYSCONFDIR='"/etc/postgresql"'
-DUSE_VERSION=73 -I/usr/local/include/geos -DUSE_GEOS -I/usr/local/include
-DUSE_PROJ  -DUSE_STATS  -I../../src/include   -c
-o postgis_proj.o postgis_proj.c
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -g -fexceptions
-I. -DFRONTEND -DSYSCONFDIR='"/etc/postgresql"'
-DUSE_VERSION=73 -I/usr/local/include/geos -DUSE_GEOS -I/usr/local/include
-DUSE_PROJ  -DUSE_STATS  -I../../src/include   -c
-o postgis_chip.o postgis_chip.c
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -g -fexceptions
-I. -DFRONTEND -DSYSCONFDIR='"/etc/postgresql"'
-DUSE_VERSION=73 -I/usr/local/include/geos -DUSE_GEOS -I/usr/local/include
-DUSE_PROJ  -DUSE_STATS  -I../../src/include   -c
-o postgis_transform.o postgis_transform.c
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -g -fexceptions
-I. -DFRONTEND -DSYSCONFDIR='"/etc/postgresql"'
-DUSE_VERSION=73 -I/usr/local/include/geos -DUSE_GEOS -I/usr/local/include
-DUSE_PROJ  -DUSE_STATS  -I../../src/include   -c
-o postgis_gist_72.o postgis_gist_72.c
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -g -fexceptions
-I. -DFRONTEND -DSYSCONFDIR='"/etc/postgresql"'
-DUSE_VERSION=73 -I/usr/local/include/geos -DUSE_GEOS -I/usr/local/include
-DUSE_PROJ  -DUSE_STATS  -I../../src/include   -c
-o postgis_estimate.o postgis_estimate.c
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -g -fexceptions
-I. -DFRONTEND -DSYSCONFDIR='"/etc/postgresql"'
-DUSE_VERSION=73 -I/usr/local/include/geos -DUSE_GEOS -I/usr/local/include
-DUSE_PROJ  -DUSE_STATS  -I../../src/include   -c
-o postgis_geos.o postgis_geos.c
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
g++ -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -g -fexceptions
-I. -DFRONTEND -DSYSCONFDIR='"/etc/postgresql"'
-DUSE_VERSION=73 -I/usr/local/include/geos -DUSE_GEOS -I/usr/local/include
-DUSE_PROJ  -I../../src/include   -c -o postgis_ge
os_wrapper.o postgis_geos_wrapper.cpp
cc1plus: warning: changing search order for system directory
"/usr/local/include"
cc1plus: warning:   as it has already been specified as a non-system
directory
dlltool --export-all --output-def postgis.def postgis_debug.o postgis_ops.o
postgis_fn.o postgis_inout.o postgis_proj.o postg
is_chip.o postgis_transform.o postgis_gist_72.o postgis_estimate.o
postgis_geos.o postgis_geos_wrapper.o
dllwrap -o postgis.dll --dllname postgis.dll --def postgis.def
postgis_debug.o postgis_ops.o postgis_fn.o postgis_inout.o pos
tgis_proj.o postgis_chip.o postgis_transform.o postgis_gist_72.o
postgis_estimate.o postgis_geos.o postgis_geos_wrapper.o ../
../src/utils/dllinit.o -L/usr/local/lib -L/usr/local/lib  -lstdc++
-L/usr/local/lib -lgeos -L/usr/local/lib -lproj -L../../sr
c/backend -lpostgres
/usr/local/lib/libgeos.a(IntersectionMatrix.o)(.data$_ZTIPN4geos24IllegalArg
umentExceptionE+0x0): In function `_ZN4geos18Inte
rsectionMatrixC2Ev':
/usr/src/geos-20030916/source/geom/IntersectionMatrix.cpp:7: undefined
reference to `vtable for __cxxabiv1::__pointer_type_in
fo'
/usr/local/lib/libgeos.a(GeometryFactory.o)(.text+0xe82): In function
`_ZN4geos15GeometryFactory13buildGeometryEPSt6vectorIPN
S_8GeometryESaIS3_EE':
/usr/include/c++/3.2/bits/basic_string.h:338: undefined reference to
`___cxa_bad_typeid'
/usr/local/lib/libgeos.a(Assert.o)(.data$_ZTIPN4geos24AssertionFailedExcepti
onE+0x0): In function `_ZStplIcSt11char_traitsIcE
SaIcEESbIT_T0_T1_ERKS6_S8_':
/usr/include/c++/3.2/bits/basic_string.h: undefined reference to `vtable for
__cxxabiv1::__pointer_type_info'
/usr/local/lib/libgeos.a(LineString.o)(.text+0x11df): In function
`_ZN4geos10LineString17isEquivalentClassEPNS_8GeometryE':
/usr/src/geos-20030916/source/geom/LineString.cpp:193: undefined reference
to `___cxa_bad_typeid'
/usr/local/lib/libgeos.a(Polygon.o)(.text+0x16af): In function
`_ZN4geos7Polygon11equalsExactEPNS_8GeometryEd':
/usr/src/geos-20030916/source/geom/Polygon.cpp:167: undefined reference to
`___cxa_bad_typeid'
/usr/local/lib/libgeos.a(GeometryCollection.o)(.text+0x962): In function
`_ZN4geos18GeometryCollection11equalsExactEPNS_8Geom
etryEd':
/usr/src/geos-20030916/source/geom/GeometryCollection.cpp:119: undefined
reference to `___cxa_bad_typeid'
/usr/local/lib/libgeos.a(Point.o)(.data$_ZTIPN4geos29UnsupportedOperationExc
eptionE+0x0): In function `_ZN4geos10CoordinateD0
Ev':
/usr/src/geos-20030916/source/geom/../headers/geom.h: undefined reference to
`vtable for __cxxabiv1::__pointer_type_info'
/usr/local/lib/libgeos.a(Geometry.o)(.text+0x3123): In function
`_ZN4geos8Geometry17isEquivalentClassEPS0_':
/usr/src/geos-20030916/source/geom/Geometry.cpp:408: undefined reference to
`___cxa_bad_typeid'
/usr/local/lib/libgeos.a(Geometry.o)(.text+0x3281): In function
`_ZN4geos8Geometry26checkNotGeometryCollectionEPS0_':
/usr/include/c++/3.2/bits/basic_string.h:187: undefined reference to
`___cxa_bad_typeid'
/usr/local/lib/libgeos.a(CentroidArea.o)(.text+0x4aa): In function
`_ZN4geos12CentroidArea3addEPNS_8GeometryE':
/usr/src/geos-20030916/source/geom/../algorithm/CentroidArea.cpp:44:
undefined reference to `___cxa_bad_typeid'
/usr/local/lib/libgeos.a(CentroidLine.o)(.text+0x278): In function
`_ZN4geos12CentroidLine3addEPNS_8GeometryE':
/usr/src/geos-20030916/source/geom/../algorithm/CentroidLine.cpp:23:
undefined reference to `___cxa_bad_typeid'
/usr/local/lib/libgeos.a(CentroidPoint.o)(.text+0x258): In function
`_ZN4geos13CentroidPoint3addEPNS_8GeometryE':
/usr/src/geos-20030916/source/geom/../algorithm/CentroidPoint.cpp:23:
undefined reference to `___cxa_bad_typeid'
/usr/local/lib/libgeos.a(GeometryGraph.o)(.text+0x153b):/usr/src/geos-200309
16/source/geom/../graph/GeometryGraph.cpp:285: mo
re undefined references to `___cxa_bad_typeid' follow
/usr/local/lib/libgeos.a(RobustLineIntersector.o)(.data$_ZTIPN4geos25NotRepr
esentableExceptionE+0x0): In function `_ZN4geos10
CoordinateD0Ev':
/usr/src/geos-20030916/source/geom/../headers/geom.h: undefined reference to
`vtable for __cxxabiv1::__pointer_type_info'
/usr/local/lib/libgeos.a(PointLocator.o)(.text+0x495): In function
`_ZN4geos12PointLocator15computeLocationERNS_10CoordinateE
PNS_8GeometryE':
/usr/src/geos-20030916/source/geom/../algorithm/PointLocator.cpp:58:
undefined reference to `___cxa_bad_typeid'
/usr/local/lib/libgeos.a(PointExtracterFilter.o)(.text+0x142): In function
`_ZN4geos20PointExtracterFilter6filterEPNS_8Geomet
ryE':
/usr/include/c++/3.2/bits/stl_vector.h:221: undefined reference to
`___cxa_bad_typeid'
/usr/local/lib/libgeos.a(LineExtracterFilter.o)(.text+0x166): In function
`_ZN4geos19LineExtracterFilter6filterEPNS_8Geometry
E':
/usr/include/c++/3.2/bits/stl_vector.h:221: undefined reference to
`___cxa_bad_typeid'
/usr/local/lib/libgeos.a(ConnectedElementPointFilter.o)(.text+0x19c): In
function `_ZN4geos27ConnectedElementPointFilter6filt
erEPNS_8GeometryE':
/usr/include/c++/3.2/bits/stl_vector.h:221: undefined reference to
`___cxa_bad_typeid'
/usr/local/lib/libgeos.a(PolygonExtracterFilter.o)(.text+0x142): In function
`_ZN4geos22PolygonExtracterFilter6filterEPNS_8Ge
ometryE':
/usr/include/c++/3.2/bits/stl_vector.h:221: undefined reference to
`___cxa_bad_typeid'
/usr/local/lib/libgeos.a(DirectedEdgeStar.o)(.data$_ZTIPN4geos17TopologyExce
ptionE+0x0): In function `_ZStplIcSt11char_traits
IcESaIcEESbIT_T0_T1_EPKS3_RKS6_':
/usr/include/c++/3.2/bits/stl_alloc.h: undefined reference to `vtable for
__cxxabiv1::__pointer_type_info'
/usr/local/lib/libgeos.a(ConnectedInteriorTester.o)(.text+0x67c): In
function `_ZN4geos23ConnectedInteriorTester19visitShellI
nteriorsEPNS_8GeometryEPNS_11PlanarGraphE':
/usr/src/geos-20030916/source/geom/../operation/valid/ConnectedInteriorTeste
r.cpp:95: undefined reference to `___cxa_bad_type
id'
/usr/local/lib/libgeos.a(GeometryCollectionIterator.o)(.text+0x3c5): In
function `_ZN4geos26GeometryCollectionIterator4nextEv
':
/usr/include/c++/3.2/bits/stl_alloc.h:633: undefined reference to
`___cxa_bad_typeid'
/usr/local/lib/libgeos.a(SimplePointInAreaLocator.o)(.text+0x172): In
function `_ZN4geos24SimplePointInAreaLocator13containsP
ointERNS_10CoordinateEPNS_8GeometryE':
/usr/src/geos-20030916/source/geom/../algorithm/SimplePointInAreaLocator.cpp
:33: undefined reference to `___cxa_bad_typeid'
collect2: ld returned 1 exit status
dllwrap: gcc exited with status 1
make: *** [libpostgis.a] Error 1


-----Original Message-----
From: postgis-users-bounces at postgis.refractions.net
[mailto:postgis-users-bounces at postgis.refractions.net] On Behalf Of Norman
Vine
Sent: September 16, 2003 9:22 AM
To: PostGIS Users Discussion
Subject: RE: [postgis-users] PostGIS with Mapserver/Mapscript 4.0

Mike Leahy writes:
> 
> How exactly should I go about 
> installing Proj in Cygwin - is there anything specific I should do, or do
I 
> just un-tar the file, run make, then make install?  That's really little
more 
> than a guess on my part.  I don't see anyging on the RS web page that 
> explicitly says what to do with the tar file, and I'm clearly a newbie
when it 
> comes to this kind of stuff...

Umm.. err... maybe the 'README' file in the Proj distribution would help.

Norman

_______________________________________________
postgis-users mailing list
postgis-users at postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users




More information about the postgis-users mailing list