I forgot about that new one, it didn't make it into my notes.
edit edge_visitors.hpp and delete the line that includes is_same.hpp. it's not really used anyways.
On Oct 11, 2011, at 4:50 AM, Gis Mage wrote:
Hi again!
Thanks for the tip. I've changed all includes with /boost in that
files to absolute paths like
/opt/local/include/boost
And now I get a different error:
$ make
Scanning dependencies of target routing
[ 16%] 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:61:
error: /opt/local/include/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
Looks like the problem is with the is_same.hpp file.
When I type:
$ locate is_same.hpp
/opt/local/include/boost/type_traits/is_same.hpp
What else do I need to change?
2011/10/10 William Kyngesburye <woklist@kyngchaos.com>:
Looks like a known issue with recents versions of Boost, some headers were moved.
Edit 3 pgrouting files and change an #include in them:
core/src/shooting_star_boost_wrapper.cpp:
#include <boost/property_map/vector_property_map.hpp>
core/src/edge_visitors.hpp, shooting_star_relax.hpp:
#include <boost/property_map/property_map.hpp>
On Oct 10, 2011, at 4:50 AM, Gis Mage wrote:
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.
_______________________________________________
Pgrouting-users mailing list
Pgrouting-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/pgrouting-users
-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/
The equator is so long, it could encircle the earth completely once.
_______________________________________________
Pgrouting-users mailing list
Pgrouting-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/pgrouting-users
-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/
"We are at war with them. Neither in hatred nor revenge and with no particular pleasure I shall kill every ___ I can until the war is over. That is my duty."
"Don't you even hate 'em?"
"What good would it do if I did? If all the many millions of people of the allied nations devoted an entire year exclusively to hating the ____ it wouldn't kill one ___ nor shorten the war one day."
<Ha, ha> "And it might give 'em all stomach ulcers."
- Tarzan, on war