Problem with installation osrm - ubuntu 12.04

Hello
I’m a beginner. I try to install osrm on ubuntu 12.04 according to https://github.com/DennisOSRM/Project-OSRM/wiki/Running-OSRM

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.

Next :
./osrm-extract map.osm
then:
./osrm-prepare map.osrm map.osrm.restrictions
finally:
./osrm-routed

Last command doesn’t work. This appears on the console:
kamil@kamil-MS-1675:~/Project-OSRM$ ./osrm-routed
[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?

Thanks for any help

Maybe in some parameter file the string “baden-wuerttemberg” is (wrongly) hardcoded?

Or try to contact the maintainer Dennis Luxen, or open a bug ticket at its website.

Hi,

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 :

(by default)
hsgrData=/opt/osm/baden-wuerttemberg.osrm.hsgr
nodesData=/opt/osm/baden-wuerttemberg.osrm.nodes
edgesData=/opt/osm/baden-wuerttemberg.osrm.edges
ramIndex=/opt/osm/baden-wuerttemberg.osrm.ramIndex
fileIndex=/opt/osm/baden-wuerttemberg.osrm.fileIndex
namesData=/opt/osm/baden-wuerttemberg.osrm.names
timestamp=/opt/osm/baden-wuerttemberg.osrm.timestamp

to be changed to

hsgrData=.osrm.hsgr
nodesData=.osrm.nodes
edgesData=.osrm.edges
ramIndex=.osrm.ramIndex
fileIndex=.osrm.fileIndex
namesData=.osrm.names
timestamp=.osrm.timestamp