:0:0: note: this is the location of the previous definition
In file included from ../src/mysql_bindings.cc:10:0:
/home/user/.node-gyp/0.8.18/src/node.h:61:16: fatal error: uv.h: No such file or directory
compilation terminated.
make: *** [Release/obj.target/mysql_bindings/src/mysql_bindings.o] Error 1
make: Leaving directory`/home/user/share/testlms/node_modules/mysql-libmysqlclient/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/nodejs/npm/node_modules/node-gyp/lib/build.js:255:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:99:17)
gyp ERR! stack at Process._handle.onexit (child_process.js:678:10)
gyp ERR! System Linux 3.0.0-12-generic
gyp ERR! command "node" "/usr/lib/nodejs/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/user/share/testlms/node_modules/mysql-libmysqlclient
gyp ERR! node -v v0.8.18
gyp ERR! node-gyp -v v0.8.2
gyp ERR! not ok
npm ERR! mysql-libmysqlclient@1.5.1 install: `node-gyp rebuild`
npm ERR! `sh "-c" "node-gyp rebuild"` failed with 1
npm ERR!
npm ERR! Failed at the mysql-libmysqlclient@1.5.1 install script.
npm ERR! This is most likely a problem with the mysql-libmysqlclient 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 mysql-libmysqlclient
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 3.0.0-12-generic
npm ERR! command "nodejs" "/usr/bin/npm" "install" "mysql-libmysqlclient"
npm ERR! cwd /home/user/share/testlms
npm ERR! node -v v0.8.18
npm ERR! npm -v 1.2.2
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/user/share/testlms/npm-debug.log
npm ERR! not ok code 0
Ubuntu 11.10
$ npm install mysql-libmysqlclient npm http GET https://registry.npmjs.org/mysql-libmysqlclient npm http 304 https://registry.npmjs.org/mysql-libmysqlclient
make: Entering directory `/home/user/share/testlms/node_modules/mysql-libmysqlclient/build' CXX(target) Release/obj.target/mysql_bindings/src/mysql_bindings.o ../src/mysql_bindings.cc:8:0: warning: "BUILDING_NODE_EXTENSION" redefined [enabled by default]