-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't build in ArchLinux #1510
Comments
Try this version of luabind https://github.com/DennisOSRM/luabind |
@TheMarex, how to build this? There is no Jamfile. offtop: Why you disable bicycle router on map.project-osrm.org? |
@imShara we never had bicycle routing on This luabind verison uses cmake. |
@imShara I managed to build luabind from this repo https://github.com/rpavlik/luabind |
@skraelings, you are right, Pavlik's luabind working and exists in aur as liabind-git. But here is another error:
@TheMarex, trying to make PKGBUILD... |
@imShara I tried those in aur and neither worked, ultimately I cloned Pavlik's repository and built from it. |
I have followed along with your process on arch. I have built the following from source: luabind from rpavlik github repo libxstxxl from http://sourceforge.net/projects/stxxl/files/stxxl/1.4.1/stxxl-1.4.1.tar.gz/download libosmpfb I am am also now not able to build OSRM. When linking osrm-extract I get an undefined reference to undefined reference to `lua_rotate' Linking CXX executable osrm-extract |
It's very strange, lua_rotate is present only in lua 5.3:
/usr/include/lua.h (5.3) have lua_rotate. I think, something is using 5.3 header (/usr/include/lua.h) and then, try to be linked with 5.2/5.1 library. |
Quick and dirty recipe to compile OSRM (develop branch) in Archlinux:
This works in my (current) Archlinux. Best regards. Fernando. |
Our CMake module can handle Lua 5.1 and Lua 5.2 --- if nothing else works, do a local Lua build and tell it CMake; the packaged luabind is most probably the one from 2010, since the maintainers never made an official release after that; please compile luabind from source in that case, as described above. Make sure luabind links against the same Lua version that you are using in osrm-backend; check that e.g. with
|
Here is
cmake ..
output:Installed packages:
Official: luajit
AUR: luabind
The text was updated successfully, but these errors were encountered: