安装node 、 node-gyp:
https://nodejs.org/ 下载源码,make、sudo make install
sin@nfs ~/work/nodejs/modules $ npm install dbus
gyp_main.py: error: no such option: --no-parallel
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 2
gyp ERR! stack at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:355:16)
解决:注释/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js中no-parallel行