You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Checking for program gcc or cc : /usr/bin/gcc
Checking for program cpp : /usr/bin/cpp
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for program g++ or c++ : /usr/bin/g++
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for g++ : ok
Checking for node path : ok /home/alvaro/node-v0.6.5
Checking for node prefix : ok /usr/local
'configure' finished successfully (0.116s)
[email protected] install /home/alvaro/project_wii/node_modules/nodewii
make
Waf: Entering directory /home/alvaro/project_wii/node_modules/nodewii/build' [1/3] cxx: src/base.cc -> build/Release/src/base_1.o [2/3] cxx: src/wiimote.cc -> build/Release/src/wiimote_1.o ../src/base.cc:7:25: error fatal: node_events.h: No existe el archivo o el directorio ../src/wiimote.cc:8:25: error fatal: node_events.h: No existe el archivo o el directorio compilación terminada. compilación terminada. Waf: Leaving directory/home/alvaro/project_wii/node_modules/nodewii/build'
Build failed:
-> task failed (err #1):
{task: cxx base.cc -> base_1.o}
-> task failed (err #1):
{task: cxx wiimote.cc -> wiimote_1.o}
make: *** [build_bindings] Error 1
npm ERR! error installing [email protected] Error: [email protected] install: make
npm ERR! error installing [email protected]sh "-c" "make" failed with 2
npm ERR! error installing [email protected] at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/exec.js:49:20)
npm ERR! error installing [email protected] at ChildProcess.emit (events.js:70:17)
npm ERR! error installing [email protected] at maybeExit (child_process.js:359:16)
npm ERR! error installing [email protected] at Process.onexit (child_process.js:395:5)
npm ERR! [email protected] install: make
npm ERR! sh "-c" "make" failed with 2
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the nodewii package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! make
npm ERR! You can get their info via:
npm ERR! npm owner ls nodewii
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Linux 3.0.0-12-generic
npm ERR! command "node" "/usr/local/bin/npm" "install" "nodewii"
npm ERR! cwd /home/alvaro/project_wii
npm ERR! node -v v0.6.5
npm ERR! npm -v 1.1.0-alpha-6
npm ERR! code ELIFECYCLE
npm ERR! message [email protected] install: make
npm ERR! message sh "-c" "make" failed with 2
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/alvaro/project_wii/npm-debug.log
npm not ok
Any ideas?
The text was updated successfully, but these errors were encountered:
Because this was written during the node-waf era. This project needs to be ported to node-gyp, can you take a stab at it and pull request if you get it working?
@guiman and me forked this. Thanks to @AndoniZubimendi who help us with the c++ side we could build it with current node (0.8.4) using node-gyp. Feel free to go there and take a look, right now we are having some issues with the events, its like they weren't happening.
Hi there, we are trying to use this library and we cant build it. This is the system information;
Node: (0.8.5 and also tried with 0.6.5)
Ubuntu 12.04
The message displayed is:
Checking for program gcc or cc : /usr/bin/gcc
Checking for program cpp : /usr/bin/cpp
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for program g++ or c++ : /usr/bin/g++
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for g++ : ok
Checking for node path : ok /home/alvaro/node-v0.6.5
Checking for node prefix : ok /usr/local
'configure' finished successfully (0.116s)
Waf: Entering directory
/home/alvaro/project_wii/node_modules/nodewii/build' [1/3] cxx: src/base.cc -> build/Release/src/base_1.o [2/3] cxx: src/wiimote.cc -> build/Release/src/wiimote_1.o ../src/base.cc:7:25: error fatal: node_events.h: No existe el archivo o el directorio ../src/wiimote.cc:8:25: error fatal: node_events.h: No existe el archivo o el directorio compilación terminada. compilación terminada. Waf: Leaving directory
/home/alvaro/project_wii/node_modules/nodewii/build'Build failed:
-> task failed (err #1):
{task: cxx base.cc -> base_1.o}
-> task failed (err #1):
{task: cxx wiimote.cc -> wiimote_1.o}
make: *** [build_bindings] Error 1
npm ERR! error installing [email protected] Error: [email protected] install:
make
npm ERR! error installing [email protected]
sh "-c" "make"
failed with 2npm ERR! error installing [email protected] at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/exec.js:49:20)
npm ERR! error installing [email protected] at ChildProcess.emit (events.js:70:17)
npm ERR! error installing [email protected] at maybeExit (child_process.js:359:16)
npm ERR! error installing [email protected] at Process.onexit (child_process.js:395:5)
npm ERR! [email protected] install:
make
npm ERR!
sh "-c" "make"
failed with 2npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the nodewii package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! make
npm ERR! You can get their info via:
npm ERR! npm owner ls nodewii
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Linux 3.0.0-12-generic
npm ERR! command "node" "/usr/local/bin/npm" "install" "nodewii"
npm ERR! cwd /home/alvaro/project_wii
npm ERR! node -v v0.6.5
npm ERR! npm -v 1.1.0-alpha-6
npm ERR! code ELIFECYCLE
npm ERR! message [email protected] install:
make
npm ERR! message
sh "-c" "make"
failed with 2npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/alvaro/project_wii/npm-debug.log
npm not ok
Any ideas?
The text was updated successfully, but these errors were encountered: