[postgis-devel] [PostGIS] #1158: Can't compile under Windows mingw
PostGIS
trac at osgeo.org
Mon Aug 15 04:58:18 PDT 2011
#1158: Can't compile under Windows mingw
---------------------+------------------------------------------------------
Reporter: robe | Owner: strk
Type: defect | Status: new
Priority: blocker | Milestone: PostGIS 2.0.0
Component: postgis | Version: trunk
Keywords: |
---------------------+------------------------------------------------------
Comment(by strk):
@robe, to test if library order _is_ the problem with your 8.4, you could
try running manually these, under the postgis/ directory:
Failing one (original call):
{{{
dllwrap -o postgis-2.0.dll --dllname postgis-2.0.dll --def
libpostgis-2.0dll.def lwgeom_debug.o lwgeom_accum.o lwgeom_spheroid.o
lwgeom_ogc.o lwgeom_functions_analytic.o lwgeom_inout.o lwgeom_estimate.o
lwgeom_functions_basic.o lwgeom_gist.o lwgeom_btree.o lwgeom_box.o
lwgeom_box3d.o lwgeom_box2dfloat4.o lwgeom_geos.o lwgeom_geos_prepared.o
lwgeom_geos_clean.o lwgeom_geos_relatematch.o lwgeom_export.o
lwgeom_in_gml.o lwgeom_in_kml.o lwgeom_triggers.o lwgeom_dump.o
lwgeom_functions_lrs.o long_xact.o lwgeom_sqlmm.o lwgeom_rtree.o
geography_inout.o gserialized_gist.o gserialized_typmod.o
gserialized_gist_2d.o gserialized_gist_nd.o geography_btree.o
geography_estimate.o geography_measurement.o geometry_gist_selectivity.o
-Lc:/projects/pg/pg84/lib -lpostgres -L/c/projects/geos/rel-3.3.1SVN/lib
-L/c/projects/proj/rel-4.6.1/lib
-L/c/projects/libxml/libxml2-2.7.8release/lib -Lc:/projects/pg/pg84/lib
../libpgcommon/libpgcommon.a ../liblwgeom/.libs/liblwgeom.a -lgeos_c
-lproj -lxml2 -liconv -lws2_32
}}}
Hopefully working one:
{{{
dllwrap -o postgis-2.0.dll --dllname postgis-2.0.dll --def
libpostgis-2.0dll.def lwgeom_debug.o lwgeom_accum.o lwgeom_spheroid.o
lwgeom_ogc.o lwgeom_functions_analytic.o lwgeom_inout.o lwgeom_estimate.o
lwgeom_functions_basic.o lwgeom_gist.o lwgeom_btree.o lwgeom_box.o
lwgeom_box3d.o lwgeom_box2dfloat4.o lwgeom_geos.o lwgeom_geos_prepared.o
lwgeom_geos_clean.o lwgeom_geos_relatematch.o lwgeom_export.o
lwgeom_in_gml.o lwgeom_in_kml.o lwgeom_triggers.o lwgeom_dump.o
lwgeom_functions_lrs.o long_xact.o lwgeom_sqlmm.o lwgeom_rtree.o
geography_inout.o gserialized_gist.o gserialized_typmod.o
gserialized_gist_2d.o gserialized_gist_nd.o geography_btree.o
geography_estimate.o geography_measurement.o geometry_gist_selectivity.o
../libpgcommon/libpgcommon.a ../liblwgeom/.libs/liblwgeom.a
-Lc:/projects/pg/pg84/lib -lpostgres -L/c/projects/geos/rel-3.3.1SVN/lib
-L/c/projects/proj/rel-4.6.1/lib
-L/c/projects/libxml/libxml2-2.7.8release/lib -Lc:/projects/pg/pg84/lib
-lgeos_c -lproj -lxml2 -liconv -lws2_32
}}}
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/1158#comment:21>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-devel
mailing list