[pgrouting-users] Build Failure of 2.5.1 on Ubuntu 16.04 (Docker)

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[pgrouting-users] Build Failure of 2.5.1 on Ubuntu 16.04 (Docker)

Andrew Joseph-2
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
[hidden email]
https://lists.osgeo.org/mailman/listinfo/pgrouting-users
Reply | Threaded
Open this post in threaded view
|

Re: [pgrouting-users] Build Failure of 2.5.1 on Ubuntu 16.04 (Docker)

dkastl
Hi Andrew,

Have you installed all the 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 <[hidden email]> 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
[hidden email]
https://lists.osgeo.org/mailman/listinfo/pgrouting-users



--
Georepublic UG & Georepublic Japan
eMail: [hidden email]
Web: https://georepublic.info




_______________________________________________
Pgrouting-users mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/pgrouting-users
Reply | Threaded
Open this post in threaded view
|

Re: [pgrouting-users] Build Failure of 2.5.1 on Ubuntu 16.04 (Docker)

Vicky Vergara-2
In reply to this post by Andrew Joseph-2
Hello Andrew,

I think its the same issue as here,
Can you try the solutions I posted and give me feedback, so that I can make a patch


Vicky


On Thu, Nov 9, 2017 at 8:20 PM, Andrew Joseph <[hidden email]> 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
[hidden email]
https://lists.osgeo.org/mailman/listinfo/pgrouting-users



--
Georepublic UG (haftungsbeschränkt)
Salzmannstraße 44, 
81739 München, Germany

Vicky Vergara
Operations Research

eMail: vicky@georepublic.de
Web: https://georepublic.info

Tel: +49 (089) 4161 7698-1
Fax: +49 (089) 4161 7698-9

Commercial register: Amtsgericht München, HRB 181428
CEO: Daniel Kastl


_______________________________________________
Pgrouting-users mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/pgrouting-users