[GraphHopper] windows & cygwin

Ludwig M Brinckmann ludwigbrinckmann at gmail.com
Wed Nov 20 13:01:15 UTC 2013


I think the problem is different windows/unix line endings.

On 20.11.13 20:33, amrit karmacharya wrote:
> 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.
>> 
>> 
>> 
> 
> 
> 
> _______________________________________________ GraphHopper mailing
> list GraphHopper at openstreetmap.org 
> https://lists.openstreetmap.org/listinfo/graphhopper
> 



More information about the GraphHopper mailing list