OSRM Routing Software Compile on SUSE13.1
Created by: Lester Caine, Last modification: 10 Dec 2013 (15:24 GMT)
Project-OSRM needs it's lua parts compiled for 5.1, while the stock distributionsa re now 5.2, but loading the lua51-devel prior to compiling LuaJIT and LUABind seems to fix the problem. This is the area I'm still trying to sort.
Install packages already available in SUSE 13.1 repositories
zypper install git boost-devel gcc gcc-c++ cmake \ libxml2-devel libbz2-devel libzip-devel libgomp1 libpng16-devel \ libprotobuf8 libprotobuf-c-devel protobuf-devel lua lua51-devel pkg-config
LuaJIT
git clone http://luajit.org/git/luajit-2.0.git make make install
This copies the LuaJIT files into /usr/local
LuaBind
http://sourceforge.net/projects/luabind/files/luabind/0.9.1/luabind-0.9.1.tar.gz/download is known to work properly! Later versions from github don't compile.
unzip luabind-0.9.1.tar.gz bjam
OSM-binary
git clone https://github.com/scrosby/OSM-binary.git cd src make make install
stxxl memory managment
stxxl-trunk has been compiled but I still need to work out how
Project-OSRM
mkdir build cd build cmake .. make