我已经npm install osrm在Ubuntu 14.04上安装了节点osrm .这已经安装了OSRM v4.9.下一步是设置OSRM.我试图按照维基中给出的步骤进行设置 -
https://github.com/Project-OSRM/node-osrm
当我跑步时,make我得到以下错误
/bin/sh: 1: [[: not found
/bin/sh: 1: echo you need pkg-config installed: not found
make: *** [pkgconfig] Error 127
Run Code Online (Sandbox Code Playgroud)
当我跑步时./Makefile,我得到以下错误
./Makefile: line 3: shell: command not found
./Makefile: line 3: TOOL_ROOT?=/lib/binding: No such file or directory
./Makefile: line 4: TOOL_ROOT: command not found
Run Code Online (Sandbox Code Playgroud)
我甚至添加了一个shebang来使用bash,因为错误似乎是由于没有使用bash
我已安装所有必需的库并具有节点v0.12
如何成功运行https://github.com/Project-OSRM/node-osrm/blob/develop/Makefile文件?