mariano / node-db-mysql

MySQL database bindings for Node.js
http://nodejsdb.org
150 stars 30 forks source link

Build fails on node 0.9.4 #91

Closed therealplato closed 11 years ago

therealplato commented 11 years ago

$ npm install db-mysql

npm http GET https://registry.npmjs.org/db-mysql
npm http 304 https://registry.npmjs.org/db-mysql

> db-mysql@0.7.6 install /home/plasma/project/inferno/node_modules/db-mysql
> node-waf configure build

sh: 1: node-waf: not found

> db-mysql@0.7.6 preuninstall /home/plasma/project/inferno/node_modules/db-mysql
> rm -rf build/*

npm ERR! db-mysql@0.7.6 install: `node-waf configure build`
npm ERR! `sh "-c" "node-waf configure build"` failed with 127
npm ERR! 
npm ERR! Failed at the db-mysql@0.7.6 install script.
npm ERR! This is most likely a problem with the db-mysql package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-waf configure build
npm ERR! You can get their info via:
npm ERR!     npm owner ls db-mysql
npm ERR! There is likely additional logging output above.

npm ERR! System Linux 3.2.0-23-generic
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "db-mysql"
npm ERR! cwd /home/plasma/project/inferno
npm ERR! node -v v0.9.4-pre
npm ERR! npm -v 1.1.64
npm ERR! code ELIFECYCLE
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /home/plasma/project/inferno/npm-debug.log
npm ERR! not ok code 0

npm version

{ http_parser: '1.0',
  node: '0.9.4-pre',
  v8: '3.13.7.4',
  ares: '1.9.0-DEV',
  uv: '0.9',
  zlib: '1.2.3',
  openssl: '1.0.1c',
  npm: '1.1.64',
  'application-name': '0.0.1' }
therealplato commented 11 years ago

Turned out that I needed libmysqlclient-dev on Linux Mint, not just libmysqlclient.

therealplato commented 11 years ago

Additionally mysql-server was not installed