<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, May 25, 2013 at 6:11 PM, Dave Potts <span dir="ltr"><<a href="mailto:dave.potts@pinan.co.uk" target="_blank">dave.potts@pinan.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi list<br>
<br>
I want a play from the new version of the tsp code.<br>
<br>
I have tried building it on Ubuntu 3.2.0-43-generic #68-Ubuntu SMP with postgres 9.1.9 using the syntax<br>
<br>
cmake DebugFull .<br>
<br>
I got the following errors[See Below]<br>
<br>
Q. What should the build envronment be pgroute 2.0??<br></blockquote><div><br></div><div style>Hi Dave,</div><div style><br></div><div style>There seems to be a problem with the use of the Git module of CMake.</div><div style>
The check for Git is not something that must be included, but it's convenient, because it allows to place the version information for example in the documentation or some time into a function to retreive the pgRouting version.</div>
<div><br></div><div style>I have tested, that it works when you build from a Git repository with Git installed.</div><div style>And I think I have tested the case when Git is not installed and it's not a Git repository.</div>
<div style>In your case, do you build from a cloned repository?</div><div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>I have already upgraded my version of cmake 2.8.11<br></blockquote></div><div><br></div><div style>The required version is checked and it will give an error when your version is not new enough.</div><div style><br></div>
<div style>These are a few commands I'm using to build on Ubuntu:</div><div style><a href="https://gist.github.com/dkastl/5617030">https://gist.github.com/dkastl/5617030</a><br></div><div style><br></div><div style>Daniel</div>
<div><br></div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
<br>
regards<br>
<br>
Dave.<br>
<br>
------------------------------<u></u>------------------------------<u></u>------------------------------<u></u>------------------------------<u></u>------------------------------<u></u>----------------------<br>
<br>
src/pgroute/pgr2.0/pgrouting-<u></u>sew-devel-2_0 failed with output:<br>
<br>
fatal: Not a git repository (or any parent up to mount parent )<br>
<br>
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_<u></u>FILESYSTEM not set).<br>
<br>
Call Stack (most recent call first):<br>
CMakeLists.txt:68 (GIT_WC_INFO)<br>
<br>
<br>
CMake Warning at cmake/FindGit.cmake:144 (message):<br>
No remote origin set for git repository:<br>
/home/dp42/src/pgroute/pgr2.0/<u></u>pgrouting-sew-devel-2_0<br>
Call Stack (most recent call first):<br>
CMakeLists.txt:68 (GIT_WC_INFO)<br>
<br>
<br>
-- POSTGRESQL_EXECUTABLE is /usr/lib/postgresql/9.1/bin/<u></u>postgres<br>
-- POSTGRESQL_PG_CONFIG is /usr/bin/pg_config<br>
-- POSTGRESQL_INCLUDE_DIR: /usr/include/postgresql/9.1/<u></u>server<br>
-- POSTGRESQL_LIBRARIES: /usr/lib<br>
-- Boost version: 1.48.0<br>
Boost headers were found here: /usr/include<br>
-- POSTGRESQL_VERSION_STRING is PostgreSQL 9.1.9<br>
-- POSTGRESQL_VERSION is 9.1.9<br>
-- Install directory for libraries is set to /usr/lib/postgresql/9.1/lib<br>
-- Install directory for SQL files is set to /usr/share/postgresql/9.1/<u></u>extension<br>
-- LIBS_TO_INSTALL=<br>
-- Configuring incomplete, errors occurred!<br>
<br>
<br>
<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><br clear="all"><div><br></div>-- <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>
</div></div>