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

Daniel Kastl daniel at georepublic.de
Sat May 25 23:24:42 PDT 2013


# Find Git to collect version information
> find_package(Git QUIET)
> if(GIT_FOUND)
>   message(STATUS "Found Git: ${GIT_EXECUTABLE}")
>   GIT_WC_INFO(${PGROUTING_**SOURCE_DIR} PGROUTING)
>   set(PGROUTING_VERSION_**REVISION_NAME "${PGROUTING_WC_REVISION_NAME}**")
>   set(PGROUTING_VERSION_**REVISION_HASH "${PGROUTING_WC_REVISION_HASH}**")
> else()
>   message(STATUS "Could NOT find GIT (optional)")
>   set(PGROUTING_VERSION_**REVISION_NAME "")
>   set(PGROUTING_VERSION_**REVISION_HASH "")
> endif()
>
> my guess is you have git and GIT_WC_INFO is fatal for not a repository.
> The quick fix so you can continue is to replace the block above with
>
>   set(PGROUTING_VERSION_**REVISION_NAME "")
>   set(PGROUTING_VERSION_**REVISION_HASH "")
>
>
This should be fixed now for everyone downloading the source as ZIP or TAR.
I added that Cmake is looking for a folder named ".git". So if the folder
exists, but doesn't contain the necessary files, then it will still fail.
But let's assume that this is not a case we have to care about.

Thanks for reporting, Dave!

Daniel




-- 
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/20130526/22c357dd/attachment.html>


More information about the Pgrouting-users mailing list