Sannis / node-mysql-libmysqlclient

Asynchronous MySQL binding for Node.js
http://sannis.github.com/node-mysql-libmysqlclient
Other
229 stars 47 forks source link

Не собирается с для версии 0.8.18 #170

Closed zxcabs closed 11 years ago

zxcabs commented 11 years ago

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

mysql-libmysqlclient@1.5.1 install /home/user/share/testlms/node_modules/mysql-libmysqlclient node-gyp rebuild

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]

: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
Sannis commented 11 years ago

I've published 1.5.2 that works fine for me with Node.js v0.8.19 and v0.9.9, please try it :+1: and reopen this ticket if it still fails for you.