[pgrouting-users] sew-devel-2_0 build problems

Daniel Kastl daniel at georepublic.de
Sat May 25 03:41:47 PDT 2013


On Sat, May 25, 2013 at 6:11 PM, Dave Potts <dave.potts at pinan.co.uk> wrote:

> Hi list
>
> I want a play from the new version of the tsp code.
>
> I have tried building it on Ubuntu  3.2.0-43-generic #68-Ubuntu SMP with
> postgres 9.1.9 using the syntax
>
> cmake DebugFull .
>
> I got the following errors[See Below]
>
> Q. What should the build envronment be pgroute 2.0??
>

Hi Dave,

There seems to be a problem with the use of the Git module of CMake.
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.

I have tested, that it works when you build from a Git repository with Git
installed.
And I think I have tested the case when Git is not installed and it's not a
Git repository.
In your case, do you build from a cloned repository?


> I have already upgraded my version of cmake 2.8.11
>

The required version is checked and it will give an error when your version
is not new enough.

These are a few commands I'm using to build on Ubuntu:
https://gist.github.com/dkastl/5617030

Daniel




>
> regards
>
> Dave.
>
> ------------------------------**------------------------------**
> ------------------------------**------------------------------**
> ------------------------------**----------------------
>
> src/pgroute/pgr2.0/pgrouting-**sew-devel-2_0 failed with output:
>
>   fatal: Not a git repository (or any parent up to mount parent )
>
>   Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_**FILESYSTEM not
> set).
>
> Call Stack (most recent call first):
>   CMakeLists.txt:68 (GIT_WC_INFO)
>
>
> CMake Warning at cmake/FindGit.cmake:144 (message):
>   No remote origin set for git repository:
>   /home/dp42/src/pgroute/pgr2.0/**pgrouting-sew-devel-2_0
> Call Stack (most recent call first):
>   CMakeLists.txt:68 (GIT_WC_INFO)
>
>
> -- POSTGRESQL_EXECUTABLE is /usr/lib/postgresql/9.1/bin/**postgres
> -- POSTGRESQL_PG_CONFIG is /usr/bin/pg_config
> -- POSTGRESQL_INCLUDE_DIR: /usr/include/postgresql/9.1/**server
> -- POSTGRESQL_LIBRARIES: /usr/lib
> -- Boost version: 1.48.0
> Boost headers were found here: /usr/include
> -- POSTGRESQL_VERSION_STRING is PostgreSQL 9.1.9
> -- POSTGRESQL_VERSION is 9.1.9
> -- Install directory for libraries is set to /usr/lib/postgresql/9.1/lib
> -- Install directory for SQL files is set to /usr/share/postgresql/9.1/**
> extension
> -- LIBS_TO_INSTALL=
> -- Configuring incomplete, errors occurred!
>
>
>
> ______________________________**_________________
> Pgrouting-users mailing list
> Pgrouting-users at lists.osgeo.**org <Pgrouting-users at lists.osgeo.org>
> http://lists.osgeo.org/**mailman/listinfo/pgrouting-**users<http://lists.osgeo.org/mailman/listinfo/pgrouting-users>
>



-- 
Georepublic UG & Georepublic Japan
eMail: daniel.kastl at georepublic.de
Web: http://georepublic.de
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pgrouting-users/attachments/20130525/d0362d94/attachment.html>


More information about the Pgrouting-users mailing list