<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 01/08/13 14:25, Ian Tangert wrote:<br>
    </div>
    <blockquote
cite="mid:CAM0OwJ1CHM_8SjuKErRzE5xTHBaz83XP6P7UTUbJ9zYO3Uj_gw@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>
            <div>
              <div>
                <div>
                  <div>
                    <div>thanks dave and steve,<br>
                      <br>
                    </div>
                    <div>now it built and installed successfully.<br>
                    </div>
                    <div><br>
                    </div>
                    <div>it took three more things:</div>
                    <div><br>
                    </div>
                    1) adding #include <sstream> to
                    k_targets_boost_wrapper.cpp<br>
                    <br>
                  </div>
                  2)changing #include
                  "boost/property_map/property_map.hpp" to #include
                  "boost/property_map.hpp" in
                  ./src/apsp_johnson/src/apsp_johnson_boost_wrapper.cpp<br>
                  <br>
                </div>
                3)adding to ./src/tsp/src/tsp2.c just under the line
                #include <math.h>:<br>
              </div>
                      #ifndef INIFINITY<br>
            </div>
                    # define INFINITY (1.0/0.0)<br>
          </div>
                  #endif<br>
          <br>
        </div>
        best,<br>
      </div>
    </blockquote>
    I think you need to open a ticket on these issues,see  <a
      class="moz-txt-link-freetext"
      href="https://github.com/pgRouting/pgrouting/issues/new">https://github.com/pgRouting/pgrouting/issues/new</a><br>
    <br>
    Dave.<br>
    <blockquote
