[GraphHopper] windows & cygwin

amrit karmacharya amrit.im at gmail.com
Wed Nov 20 12:33:24 UTC 2013


I have bash.exe in /bin directory. On executing

cd /bin
bash -v

it gives base-files version 4.1-1 and a long list.



On Wed, Nov 20, 2013 at 5:27 PM, Peter K <peathal at yahoo.de> wrote:

> Is /bin/bash available in your cygwin environment? The elif command
> should be handled by bash. Maybe you have to install bash into cygwin?
>
> Peter.
>
> > I followed the instruction
> > in https://github.com/graphhopper/graphhopper/wiki/Windows
> >
> > I have also done the troubleshooting part and i am still getting this
> > error.
> >
> > $ ./graphhopper.sh web europe_germany_berlin.osm
> > ./graphhopper.sh: line 2: $'\r': command not found
> > ./graphhopper.sh: line 34: syntax error near unexpected token `elif'
> > '/graphhopper.sh: line 34: `  elif [ ! -s "$OSM_FILE" ]; then
> >
> > If i remove the empty line in line 2, i don't get the 1st error but
> > the 2nd and 3rd error remains.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20131120/d8950cbf/attachment.html>


More information about the GraphHopper mailing list