Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I'm trying to install the pgrouting library but have hit a bit of a problem whilst installing. It's probably something I've done (I'm quite new to Linux so struggling to understand the error message). Has anyone seen this before or have any ideas of how to resolve it?

[root@localhost pgrouting]# git clone git://github.com/pgRouting/pgrouting.git pgrouting

[root@localhost pgrouting]# cd pgrouting

[root@localhost pgrouting]# sudo /root/cmake-2.8.3-Linux-i386/bin/cmake .

[root@localhost pgrouting]# make install

[ 16%] Building CXX object core/src/CMakeFiles/routing.dir/shooting_star_boost_wrapper.o /root/pgrouting/core/src/shooting_star_boost_wrapper.cpp:26:54: error: boost/property_map/vector_property_map.hpp: No such file or directory In file included from /root/pgrouting/core/src/shooting_star_search.hpp:22, from /root/pgrouting/core/src/shooting_star_boost_wrapper.cpp:27: /root/pgrouting/core/src/shooting_star_relax.hpp:18:47: error: boost/property_map/property_map.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

I followed the instructions given at http://www.pgrouting.org/docs/1.x/install_centos.html and I'm installing on CentOS 5.5.

share|improve this question
1  
Also try submitting this to the mailing list. the response time on it is usually very fast –  dassouki Jan 24 '11 at 16:08
    
Great idea, I'll give that a shot. –  RichW Jan 24 '11 at 16:11

2 Answers 2

up vote 4 down vote accepted

A quick way to get up and running is to simply install the OSGeo Live DVD, which already has pgRouting pre-installed and configured. I set it up as a virtual machine using either VMWare Player or VirtualBox, both free to use.

share|improve this answer
    
Oh wow, wish I had known about this before, spent the last 5 days failing to get everything up and running! I'll download this now and give it a shot. –  RichW Jan 26 '11 at 9:09

Hallo

It looks like you need Boost libraries. Probably you have not installed boost dev files.

HTH

Nicklas

share|improve this answer
    
Hi Nicklas, I actually had both Boost and Boost-devel installed.. however it wasn't the latest version and it wasn't available via yum. I tried compiling it manually but it still picked up the old version even though that was uninstalled. I've given up and am gonna try OSGeo! –  RichW Jan 26 '11 at 9:08

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.