cite="mid:CAM0OwJ1CHM_8SjuKErRzE5xTHBaz83XP6P7UTUbJ9zYO3Uj_gw@mail.gmail.com"
      type="cite">
      <div dir="ltr"><br>
        ian<br>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Thu, Aug 1, 2013 at 5:11 AM, Dave
          Potts <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:dave.potts@pinan.co.uk" target="_blank">dave.potts@pinan.co.uk</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">On
            01/08/13 05:03, Stephen Woodbridge wrote:<br>
            hi Ian,<br>
            <br>
            I am running this software on Ubunto 12.04<br>
            <br>
            I had some initial build issues mainly sorted by upgrade
            bits and bobs.<br>
            <br>
            I am running<br>
            <br>
            cmake 2.8.11<br>
            gcc version 4.6.3<br>
            bootst version 1.4.8<br>
            postgis  POSTGIS="2.0.0 r9605" GEOS="3.3.8-CAPI-1.7.8"
            PROJ="Rel. 4.8.0, 6 March 2012" GDAL="GDAL 1.9.2, released
            2012/10/08" LIBXML="2.7.8" LIBJSON="UNKNOWN" RASTER<br>
            <br>
            The development version compiles out of the box.<br>
            <br>
            I not suggesting that you upgrade to any of these versions,
            but its a set up that works.<br>
            <br>
            regards<span class="HOEnZb"><font color="#888888"><br>
                <br>
                Dave</font></span>
            <div class="HOEnZb">
              <div class="h5"><br>
                <br>
                <blockquote class="gmail_quote" style="margin:0 0 0
                  .8ex;border-left:1px #ccc solid;padding-left:1ex">
                  Ian,<br>
                  <br>
                  This looks like something involving the includes in
                  your old version of gcc. I'm running gcc version 4.7.2
                  (Debian 4.7.2-5) which is very new, but I also was
                  compiling with gcc version 4.3.2 (Debian 4.3.2-1.1)
                  and had no problems with that.<br>
                  <br>
                  You might try adding to k_targets_boost_wrapper.cpp:<br>
                  <br>
                  #include <sstream><br>
                  <br>
                  It might need to be explicitly included on your
                  version.<br>
                  <br>
                  -Steve<br>
                  <br>
                  <br>
                  On 7/31/2013 4:26 PM, Ian Tangert wrote:<br>
                  <blockquote class="gmail_quote" style="margin:0 0 0
                    .8ex;border-left:1px #ccc solid;padding-left:1ex">
                    Thanks Steve,<br>
                    <br>
                    I got alot farther with pgrouting 2.0 over 1.05 but
                    the make && make<br>
                    install stopped with the following error:<br>
                    <br>
                    /sources/pgrouting/src/kdijkstra/src/k_targets_boost_wrapper.cpp:
                    In<br>
                    function ‘std::string toString(T)’:<br>
                    /sources/pgrouting/src/kdijkstra/src/k_targets_boost_wrapper.cpp:282:<br>
                    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:
                    <br>
                    error: declaration of ‘struct std::stringstream’<br>
                    make[2]: ***<br>
                    [src/kdijkstra/src/CMakeFiles/kdijkstra.dir/k_targets_boost_wrapper.cpp.o]
                    <br>
                    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>
                    Also, my make was:<br>
                       make -DWITH_DD=ON -WITH_TSP=ON .<br>
                            ......<br>
                           configuring done, generating done, no errors<br>
                    <br>
                    make && make install<br>
                    targets for trsp, astar, and dijkstra were built,
                    but I don't understand<br>
                    what the     new error means<br>
                    <br>
                    On Wed, Jul 31, 2013 at 3:27 PM, Stephen Woodbridge<br>
                    <<a moz-do-not-send="true"
                      href="mailto:woodbri@swoodbridge.com"
                      target="_blank">woodbri@swoodbridge.com</a>
                    <mailto:<a moz-do-not-send="true"
                      href="mailto:woodbri@swoodbridge.com"
                      target="_blank">woodbri@swoodbridge.com</a>>>
                    wrote:<br>
                    <br>
                        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<br>
                        than 1.05.<br>
                    <br>
                        git clone <a moz-do-not-send="true"
                      href="https://github.com/pgRouting/__pgrouting.git"
                      target="_blank">https://github.com/pgRouting/__pgrouting.git</a><br>
                        <<a moz-do-not-send="true"
                      href="https://github.com/pgRouting/pgrouting.git"
                      target="_blank">https://github.com/pgRouting/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 moz-do-not-send="true"
                      href="http://test-runner.pl" target="_blank">test-runner.pl</a>
                    <<a moz-do-not-send="true"
                      href="http://test-runner.pl" target="_blank">http://test-runner.pl</a>><br>
                    <br>
                        Read this for more information:<br>
                        <a moz-do-not-send="true"
                      href="https://github.com/pgRouting/__pgrouting/tree/develop"
                      target="_blank">https://github.com/pgRouting/__pgrouting/tree/develop</a><br>
                        <<a moz-do-not-send="true"
                      href="https://github.com/pgRouting/pgrouting/tree/develop"
                      target="_blank">https://github.com/pgRouting/pgrouting/tree/develop</a>><br>
                    <br>
                        -Steve<br>
                    <br>
                    <br>
                        On 7/31/2013 3:10 PM, Ian Tangert wrote:<br>
                    <br>
                            hello,<br>
                    <br>
                            when i run make i get the following errors<br>
                    <br>
                            make<br>
                            [  8%] Building C object<br>
                            extra/tsp/src/CMakeFiles/__routing_tsp.dir/tsp.o<br>
                            In file included from<br>
                            /usr/pgsql-9.1/include/server/__nodes/execnodes.h:17,<br>
                                               from<br>
                            /usr/pgsql-9.1/include/server/__executor/execdesc.h:18,<br>
                                               from<br>
                            /usr/pgsql-9.1/include/server/__executor/executor.h:17,<br>
                                               from<br>
                            /usr/pgsql-9.1/include/server/__funcapi.h:21,<br>
                                               from<br>
                            /sources/pgrouting/pgrouting/__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<br>
                            the file<br>
                            to be included (/usr/pgsql-9.1/include/__server/node/somefile.h)<br>
                            then the<br>
                            make command no longer produces an error.
                     but any time there is<br>
                            a new<br>
                            file to be included i need to edit the first
                    file to include the<br>
                            full<br>
                            path and on and on.  Is there something i am
                    missing so that<br>
                            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:__FILEPATH=/usr/pgsql-9.1/__include<br>
                    <br>
                            I am trying to install this on CentOS 5.5
                    with a postgresql<br>
                            installation<br>
                            that came from 9.1.9-1PGDG.rhel5, postgis
                    also successfully<br>
                            installed<br>
                            and extension created in database<br>
                    <br>
                            would it work if i just kept adding the full
                    path in the include<br>
                            line in<br>
                            the *.h files, and if I did would that mess
                    anything up for<br>
                            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<br>
                            /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>
                            _________________________________________________<br>
                            Pgrouting-users mailing list<br>
                            <a class="moz-txt-link-abbreviated" href="mailto:Pgrouting-users@lists.osgeo.__org">Pgrouting-users@lists.osgeo.__org</a><br>
                            <mailto:<a moz-do-not-send="true"
                      href="mailto:Pgrouting-users@lists.osgeo.org"
                      target="_blank">Pgrouting-users@lists.osgeo.org</a>><br>
                    <a moz-do-not-send="true"
                      href="http://lists.osgeo.org/__mailman/listinfo/pgrouting-__users"
                      target="_blank">http://lists.osgeo.org/__mailman/listinfo/pgrouting-__users</a><br>
                    <<a moz-do-not-send="true"
                      href="http://lists.osgeo.org/mailman/listinfo/pgrouting-users"
                      target="_blank">http://lists.osgeo.org/mailman/listinfo/pgrouting-users</a>><br>
                    <br>
                    <br>
                        _________________________________________________<br>
                        Pgrouting-users mailing list<br>
                        <a class="moz-txt-link-abbreviated" href="mailto:Pgrouting-users@lists.osgeo.__org">Pgrouting-users@lists.osgeo.__org</a><br>
                        <mailto:<a moz-do-not-send="true"
                      href="mailto:Pgrouting-users@lists.osgeo.org"
                      target="_blank">Pgrouting-users@lists.osgeo.org</a>><br>
                        <a moz-do-not-send="true"
                      href="http://lists.osgeo.org/__mailman/listinfo/pgrouting-__users"
                      target="_blank">http://lists.osgeo.org/__mailman/listinfo/pgrouting-__users</a><br>
                    <<a moz-do-not-send="true"
                      href="http://lists.osgeo.org/mailman/listinfo/pgrouting-users"
                      target="_blank">http://lists.osgeo.org/mailman/listinfo/pgrouting-users</a>><br>
                    <br>
                    <br>
                    <br>
                    <br>
                    _______________________________________________<br>
                    Pgrouting-users mailing list<br>
                    <a moz-do-not-send="true"
                      href="mailto:Pgrouting-users@lists.osgeo.org"
                      target="_blank">Pgrouting-users@lists.osgeo.org</a><br>
                    <a moz-do-not-send="true"
                      href="http://lists.osgeo.org/mailman/listinfo/pgrouting-users"
                      target="_blank">http://lists.osgeo.org/mailman/listinfo/pgrouting-users</a><br>
                    <br>
                  </blockquote>
                  <br>
                  _______________________________________________<br>
                  Pgrouting-users mailing list<br>
                  <a moz-do-not-send="true"
                    href="mailto:Pgrouting-users@lists.osgeo.org"
                    target="_blank">Pgrouting-users@lists.osgeo.org</a><br>
                  <a moz-do-not-send="true"
                    href="http://lists.osgeo.org/mailman/listinfo/pgrouting-users"
                    target="_blank">http://lists.osgeo.org/mailman/listinfo/pgrouting-users</a><br>
                </blockquote>
                <br>
                _______________________________________________<br>
                Pgrouting-users mailing list<br>
                <a moz-do-not-send="true"
                  href="mailto:Pgrouting-users@lists.osgeo.org"
                  target="_blank">Pgrouting-users@lists.osgeo.org</a><br>
                <a moz-do-not-send="true"
                  href="http://lists.osgeo.org/mailman/listinfo/pgrouting-users"
                  target="_blank">http://lists.osgeo.org/mailman/listinfo/pgrouting-users</a><br>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Pgrouting-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Pgrouting-users@lists.osgeo.org">Pgrouting-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/pgrouting-users">http://lists.osgeo.org/mailman/listinfo/pgrouting-users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>