-
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
make command crush #3821
Comments
Looks like either your C++ stdlib is too old or your Intel TBB version is too old and does not know about rvalue refs yet. Try upgrading. Or maybe just use our Docker images https://hub.docker.com/r/osrm/osrm-backend/.
Note: I think at least @rkcpi builds osrm on CentOS so it should work. With up to date packages I guess. |
daniel you are right, intel tbb was too old. I successfully installed osrm-backend on centos 7. Thank you very much! For following users who try to install osrm-backend on centos 7 this links could be useful: Install gcc 4.9.2 on centos 7: https://superuser.com/questions/834862/how-to-install-g-4-9-2-in-cent-os-6-5 install tbb and tbb-devel on centos 7: #1129 How to build stxxl and osrm-backend for release: #1885 How to install boost library( i installed 1.63, because 1.54 doesn't work to build osrm-backend), you must to change installation directory(osrm-backend is looking for boost-library in /usr/local/include) : http://unix.stackexchange.com/questions/98918/how-to-install-a-custom-boost-version-in-centos I use lua 5.2.0 from this link: https://www.lua.org/ftp/lua-5.2.0.tar.gz Thank you again daniel! |
Great you got it working, and thanks for your notes! Happy routing! |
I am trying to build this on CentOS 6.8. Upgraded gcc 6.3 I am getting this error
|
@hapi100 Try re-running cmake with:
This will use TBB provided by https://github.com/mapbox/mason and will statically link OSRM, rather than using your system libraries. |
great. That worked. Was stuck on this issue for a day. Thanks @danpat. |
Here is another error. I think i have to update glibc. Have you come across this error.I am using gcc 6.3 Scanning dependencies of target osrm-components |
@hapi100 Yes, libc/libstdc++ is the only dependency that Unfortunately, your CentOS version is quite old - we use features in our code that requires newer compilers/library versions, and it may not be possible to build without upgrading everything. Is Docker an option for you? We have pre-built Docker images available that you can simply install and use. |
@danpat, thanks for the update. We have these really old versions of osrm running on AWS CentOS 6.x. I was trying to upgrade to the latest osrm. I am not familiar with docker, but if it is a easier and faster option , I can go with it. Thanks for your help. |
Check https://hub.docker.com/r/osrm/osrm-backend/ and the Quickstart / Using Docker section in the Readme. For a recent C++ compiler / stdlib you probably need the CentOS devtool, but we don't have much experience with CentOS as said earlier. cc @rkcpi who has some experience here I think. Maybe we should think about a CentOS Wiki page, this is coming up every now and then. And it's a bit a pain to setup. |
i have a problem on CentOS 6:
i do: cmake .. -DSTXXL_LIBRARY=/home/centos/stxxl-master/build/lib/libstxxl_debug.a
with following output
cmake is successfully, but when i do "make" i receive an error:
Why is this happening?
Thank you
The text was updated successfully, but these errors were encountered: