[pgrouting-dev] git dependency in (at least) pgRouting 2.0

Stephen Woodbridge woodbri at swoodbridge.com
Fri May 10 20:25:18 PDT 2013


On 5/10/2013 10:35 PM, Daniel Kastl wrote:
>
>
>
> On Sat, May 11, 2013 at 11:22 AM, Stephen Mather
> <mather.stephen at gmail.com <mailto:mather.stephen at gmail.com>> wrote:
>
>     Cool.  Thanks Daniel.  I figure I'm the first person to try to
>     install it without git... :).  It was a fresh install though.
>
>     Best,
>     Steve
>
>
> Hi Steve,
>
> When you meant "Git is a dependency", did you refer to the cmake output
> like this?
>
> -- The C compiler identification is GNU 4.7.2
> -- The CXX compiler identification is GNU 4.7.2
> ...
> -- Could NOT find Git (missing:  GIT_EXECUTABLE)

We should make this message clearer something like:

-- Could NOT find GIT -- ok to continue without it.

-Steve W

> ...
>
> This indicates, that Git isn't installed, but it doesn't prevent you
> from compiling.
> So it's not really a dependency, but if Git is there and the source is a
> Git repository, then (as for now) it will place the version hash in the
> documentation for example (in case you build the documentation)
>
> Or do you get errors when trying to compile?
>
> Daniel
>
>
>
>
>
>     On Fri, May 10, 2013 at 9:47 PM, Daniel Kastl <daniel at georepublic.de
>     <mailto:daniel at georepublic.de>> wrote:
>
>
>
>
>         On Sat, May 11, 2013 at 12:59 AM, Stephen Mather
>         <mather.stephen at gmail.com <mailto:mather.stephen at gmail.com>> wrote:
>
>             Here's a dependency not listed-- git itself is a
>             dependency... .  I know this is a silly thing to point out,
>             but it is possible on github to download a zip of the file
>             without installing git.  Should git be added as a dependency?
>
>
>         I added a Cmake module to get some Git parameters, if available.
>         It should check if it's not a Git repository, though I didn't
>         think about it could fail if Git is not installed at all.
>         Thanks for the comment, because I didn't think about it at all.
>
>         I thought the Git module would be smart enough, but of course
>         this shouldn't become a build dependency.
>         Will take a look.
>
>         Daniel
>
>
>
>             Best,
>             Steve
>
>             _______________________________________________
>             pgrouting-dev mailing list
>             pgrouting-dev at lists.osgeo.org
>             <mailto:pgrouting-dev at lists.osgeo.org>
>             http://lists.osgeo.org/mailman/listinfo/pgrouting-dev
>
>
>
>
>         --
>         Georepublic UG & Georepublic Japan
>         eMail: daniel.kastl at georepublic.de
>         <mailto:daniel.kastl at georepublic.de>
>         Web: http://georepublic.de <http://georepublic.de/>
>
>         _______________________________________________
>         pgrouting-dev mailing list
>         pgrouting-dev at lists.osgeo.org <mailto:pgrouting-dev at lists.osgeo.org>
>         http://lists.osgeo.org/mailman/listinfo/pgrouting-dev
>
>
>
>     _______________________________________________
>     pgrouting-dev mailing list
>     pgrouting-dev at lists.osgeo.org <mailto:pgrouting-dev at lists.osgeo.org>
>     http://lists.osgeo.org/mailman/listinfo/pgrouting-dev
>
>
>
>
> --
> Georepublic UG & Georepublic Japan
> eMail: daniel.kastl at georepublic.de <mailto:daniel.kastl at georepublic.de>
> Web: http://georepublic.de <http://georepublic.de/>
>
>
> _______________________________________________
> pgrouting-dev mailing list
> pgrouting-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/pgrouting-dev
>



More information about the pgrouting-dev mailing list