Opened 9 years ago

Closed 9 years ago

#3182 closed defect (fixed)

update docs and configure to reflect SFCGAL 1.1+ is required to build with SFCGAL

Reported by: robe Owned by: colivier
Priority: blocker Milestone: PostGIS 2.2.0
Component: sfcgal Version: master
Keywords: Cc:

Description

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

Attachments (2)

issue_3182.patch (2.7 KB ) - added by vmo 9 years ago.
issue_3182.2.patch (2.0 KB ) - added by vmo 9 years ago.
This one is for the already released SFCGAL 1.1

Download all attachments as: .zip

Change History (9)

by vmo, 9 years ago

Attachment: issue_3182.patch added

comment:1 by vmo, 9 years ago

Thanks for the report, I'll edit SCGAL home page too.

comment:2 by vmo, 9 years ago

… and actually release SFCGAL 1.2.0

comment:3 by vmo, 9 years ago

Hold on, changing the patch to 1.1 first.

by vmo, 9 years ago

Attachment: issue_3182.2.patch added

This one is for the already released SFCGAL 1.1

comment:4 by vmo, 9 years ago

With the second patch you're good to go with SFCGAL 1.1

SFCGAL 1.2 comming soon.

comment:5 by robe, 9 years ago

Committed at r13714. I'll close once I retest (after I have sfcgal updated to newer)

comment:6 by robe, 9 years ago

confirmed configure change traps lower now. Get this from winnie now. I'll check again after I upgrade sfcgal:

configure: error: PostGIS requires SFCGAL >= 1.1.0 (found 1.0.5)

comment:7 by robe, 9 years ago

Resolution: fixed
Status: newclosed

upgrade winnie to sfcgal 1.1.0 and works fine now, all regresss pass so closing.

Note: See TracTickets for help on using tickets.