<div dir="ltr"><div><div><div>Thanks Steve,<br><br></div><div>I got alot farther with pgrouting 2.0 over 1.05 but the make && make install stopped with the following error:<br><br>/sources/pgrouting/src/kdijkstra/src/k_targets_boost_wrapper.cpp: In function ‘std::string toString(T)’:<br>

/sources/pgrouting/src/kdijkstra/src/k_targets_boost_wrapper.cpp:282: error: invalid use of undefined type ‘struct std::stringstream’<br>/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/iosfwd:83: error: declaration of ‘struct std::stringstream’<br>

make[2]: *** [src/kdijkstra/src/CMakeFiles/kdijkstra.dir/k_targets_boost_wrapper.cpp.o] Error 1<br>make[1]: *** [src/kdijkstra/src/CMakeFiles/kdijkstra.dir/all] Error 2<br>make: *** [all] Error 2<br><br>a few things i did:<br>

<br>i had to change the following cgal reference in the CMakeCache.txt<br>  =/usr/local/cgal/3.6.1/lib/libCGAL.so<br><br></div>Also, my make was:<br></div>  make -DWITH_DD=ON -WITH_TSP=ON .<br>       ......<br></div>      configuring done, generating done, no errors<br>

<div><div><div><div class="gmail_extra"><br></div><div class="gmail_extra">make && make install <br></div><div class="gmail_extra">targets for trsp, astar, and dijkstra were built, but I don't understand what the     new error means<br>

</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 31, 2013 at 3:27 PM, Stephen Woodbridge <span dir="ltr"><<a href="mailto:woodbri@swoodbridge.com" target="_blank">woodbri@swoodbridge.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Ian,<br>
<br>
What version of pgRouting are you trying to install?<br>
I strongly recommend us 2.0.0 which is in beta and far more stable than 1.05.<br>
<br>
git clone <a href="https://github.com/pgRouting/pgrouting.git" target="_blank">https://github.com/pgRouting/<u></u>pgrouting.git</a><br>
cd pgrouting<br>
git checkout develop<br>
mkdir build<br>
cd build<br>
cmake  -DWITH_DD=ON ..<br>
make && sudo make install<br>
cd ..<br>
tools/<a href="http://test-runner.pl" target="_blank">test-runner.pl</a><br>
<br>
Read this for more information:<br>
<a href="https://github.com/pgRouting/pgrouting/tree/develop" target="_blank">https://github.com/pgRouting/<u></u>pgrouting/tree/develop</a><br>
<br>
-Steve<div><div class="h5"><br>
<br>
On 7/31/2013 3:10 PM, Ian Tangert wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div class="h5">
hello,<br>
<br>
when i run make i get the following errors<br>
<br>
make<br>
[  8%] Building C object extra/tsp/src/CMakeFiles/<u></u>routing_tsp.dir/tsp.o<br>
In file included from /usr/pgsql-9.1/include/server/<u></u>nodes/execnodes.h:17,<br>
                  from /usr/pgsql-9.1/include/server/<u></u>executor/execdesc.h:18,<br>
                  from /usr/pgsql-9.1/include/server/<u></u>executor/executor.h:17,<br>
                  from /usr/pgsql-9.1/include/server/<u></u>funcapi.h:21,<br>
                  from /sources/pgrouting/pgrouting/<u></u>extra/tsp/src/tsp.c:26:<br>
<br>
if i edit the the files listed in the error output above so that the<br>
line that says #include "node/somefile.h" has the full path to the file<br>
to be included (/usr/pgsql-9.1/include/<u></u>server/node/somefile.h) then the<br>
make command no longer produces an error.  but any time there is a new<br>
file to be included i need to edit the first file to include the full<br>
path and on and on.  Is there something i am missing so that that the<br>
pgrouting make "knows" that everything can be found somewhere in<br>
/usr/pgsql-9.1/include?<br>
<br>
my CMakeCahce.txt file looks like this:<br>
   POSTGRESQL_INCLUDE_DIR:<u></u>FILEPATH=/usr/pgsql-9.1/<u></u>include<br>
<br>
I am trying to install this on CentOS 5.5 with a postgresql installation<br>
that came from 9.1.9-1PGDG.rhel5, postgis also successfully installed<br>
and extension created in database<br>
<br>
would it work if i just kept adding the full path in the include line in<br>
the *.h files, and if I did would that mess anything up for postgres in<br>
general?<br>
<br>
thanks for any advice<br>
<br>
ps my cmake -DWITH_TSP=ON -DWITH_DD=ON . output looks like this:<br>
<br>
Boost headers were found here: /usr/include<br>
Output directory for libraries is set to /usr/pgsql-9.1/lib<br>
Installation directory for libraries is set to /usr/pgsql-9.1/lib and<br>
for SQL files is set to /usr/share/pgrouting<br>
Installation directory for libraries is set to /usr/pgsql-9.1/lib<br>
-- Configuring done<br>
-- Generating done<br>
-- Build files have been written to: /sources/pgrouting/pgrouting<br>
<br>
<br></div></div>
______________________________<u></u>_________________<br>
Pgrouting-users mailing list<br>
<a href="mailto:Pgrouting-users@lists.osgeo.org" target="_blank">Pgrouting-users@lists.osgeo.<u></u>org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/pgrouting-users" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/pgrouting-<u></u>users</a><br>
<br>
</blockquote>
<br>
______________________________<u></u>_________________<br>
Pgrouting-users mailing list<br>
<a href="mailto:Pgrouting-users@lists.osgeo.org" target="_blank">Pgrouting-users@lists.osgeo.<u></u>org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/pgrouting-users" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/pgrouting-<u></u>users</a><br>
</blockquote></div><br></div></div></div></div></div>