Open p1234321 opened 8 years ago
Hi Paul,
It look like you do not have the make (compile) tools installed: "gyp ERR! stack Error: not found: make" I do not know which Linux flavour you are using but you need the following software/packages:
Regards, Michel
wow! thanks for the fast reply!!! i just installed gcc and make but still get the same errors. i run volumio os (debían based distro)
here is the error:
volumio@jim:~$ npm install lirc_client
lirc_client@1.0.0 install /home/volumio/node_modules/lirc_client node-gyp rebuild
make: Entering directory '/home/volumio/node_modules/lirc_client/build'
CXX(target) Release/obj.target/lirc_client/src/lirc_client.o
make: g++: Command not found
lirc_client.target.mk:90: recipe for target 'Release/obj.target/lirc_client/src/lirc_client.o' failed
make: *\ [Release/obj.target/lirc_client/src/lirc_client.o] Error 127
make: Leaving directory '/home/volumio/node_modules/lirc_client/build'
gyp ERR! build error
gyp ERR! stack Error: make
failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:204:12)
gyp ERR! System Linux 4.4.9+
gyp ERR! command "/bin/node" "/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/volumio/node_modules/lirc_client
gyp ERR! node -v v6.3.0
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok
npm WARN enoent ENOENT: no such file or directory, open '/home/volumio/package.json'
npm WARN volumio No description
npm WARN volumio No repository field.
npm WARN volumio No README data
npm WARN volumio No license field.
npm ERR! Linux 4.4.9+
npm ERR! argv "/bin/node" "/usr/local/bin/npm" "install" "lirc_client"
npm ERR! node v6.3.0
npm ERR! npm v3.10.3
npm ERR! code ELIFECYCLE
npm ERR! lirc_client@1.0.0 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the lirc_client@1.0.0 install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the lirc_client 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 information on how to open an issue for this project with:
npm ERR! npm bugs lirc_client
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls lirc_client
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request: npm ERR! /home/volumio/npm-debug.log volumio@jim:~$
thanks for the help
paul
paul pritz hugo-wolf-gasse 10/81 8010 Graz tel: 06503332443
Am 19.08.2016 um 17:36 schrieb Michel Verbraak notifications@github.com:
Hi Paul,
It look like you do not have the make (compile) tools installed: "gyp ERR! stack Error: not found: make" I do not know which Linux flavour you are using but you need the following software/packages:
make gcc lirc-devel Regards, Michel
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/1stsetup/node-lirc_client/issues/3#issuecomment-241052348, or mute the thread https://github.com/notifications/unsubscribe-auth/ALgoi6Ow3hompRPpaJyYk9fWZQepwyj-ks5qhc10gaJpZM4JodY6.
so now i figured out i had to install build-essentials and of course g++ (duhhh)… but now i still get the following error:
volumio@jim:~$ npm install lirc_client
lirc_client@1.0.0 install /home/volumio/node_modules/lirc_client node-gyp rebuild
make: Entering directory '/home/volumio/node_modules/lirc_client/build'
CXX(target) Release/obj.target/lirc_client/src/lirc_client.o
../src/lirc_client.cc:32:8: error: 'uv_poll_t' does not name a type
static uv_poll_t _readwatcher = NULL;
^
../src/lirc_client.cc:55:23: error: variable or field 'io_event' declared void
static void io_event (uv_pollt req, int status, int revents);
^
../src/lirc_client.cc:55:23: error: 'uv_poll_t' was not declared in this scope
../src/lirc_client.cc:55:34: error: 'req' was not declared in this scope
static void io_event (uv_poll_t* req, int status, int revents);
^
../src/lirc_client.cc:55:39: error: expected primary-expression before 'int'
static void io_event (uv_poll_t* req, int status, int revents);
^
../src/lirc_client.cc:55:51: error: expected primary-expression before 'int'
static void io_event (uv_poll_t* req, int status, int revents);
^
../src/lirc_client.cc: In function 'void connect(v8::Handlev8::String, v8::Handlev8::Boolean, v8::Handlev8::String, v8::Handlev8::Function)':
../src/lircclient.cc:61:38: error: invalid conversion from 'int' to 'v8::Isolate' [-fpermissive]
Localmake
failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:204:12)
gyp ERR! System Linux 4.4.9+
gyp ERR! command "/bin/node" "/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/volumio/node_modules/lirc_client
gyp ERR! node -v v6.3.0
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok
npm WARN enoent ENOENT: no such file or directory, open '/home/volumio/package.json'
npm WARN volumio No description
npm WARN volumio No repository field.
npm WARN volumio No README data
npm WARN volumio No license field.
npm ERR! Linux 4.4.9+
npm ERR! argv "/bin/node" "/usr/local/bin/npm" "install" "lirc_client"
npm ERR! node v6.3.0
npm ERR! npm v3.10.3
npm ERR! code ELIFECYCLE
npm ERR! lirc_client@1.0.0 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the lirc_client@1.0.0 install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the lirc_client 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 information on how to open an issue for this project with:
npm ERR! npm bugs lirc_client
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls lirc_client
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request: npm ERR! /home/volumio/npm-debug.log
sooooo many thanks!!!
paul pritz hugo-wolf-gasse 10/81 8010 Graz tel: 06503332443
Am 19.08.2016 um 17:36 schrieb Michel Verbraak notifications@github.com:
Hi Paul,
It look like you do not have the make (compile) tools installed: "gyp ERR! stack Error: not found: make" I do not know which Linux flavour you are using but you need the following software/packages:
make gcc lirc-devel Regards, Michel
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/1stsetup/node-lirc_client/issues/3#issuecomment-241052348, or mute the thread https://github.com/notifications/unsubscribe-auth/ALgoi6Ow3hompRPpaJyYk9fWZQepwyj-ks5qhc10gaJpZM4JodY6.
Paul, It appears that nodejs has changed some thing in dependencies and other part. So I need to check what has changed ad how to modify the source to comply to it. Originally this module was written for nodejs 0.10 but I see you are using 6.3
So either use nodejs 0.10 or wait until I have time to fix it. You may also try to fix it yourself and provide the fix..
Regards Michel.
thank you very much for all the effort. i’m not really a programmer so i doubt i could make the fix. but please let me know if and when you find time to fix it. but i of course understand that it will take some while…
best regards and many thanks again
paul
paul pritz hugo-wolf-gasse 10/81 8010 Graz tel: 06503332443
Am 20.08.2016 um 11:31 schrieb Michel Verbraak notifications@github.com:
Paul, It appears that nodejs has changed some thing in dependencies and other part. So I need to check what has changed ad how to modify the source to comply to it. Originally this module was written for nodejs 0.10 but I see you are using 6.3
So either use nodejs 0.10 or wait until I have time to fix it. You may also try to fix it yourself and provide the fix..
Regards Michel.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/1stsetup/node-lirc_client/issues/3#issuecomment-241189691, or mute the thread https://github.com/notifications/unsubscribe-auth/ALgoi8s1tuH34_50X1GUCLIg1mylstmiks5qhslmgaJpZM4JodY6.
hello! thanky for your wonderful plugin! already searched a lot for something like this. sadly i'm getting errors during install: `npm install lirc_client
gyp ERR! build error gyp ERR! stack Error: not found: make gyp ERR! stack at getNotFoundError (/lib/node_modules/npm/node_modules/which/which.js:14:12) gyp ERR! stack at F (/lib/node_modules/npm/node_modules/which/which.js:69:19) gyp ERR! stack at E (/lib/node_modules/npm/node_modules/which/which.js:81:29) gyp ERR! stack at /lib/node_modules/npm/node_modules/which/which.js:90:16 gyp ERR! stack at /lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5 gyp ERR! stack at /lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5 gyp ERR! stack at FSReqWrap.oncomplete (fs.js:123:15) gyp ERR! System Linux 4.4.9+ gyp ERR! command "/bin/node" "/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /home/volumio/node_modules/lirc_client gyp ERR! node -v v6.3.0 gyp ERR! node-gyp -v v3.3.1 gyp ERR! not ok npm WARN enoent ENOENT: no such file or directory, open '/home/volumio/package.json' npm WARN volumio No description npm WARN volumio No repository field. npm WARN volumio No README data npm WARN volumio No license field. npm ERR! Linux 4.4.9+ npm ERR! argv "/bin/node" "/usr/local/bin/npm" "install" "lirc_client" npm ERR! node v6.3.0 npm ERR! npm v3.10.3 npm ERR! code ELIFECYCLE
npm ERR! lirc_client@1.0.0 install:
node-gyp rebuild
npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the lirc_client@1.0.0 install script 'node-gyp rebuild'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the lirc_client 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 information on how to open an issue for this project with: npm ERR! npm bugs lirc_client npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls lirc_client npm ERR! There is likely additional logging output above.npm ERR! Please include the following file with any support request: npm ERR! /home/volumio/npm-debug.log`
please help
best regards
paul