bnoordhuis/node-buffertools — Issue #26: Unable to build (Linux)
Author: tbeseda
Created: 2012-02-29 23:51:49+00:00
State: open

I can build just fine on OS X (dependency to emailjs).

Both dev and production environments:
node --version is `0.6.10`
python --version is `2.7.1+`

`npm install` on production yields:

```
> ./build-wrapper

Traceback (most recent call last):
File "./build-wrapper", line 8, in
status = subprocess.call('node-waf configure build'.split())
File "/usr/lib/python2.7/subprocess.py", line 486, in call
return Popen(*popenargs, **kwargs).wait()
File "/usr/lib/python2.7/subprocess.py", line 672, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1213, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
npm ERR! error installing buffertools@1.0.7
npm ERR! error installing emailjs@0.2.2

npm ERR! buffertools@1.0.7 preinstall: `./build-wrapper`
npm ERR! `sh "-c" "./build-wrapper"` failed with 1
npm ERR!
npm ERR! Failed at the buffertools@1.0.7 preinstall 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! ./build-wrapper
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!
npm ERR! System Linux 2.6.38-13-generic-pae
npm ERR! command "node" "/usr/bin/npm" "install"
npm ERR! cwd /var/www/test-rocket
npm ERR! node -v v0.6.10
npm ERR! npm -v 1.1.1
npm ERR! code ELIFECYCLE
npm ERR! message buffertools@1.0.7 preinstall: `./build-wrapper`
npm ERR! message `sh "-c" "./build-wrapper"` failed with 1
npm ERR! errno {}
```

I'm sure it's something I haven't set up properly.
Any help is much appreciated.