[Slackbuilds-users] postgis and CGAL 4.12
Konrad J Hambrick
kjhambrick at gmail.com
Sun May 20 16:47:57 UTC 2018
All --
Slackware64 14.2 + Multilib system here...
I was holding back until I could figure it out for myself but due to the
gdal reversion I thought maybe I should let fly with my email anyway.
Anyhow I was unable to rebuild postgis with the newest gdal-2.2.4 and
CGAL-4.12 ( and a rebuilt SFCGAL-1.3.5 ).
I consistently ran into a boost issue when compiling postgis-2.4.4:
make[2]: Entering directory '/tmp/SBo/postgis-2.4.4/raster/loader'
gcc -O2 -fPIC -fPIC -DPIC -Wall -Wmissing-prototypes -I../rt_core
-I../../liblwgeom -I/usr/include -I/usr/include -c raster2pgsql.c
/bin/sh ../../libtool --mode=link gcc -O2 -fPIC -fPIC -DPIC -Wall
-Wmissing-prototypes -I../rt_core -I../../liblwgeom -I/usr/include
-I/usr/include ../rt_core/librtcore.a raster2pgsql.o ../../liblwgeom/
liblwgeom.la -L/usr/lib64 -lgdal -L/usr/lib64 -lgeos_c -lc -lm -o
raster2pgsql
libtool: link: gcc -O2 -fPIC -fPIC -DPIC -Wall -Wmissing-prototypes
-I../rt_core -I../../liblwgeom -I/usr/include -I/usr/include raster2pgsql.o
-o .libs/raster2pgsql ../rt_core/librtcore.a
../../liblwgeom/.libs/liblwgeom.so -L/usr/lib64 /usr/lib64/libgdal.so
/usr/lib64/libgeos_c.so -lc -lm -pthread
/usr/lib64/libSFCGAL.so.1: undefined reference to `typeinfo for
boost::archive::detail::basic_oserializer'
I reverted to CGAL-4.11.1 and rebuilt SFCGAL-1.3.5 and postgis-2.4.4 builds
fine and `cd /tmp/SBo/postgis-2.4.4 ; make check` passes all tests.
Looking at the CGAL-4.12 README there is a note about boost:
### Compiler Support
- The Microsoft Visual C++ 2017 version 15.3 has introduced support for
C++17, with the compilation flag `/std:c++17`. CGAL 4.12 has an initial
support for that flag: the code will compile, but a lot of deprecation
warnings will remain. Note that Boost version 1.67 is the first version
of Boost supporting `/std:c++17`.
I've got several compiler logs based on various versions of Hard and Soft (
Optional ) Dependencies for postgis-2.2.4 if that would help.
I the meantime, postgis does work with everything updated EXCEPT CGAL-4.12
...
Any ideas ?
Thanks.
-- kjh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20180520/3eb8811c/attachment.html>
More information about the SlackBuilds-users
mailing list