bnoordhuis / node-buffertools

working with node.js buffers made easy
ISC License
205 stars 35 forks source link

buffertools fails to install on archlinux #43

Closed jupe closed 11 years ago

jupe commented 11 years ago

I tried to install to RaspberryPi (arclinux) and installation fails.

[xx@alarmpi src]# npm install buffertools npm WARN package.json node-home-automation@0.0.1 No README.md file found! npm http GET https://registry.npmjs.org/buffertools npm http 304 https://registry.npmjs.org/buffertools

buffertools@1.1.0 install /root/project/src/node_modules/buffertools node-gyp rebuild

gyp http GET http://nodejs.org/dist/v0.10.2/node-v0.10.2.tar.gz gyp http 200 http://nodejs.org/dist/v0.10.2/node-v0.10.2.tar.gz gyp ERR! build error gyp ERR! stack Error: not found: make gyp ERR! stack at F (/usr/lib/node_modules/npm/node_modules/which/which.js:43:28) gyp ERR! stack at E (/usr/lib/node_modules/npm/node_modules/which/which.js:46:29) gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/which.js:57:16 gyp ERR! stack at Object.oncomplete (fs.js:107:15) gyp ERR! System Linux 3.6.11-6-ARCH+ gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /root/project/src/node_modules/buffertools gyp ERR! node -v v0.10.2 gyp ERR! node-gyp -v v0.9.3 gyp ERR! not ok npm ERR! buffertools@1.1.0 install: node-gyp rebuild npm ERR! sh "-c" "node-gyp rebuild" failed with 1 npm ERR! npm ERR! Failed at the buffertools@1.1.0 install script. npm ERR! This is most likely a problem with the buffertools package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node-gyp rebuild npm ERR! You can get their info via: npm ERR! npm owner ls buffertools npm ERR! There is likely additional logging output above.

npm ERR! System Linux 3.6.11-6-ARCH+ npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "buffertools" npm ERR! cwd /root/project/src npm ERR! node -v v0.10.2 npm ERR! npm -v 1.2.15 npm ERR! code ELIFECYCLE npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /root/project/src/npm-debug.log npm ERR! not ok code 0

bnoordhuis commented 11 years ago

You need to install make (and probably g++ as well.)