[pgrouting-users] Build Failure of 2.5.1 on Ubuntu 16.04 (Docker)
Daniel Kastl
daniel at georepublic.de
Thu Nov 9 19:10:34 PST 2017
Hi Andrew,
Have you installed all the dependencies?
http://docs.pgrouting.org/2.5/en/pgRouting-installation.html#dependencies
Ubuntu and Debian are well tested and packages are built and released very
soon after a new pgRouting release usually.
If you want to compile yourself, please make sure you have the following
dev libraries installed:
- postgresql-server-dev-all
- libboost-graph-dev
- libcgal-dev
Best regards,
Daniel
On Fri, Nov 10, 2017 at 11:20 AM, Andrew Joseph <ap.joseph1337 at gmail.com>
wrote:
> Getting the following error building PG Routing 2.5.1 on Ubuntu 16.04
>
> [ 49%] Building C object src/alpha_shape/src/CMakeFiles/alpha_shape.dir/
> alpha.c.o
> /tmp/pgrouting/src/alpha_shape/src/alpha.c: In function ‘alphashape’:
> /tmp/pgrouting/src/alpha_shape/src/alpha.c:287:16: error: ‘DBL_MAX’
> undeclared (first use in this function)
> if (x == DBL_MAX && y == DBL_MAX) {
> ^
> /tmp/pgrouting/src/alpha_shape/src/alpha.c:287:16: note: each undeclared
> identifier is reported only once for each function it appears in
> src/alpha_shape/src/CMakeFiles/alpha_shape.dir/build.make:62: recipe for
> target 'src/alpha_shape/src/CMakeFiles/alpha_shape.dir/alpha.c.o' failed
> make[2]: *** [src/alpha_shape/src/CMakeFiles/alpha_shape.dir/alpha.c.o]
> Error 1
> make[1]: *** [src/alpha_shape/src/CMakeFiles/alpha_shape.dir/all] Error 2
> CMakeFiles/Makefile2:555: recipe for target 'src/alpha_shape/src/
> CMakeFiles/alpha_shape.dir/all' failed
> Makefile:127: recipe for target 'all' failed
> make: *** [all] Error 2
>
>
> _______________________________________________
> Pgrouting-users mailing list
> Pgrouting-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/pgrouting-users
>
--
Georepublic UG & Georepublic Japan
eMail: daniel.kastl at georepublic.de
Web: https://georepublic.info
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pgrouting-users/attachments/20171110/cee9b46e/attachment.html>
More information about the Pgrouting-users
mailing list