【发布时间】:2016-04-23 18:52:51
【问题描述】:
我在 Ubuntu 14.04 上使用 npm install osrm 安装了节点 osrm。这已经安装了 OSRM v4.9。下一步是设置 OSRM。我正在尝试按照 wiki 中给出的步骤进行设置-
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
当我运行 ./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
我什至添加了一个 shebang 来使用 bash,因为错误似乎是由于未使用 bash 造成的
我已经安装了所有必需的库并拥有节点 v0.12
如何才能成功运行https://github.com/Project-OSRM/node-osrm/blob/develop/Makefile文件?
【问题讨论】:
标签: linux node.js makefile installation osrm