[pgrouting-users] How to install pgRouting on Mac OSX 10.7 with PostgreSQL 9.0

Gis Mage gismage at gmail.com
Mon Oct 10 05:50:20 EDT 2011


Hi, list!

I have a OSX Lion 10.7 computer with PostgreSQL 9.0, installed from MacPorts.
I'm trying to install pgRouting on top.

MacPorts version of pgRouting is outdated and is available only for
postgresql 8.2/8.3.
Homebrew command
"brew install pgrouting"
returns "Error: No available formula for pgrouting"

When trying to compile from source, as described here:
http://dirkraffel.com/2011/07/06/pgrouting-on-mac-os-x-10-6-8/

make command returns an error:

make
[100%] Building CXX object
core/src/CMakeFiles/routing.dir/shooting_star_boost_wrapper.o
In file included from
/opt/distr/pgrouting/lastsrc/pgRouting-pgrouting-a0c6c18/core/src/shooting_star_search.hpp:28,
                 from
/opt/distr/pgrouting/lastsrc/pgRouting-pgrouting-a0c6c18/core/src/shooting_star_boost_wrapper.cpp:27:
/opt/distr/pgrouting/lastsrc/pgRouting-pgrouting-a0c6c18/core/src/edge_visitors.hpp:9:42:
error: boost/graph/detail/is_same.hpp: No such file or directory
make[2]: *** [core/src/CMakeFiles/routing.dir/shooting_star_boost_wrapper.o]
Error 1
make[1]: *** [core/src/CMakeFiles/routing.dir/all] Error 2
make: *** [all] Error 2

Can anyone help me out with that? I really need to install it on my environment.


More information about the Pgrouting-users mailing list