mariano / node-db-mysql

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

problem with instalation in suse 11.4 #75

Closed gustavoapolinario closed 12 years ago

gustavoapolinario commented 12 years ago

db-mysql@0.7.6 install /home/gustavo/node_modules/db-mysql node-waf configure build

Checking for program g++ or c++ : /usr/bin/g++ Checking for program cpp : /usr/bin/cpp Checking for program ar : /usr/bin/ar Checking for program ranlib : /usr/bin/ranlib Checking for g++ : ok
Checking for node path : not found Checking for node prefix : ok /usr Checking for program mysql_config : /usr/bin/mysql_config Checking for library mysqlclient_r : yes 'configure' finished successfully (0.448s) Waf: Entering directory /home/gustavo/node_modules/db-mysql/build' [ 1/12] cxx: lib/node-db/binding.cc -> build/Release/lib/node-db/binding_1.o [ 2/12] cxx: lib/node-db/connection.cc -> build/Release/lib/node-db/connection_1.o [ 3/12] cxx: lib/node-db/events.cc -> build/Release/lib/node-db/events_1.o [ 4/12] cxx: lib/node-db/exception.cc -> build/Release/lib/node-db/exception_1.o In file included from ../lib/node-db/events.cc:2:0: ../lib/node-db/./events.h:5:16: fatal error: v8.h: No such file or directory compilation terminated. In file included from ../lib/node-db/./binding.h:5:0, from ../lib/node-db/binding.cc:2: /usr/include/node/node.h:62:16: fatal error: v8.h: No such file or directory compilation terminated. Waf: Leaving directory/home/gustavo/node_modules/db-mysql/build' Build failed: -> task failed (err #1): {task: cxx events.cc -> events_1.o} -> task failed (err #1): {task: cxx binding.cc -> binding_1.o}

db-mysql@0.7.6 preuninstall /home/gustavo/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 1 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! npm ERR! System Linux 2.6.37.6-0.11-desktop npm ERR! command "node" "/usr/bin/npm" "install" "db-mysql" npm ERR! cwd /home/gustavo npm ERR! node -v v0.6.17 npm ERR! npm -v 1.1.21 npm ERR! code ELIFECYCLE npm ERR! message db-mysql@0.7.6 install: node-waf configure build npm ERR! message sh "-c" "node-waf configure build" failed with 1 npm ERR! errno {} npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/gustavo/npm-debug.log npm not ok

gustavoapolinario commented 12 years ago

instaling v8-devel