Have you tried this?<div><meta http-equiv="content-type" content="text/html; charset=utf-8"><a href="http://download.osgeo.org/pgrouting/forum/pgrouting.postlbs.org/ticket/138.html#comment:4">http://download.osgeo.org/pgrouting/forum/pgrouting.postlbs.org/ticket/138.html#comment:4</a></div>
<div><br></div><div>Daniel</div><div><a href="http://download.osgeo.org/pgrouting/forum/pgrouting.postlbs.org/ticket/138.html#comment:4"></a><br><br><div class="gmail_quote">2011/1/25 Charles Galpin <span dir="ltr"><<a href="mailto:cgalpin@lhsw.com">cgalpin@lhsw.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div style="word-wrap:break-word">I googled for that error and found this fix<div><br></div><div><a href="http://download.osgeo.org/pgrouting/forum/pgrouting.postlbs.org/ticket/138.html" target="_blank">http://download.osgeo.org/pgrouting/forum/pgrouting.postlbs.org/ticket/138.html</a></div>
<div><br></div><div>Not sure what to say about centos. I don't have time to try it right now and wish I had taken notes. It couldn't have been to hard or I would have :)</div><div><br></div><font color="#888888"><div>
charles</div></font><div><div></div><div class="h5"><div><br><div><div>On Jan 25, 2011, at 6:13 AM, Richard Willars wrote:</div><br><blockquote type="cite">Thanks to both of you. I actually already had that rpm installed so tried downloading postgis90, unfortunately it kicked up with a load of issues about conflicts so I gave up! I also tried upgrading boost-devel to the latest version but it didn't seem to think it was still running an old version even after installation.<div>
<br></div><div>Already spent 3 days trying to get it working on CentOS so I've switched to Debian to see if I have any better luck! Installation went really well right up to the part of compiling the pgrouting library... I got the following error:<div>
<br></div><div><a href="http://pastie.org/1495628" target="_blank">http://pastie.org/1495628</a></div><div><br></div><div>I was following these instructions: <a href="http://www.gisnotes.com/wordpress/2008/05/installing-postgresql-postgis-pgrouting-on-debian/" target="_blank">http://www.gisnotes.com/wordpress/2008/05/installing-postgresql-postgis-pgrouting-on-debian/</a> </div>
<div><br></div><div>As those instructions install postgresql 8.3 I tried both version 1.05 and 1.02 of pgrouting, however both came up with errors.</div><div><br></div><div>Any thoughts?</div><div><br clear="all">Regards,<br>
Richard<br>
<br><br><div class="gmail_quote">On Tue, Jan 25, 2011 at 1:02 AM, Daniel Kastl <span dir="ltr"><<a href="mailto:daniel@georepublic.de" target="_blank">daniel@georepublic.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
It must be something with the Boost version.<div>About a year ago users started to complain about this error and it seemed that some path related to the "property_map" changed in newer Boost versions. After this happened with Ubuntu and FreeBSD ... and I think also Debian (don't know exactly), I corrected this according to the patch someone sent ... as far as I remember.</div>
<div>You can find it in the commit message of edge_visitor.hpp for example:</div><div><a href="https://github.com/pgRouting/pgrouting/commits/master/core/src/edge_visitors.hpp" target="_blank">https://github.com/pgRouting/pgrouting/commits/master/core/src/edge_visitors.hpp</a></div>
<div><br></div><div><a href="https://github.com/pgRouting/pgrouting/commits/master/core/src/edge_visitors.hpp" target="_blank"></a>Sorry, but I'm also not so familiar with Git yet and don't know exactly how to get the changes of this revisions. But I remember there were a few files where the path has changed.</div>
<div><br></div><div>When you checkout Tag "v1.05" though it's still the previous path and you should be able to compile.</div><div>Good to know that there are still distributions with pretty ancient Boost.</div>
<div><br></div><div>Daniel</div><div><br><br><div class="gmail_quote">2011/1/25 Charles Galpin <span dir="ltr"><<a href="mailto:cgalpin@lhsw.com" target="_blank">cgalpin@lhsw.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div></div><div>
<div style="word-wrap:break-word">I don't think the version os the problem since I am running the same. I don't recall what I did exactly but did run ldconfig at some point. Perhaps run that and try again.<div><br>
</div><div>However I have since learned about pgrpms and in theory installing postgis should be as simple as</div><div><br></div><div><div>rpm -ivh <a href="http://yum.pgrpms.org/reporpms/9.0/pgdg-centos-9.0-2.noarch.rpm" target="_blank">http://yum.pgrpms.org/reporpms/9.0/pgdg-centos-9.0-2.noarch.rpm</a></div>
<div>yum install postgis90</div><div><br></div><div>This ets the postgres repos setup and then installs postgis and all dependencies from it.</div><div><br></div><div>There is a remote chance you'd need to edit /etc/yum.repos.d/CentOS-Base.repo [base] and [updates] sections and add</div>
<div><span style="font-size:14px;font-weight:bold"><br></span></div><div>exclude=postgresql*</div><div><br></div><div>This might be worth a try (I have tried this in a fresh VM and it appears to have worked fine but have not attempted to use it yet). Long term this is a much better approach than building from scratch each time (for me). I am not sure if this includes pgrouting, but it's a good start even if not.</div>
<div><br></div><div>hth</div><div>charles</div><div><div><br><div><div>On Jan 24, 2011, at 12:07 PM, Richard Willars wrote:</div><br><blockquote type="cite"><span style="border-collapse:separate;font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium">Hi Charles,<br>
<br>Thanks for the advice. Unfortunately I've already got boost-devel<br>installed (v1.33.1). I can see there's a newer version of boost<br>available (1.45) but it's not available via yum.. if I can work out<br>
how to install it I will, but before I spend ages on that do you think<br>that that minor update would fix the issue?<br><br>Regards,<br>Richard</span></blockquote></div><br></div></div></div></div><br></div></div><div>
_______________________________________________<br>
Pgrouting-users mailing list<br>
<a href="mailto:Pgrouting-users@lists.osgeo.org" target="_blank">Pgrouting-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/pgrouting-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/pgrouting-users</a><br>
<br></div></blockquote></div><br><br clear="all"><br>-- <br><span style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse">Georepublic UG & Georepublic Japan<br>eMail: <a href="mailto:daniel.kastl@georepublic.de" style="color:rgb(66, 99, 171)" target="_blank">daniel.kastl@georepublic.de</a><br>
Web: <a href="http://georepublic.de/" style="color:rgb(66, 99, 171)" target="_blank">http://georepublic.de</a></span><br>
</div>
<br>_______________________________________________<br>
Pgrouting-users mailing list<br>
<a href="mailto:Pgrouting-users@lists.osgeo.org" target="_blank">Pgrouting-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/pgrouting-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/pgrouting-users</a><br>
<br></blockquote></div><br></div></div>
_______________________________________________<br>Pgrouting-users mailing list<br><a href="mailto:Pgrouting-users@lists.osgeo.org" target="_blank">Pgrouting-users@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/pgrouting-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/pgrouting-users</a><br>
</blockquote></div><br></div></div></div></div><br>_______________________________________________<br>
Pgrouting-users mailing list<br>
<a href="mailto:Pgrouting-users@lists.osgeo.org">Pgrouting-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/pgrouting-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/pgrouting-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><span style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse">Georepublic UG & Georepublic Japan<br>eMail: <a href="mailto:daniel.kastl@georepublic.de" style="color:rgb(66, 99, 171)" target="_blank">daniel.kastl@georepublic.de</a><br>
Web: <a href="http://georepublic.de/" style="color:rgb(66, 99, 171)" target="_blank">http://georepublic.de</a></span><br>
</div>