[postgis-tickets] [PostGIS] #3182: update docs and configure to reflect SFCGAL 1.1+ is required to build with SFCGAL

PostGIS trac at osgeo.org
Thu Jun 25 21:21:58 PDT 2015


#3182: update docs and configure to reflect SFCGAL 1.1+ is required to build with
SFCGAL
---------------------+---------------------------
 Reporter:  robe     |      Owner:  colivier
     Type:  defect   |     Status:  new
 Priority:  blocker  |  Milestone:  PostGIS 2.2.0
Component:  sfcgal   |    Version:  trunk
 Keywords:           |
---------------------+---------------------------
 Guys,

 I'm assuming this is an intentional break, and I'm fine with that, but
 configure has got to be fixed and so are the docs.

 After the latest winds of changes to sfcgal (I'm assuming this one in
 particular #3117 ) , I now get this error on winnie.  I'm going to update
 her SFCGAL, but so others don't scratch their heads in plane, please
 update configure and docs to reflect the change:
 http://postgis.net/docs/manual-
 dev/postgis_installation.html#install_short_version


 {{{
 gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-
 statement -Wendif-labels -Wmissing-format-attribute -Wformat-security
 -fno-strict-aliasing -fwrapv -fexcess-precision=standard -g -O2   -shared
 -static-libgcc -o postgis-2.2.dll  postgis_module.o  lwgeom_accum.o
 lwgeom_spheroid.o  lwgeom_ogc.o  lwgeom_functions_analytic.o
 lwgeom_inout.o  lwgeom_functions_basic.o  lwgeom_btree.o  lwgeom_box.o
 lwgeom_box3d.o  lwgeom_geos.o lwgeom_sfcgal.o  lwgeom_backend_api.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_in_geohash.o
 lwgeom_in_geojson.o  lwgeom_in_encoded_polyline.o  lwgeom_triggers.o
 lwgeom_dump.o  lwgeom_dumppoints.o  lwgeom_functions_lrs.o
 lwgeom_functions_temporal.o  long_xact.o  lwgeom_sqlmm.o  lwgeom_rtree.o
 lwgeom_transform.o  gserialized_typmod.o  gserialized_gist_2d.o
 gserialized_gist_nd.o  gserialized_estimate.o  geography_inout.o
 geography_btree.o  geography_measurement.o  geography_measurement_trees.o
 geometry_inout.o -Le:/jenkins/postgresql/rel/pg9.4w64gcc48/lib -Wl
 ,--allow-multiple-definition -Wl,--disable-auto-import -L/projects/libxml
 /rel-libxml2-2.7.8w64gcc48/lib  -Wl,--as-needed
 ../libpgcommon/libpgcommon.a ../liblwgeom/.libs/liblwgeom.a
 -L/projects/geos/rel-3.5.0devw64gcc48/lib
 -L/projects/proj/rel-4.9.1w64gcc48/lib -lgeos_c -lproj
 -L/projects/json-c/rel-0.12w64gcc48/lib -ljson-c -L/projects/libxml/rel-
 libxml2-2.7.8w64gcc48/lib -lxml2 -lws2_32 -L/projects/CGAL/rel-
 sfcgal-1.0.5w64gcc48/lib -lSFCGAL  -L/projects/CGAL/rel-
 sfcgal-1.0.5w64gcc48/lib -lSFCGAL
 -Le:/jenkins/postgresql/rel/pg9.4w64gcc48/lib -lpostgres -lpgcommon
 -lpgport -lxml2 -lwsock32 -lm  -lws2_32 -Wl,--export-all-symbols -Wl
 ,--out-implib=libpostgis-2.2.a
 lwgeom_sfcgal.o: In function `sfcgal_difference':
 e:\jenkins\postgis\branches\2.2\postgis/lwgeom_sfcgal.c:534: undefined
 reference to `sfcgal_geometry_difference'
 lwgeom_sfcgal.o: In function `sfcgal_difference3D':
 e:\jenkins\postgis\branches\2.2\postgis/lwgeom_sfcgal.c:563: undefined
 reference to `sfcgal_geometry_difference_3d'
 lwgeom_sfcgal.o: In function `sfcgal_union':
 e:\jenkins\postgis\branches\2.2\postgis/lwgeom_sfcgal.c:591: undefined
 reference to `sfcgal_geometry_union'
 lwgeom_sfcgal.o: In function `sfcgal_union3D':
 e:\jenkins\postgis\branches\2.2\postgis/lwgeom_sfcgal.c:620: undefined
 reference to `sfcgal_geometry_union_3d'
 lwgeom_sfcgal.o: In function `sfcgal_volume':
 e:\jenkins\postgis\branches\2.2\postgis/lwgeom_sfcgal.c:642: undefined
 reference to `sfcgal_geometry_volume'
 collect2.exe: error: ld returned 1 exit status
 e:/jenkins/postgresql/rel/pg9.4w64gcc48/lib/pgxs/src/makefiles/../../src/Makefile.shlib:391:
 recipe for target `postgis-2.2.dll' failed
 make[1]: *** [postgis-2.2.dll] Error 1
 make[1]: Leaving directory `/projects/postgis/branches/2.2/postgis'
 GNUmakefile:14: recipe for target `all' failed
 make: *** [all] Error 1
 }}}

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3182>
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-tickets mailing list