I fetch the source, install all required packages for ubuntu. Next I download from Geofabrik polish-part of OSM and place file in /home/kamil/Project-OSRM.
./osrm-prepare map.osrm map.osrm.restrictions
Last command doesn’t work. This appears on the console:
[server] starting up engines, saved at Tue Aug 14 09:31:29 2012
[error] Failed to open file /opt/osm/baden-wuerttemberg.osrm.nodes for reading.
[error] nodes file not found
I check /opt folder - is empty. where I could make a mistake? “baden-wuerttemberg” is a part of Germany, whether it has any relationship that I downloaded only polish part of OSM?
Stumbled over the same problem, finally I realised error is because of the hardcoded paths for osrm.hsgr, osrm.nodes, osrm.edges, osrm.ramIndex, osrm.fileIndex, osrm.names and osrm.timestamp files,
which are to be configured in /server.ini :