--- misc/osrm-scripts/start-osrm.sh 2016/12/19 08:16:36 3173 +++ misc/osrm-scripts/start-osrm.sh 2016/12/19 13:46:18 3175 @@ -19,15 +19,16 @@ TAG="v5.5.1" -DATADIR=/mnt/qnap/openstreetmap +DATADIR=/home/openstreetmap if [ ! -d "$DATADIR" ] ; then - echo DATADIR not found - exit + echo DATADIR not found .. creating + mkdir -p $DATADIR fi if [ ! -f /usr/local/bin/osrm-extract ] ; then - apt-get install build-essential git cmake pkg-config libprotoc-dev protobuf-compiler libprotobuf-dev libosmpbf-dev libpng12-dev libbz2-dev libstxxl-dev libstxxl-doc libstxxl1 + apt-get install libpng-dev + apt-get install build-essential git cmake pkg-config libprotoc-dev protobuf-compiler libprotobuf-dev libosmpbf-dev libbz2-dev libstxxl-dev libstxxl-doc apt-get install libxml2-dev libzip-dev libboost-all-dev lua5.1 liblua5.1-0-dev libluabind-dev libtbb-dev