-
Notifications
You must be signed in to change notification settings - Fork 48
cannot build never than v5.3.3 node-osrm from source #291
Comments
any hope that this will be fixed? |
I have a same problem while trying to run Thanks |
@DennisOSRM @TheMarex @daniel-j-h @emiltin @MoKob @danpat @oxidase @karenzshea @lbud |
@cordovapolymer try building without mason and install all dependencies manually:
This assumes you have libosrm installed globally. There is a good chance that the dependencies in Debian Jessie are too old however. You might want to wrap this all in a docker container. |
@springmeyer with a manual build (not using the Makefile in the root) that is already the default behavior. |
Please re-open in osrm-backend if you're still seeing this issue. There is a known issue with mason not building compatible binaries for Debian Jessie: Project-OSRM/osrm-backend#3978 I can recommend you building from source without mason. |
@daniel-j-h , but osrm-backend builds successfully, only node-osrm doesn't |
@cordovapolymer the node bindings now live in the It's not clear which version of OSRM you're trying to use here. The code a build scripts in Grab a copy of
This will build osrm-backend and the nodejs bindings. |
the issue is solved, have successfully built the node bindings under Debian Jessie |
For the record if you're using mason it's not solved and it's tracked in Project-OSRM/osrm-backend#3978 (comment) the issue is an abi incompatibility between the mason binaries and the debian jessie stdlib. |
node-osrm cannot be built from source, I'm building it separately from osrm-backend because of #232.
When trying to build it using an existing local osrm-backend, the following error occurs after running
cmake ..
When building it with
npm install --build-from-source --unsafe-perm
if fails findingbinding.gyp
and starts building osrm-backend, which wouldn't build on my system because mason doesn't obeyexport CXXFLAGS="-I/home/osrm/boost_1_61_0"
.When trying to build it with
npm install -g --build-from-source --unsafe-perm
it starts building but fails in the end of the build withI'm running debian jessie, and am able to build node-osrm successfully up to v5.3.3.
The text was updated successfully, but these errors were encountered: