-
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
Luabind does not work with Lua51 if LuaJit is getting detected #2831
Comments
@Pradyumna007 Your version of Generally, |
Can you suggest me how to Install ?? i messed up the whole thing with installation ... I installed many times and uninstalled ... Now am not able to figure out where to start .??? I have libluabind where to go further ?? |
What's your Linux distribution? You should be able to install Lua through your package manager (and uninstall LuaJit using your package manager, too). For Luabind there should also be a package in your package manager. In case that does not work, there is https://github.com/mapbox/luabind which you can install with
|
Mine is Ubuntu 12.02 LTS .... LuaJit is not installed anywhere -- Found Intel TBB |
Uninstall the global luabind. Use the mapbox/luabind I posted above instead. |
I deleted it ... and installed from the git location u gave ... but it is throwing the same error again -- Looking for Luabind... -- Configuring incomplete, errors occurred! |
Seems to be the same issue described here: #2804 In the current master version this should be fixed. Which OSRM-Version are you using? |
IDK which version ... but I downloaded the latest from git .... and I didnt get the #2804 is wat all abt |
Good catch @pongo710, thanks. @Pradyumna007 #2804 describes a fix for gcc 4.8 (which you are using). This fix is now in master. Please pull (or simply git clone again). |
@daniel-j-h You mean to say that new osrm-5.0.0.rc-1 version ? I downloaded it and trying to set it up ... still it is popping error |
Try to use the current master version by downloading it with git: |
@pongo710 From here only I downloaded osrm .... |
@pongo710 @daniel-j-h I have tried installing by using -- Looking for Luabind... -- Configuring incomplete, errors occurred! |
CMake couldn't detect Lua51, did you uninstall it by accident while uninstalling luajit? |
I didnt not install luajit ... and and uninstall lua51 @daniel-j-h can u check the above link ? i followed the same commands ... |
The link you posted is Travis, our CI that runs Ubuntu Trusty. Don't follow that. Repeating what I said
|
@daniel-j-h I have installed Lua 5.1 from sudo apt-get install liblua5.1 and installed luabind from the git you have suggested. .... As @pongo710 suggested I am installing osrm-backend from link above which i previously did .... in that way only am getting this error -- Found Luabind: /usr/local/lib/libluabind.a Now I am not understanding wt is the prob ? |
Hey U can close the ticket ... It is working fine in ubuntu 14.04 ... thank you so much for the links and help |
Hi ... I have downloaded osrm-backend from git ... Now when I am making cmake, it is throwing this error ... check this -->
$ /Maps work/osrm/osrm-backend/build$ sudo cmake .. $CMAKEOPTIONS -DBUILD_TOOLS=1
-- Building on a 64 bit system
CMake Warning at CMakeLists.txt:135 (message):
GNU gold linker isn't available.
-- Configuring OSRM in release mode
-- LTO working
-- Disabling LTO on GCC < 4.9.0 since it is broken, see: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57038
-- Setting linker optimizations
-- Boost version: 1.54.0
-- Found the following Boost libraries:
-- date_time
-- filesystem
-- iostreams
-- program_options
-- regex
-- system
-- thread
-- Found Intel TBB
-- TBB interface version: 6000
-- Looking for Luabind...
-- Found Luabind: /usr/lib/libluabind.so
-- Looking for LuaJIT 5.2
-- Found LuaJIT: /usr/lib/x86_64-linux-gnu/libluajit-5.1.so
-- Performing Test LUABIND_WORKS
-- Performing Test LUABIND_WORKS - Failed
-- Luabind/Lua5.2 not feasible, falling back to Lua 5.1.
-- Looking for LuaJIT 5.1
-- Found LuaJIT: /usr/lib/x86_64-linux-gnu/libluajit-5.1.so
-- Performing Test LUABIND51_WORKS
-- Performing Test LUABIND51_WORKS - Failed
CMake Error at cmake/check_luabind.cmake:38 (message):
Luabind does not work with Lua 5.1 at LUA_LIBRARY-NOTFOUND, no working
Luabind found
Call Stack (most recent call first):
CMakeLists.txt:307 (include)
-- Configuring incomplete, errors occurred!
and i also tried using sudo cmake ..
Expecting reply
The text was updated successfully, but these errors were encountered: