Closed slapheadted closed 11 years ago
Could you attach the full dump please?
Same issue for me. Here's the full dump : (ubuntu server 12.04 LTS, node.js 0.10.5, node-gyp 0.9.5)
$ npm install
npm WARN package.json pular@0.0.1 No README.md file found!
npm http GET https://registry.npmjs.org/taglib
npm http 200 https://registry.npmjs.org/taglib
npm http GET https://registry.npmjs.org/taglib/-/taglib-0.7.0.tgz
npm http 200 https://registry.npmjs.org/taglib/-/taglib-0.7.0.tgz
npm http GET https://registry.npmjs.org/bindings/1.0.0
npm http 200 https://registry.npmjs.org/bindings/1.0.0
npm http GET https://registry.npmjs.org/bindings/-/bindings-1.0.0.tgz
npm http 200 https://registry.npmjs.org/bindings/-/bindings-1.0.0.tgz
> taglib@0.7.0 install /home/harebox/apps/pulsar/node_modules/taglib
> node-gyp rebuild
gyp http GET http://nodejs.org/dist/v0.10.5/node-v0.10.5.tar.gz
gyp http 200 http://nodejs.org/dist/v0.10.5/node-v0.10.5.tar.gz
/bin/sh: 1: taglib-config: not found
gyp: Call to 'taglib-config --cflags' returned exit status 127. while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/home/harebox/apps/node-v0.10.5-linux-x64/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:415:16)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:784:12)
gyp ERR! System Linux 3.5.0-23-generic
gyp ERR! command "node" "/home/harebox/apps/node-v0.10.5-linux-x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/harebox/apps/pulsar/node_modules/taglib
gyp ERR! node -v v0.10.5
gyp ERR! node-gyp -v v0.9.5
gyp ERR! not ok
npm ERR! taglib@0.7.0 install: `node-gyp rebuild`
npm ERR! `sh "-c" "node-gyp rebuild"` failed with 1
npm ERR!
npm ERR! Failed at the taglib@0.7.0 install script.
npm ERR! This is most likely a problem with the taglib 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 taglib
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 3.5.0-23-generic
npm ERR! command "/home/harebox/apps/node/bin/node" "/home/harebox/apps/node/bin/npm" "install"
npm ERR! cwd /home/harebox/apps/pulsar
npm ERR! node -v v0.10.5
npm ERR! npm -v 1.2.18
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/harebox/apps/pulsar/npm-debug.log
npm ERR! not ok code 0
@harebox it seems you just don't have taglib installed or taglib-config is not in your path. at least that would be the problem on Unix. I'm not sure where taglib-config goes on windows.
$ npm install taglib npm WARN package.json nukebox@0.0.1 No README.md file found! npm http GET https://registry.npmjs.org/taglib npm http 304 https://registry.npmjs.org/taglib npm http GET https://registry.npmjs.org/bindings/1.0.0 npm http 304 https://registry.npmjs.org/bindings/1.0.0
taglib@0.7.0 install /home/chris/nodeProjects/nukebox/node_modules/taglib node-gyp rebuild
gyp http GET http://nodejs.org/dist/v0.10.5/node-v0.10.5.tar.gz
gyp http 200 http://nodejs.org/dist/v0.10.5/node-v0.10.5.tar.gz
make: Entering directory /home/chris/nodeProjects/nukebox/node_modules/taglib/build' CXX(target) Release/obj.target/taglib/src/bufferstream.o In file included from ../src/bufferstream.cc:5:0: ../src/taglib.h:26:22: warning: ‘TagLib::File* node_taglib::createFile(TagLib::IOStream*, TagLib::String)’ declared ‘static’ but never defined [-Wunused-function] CXX(target) Release/obj.target/taglib/src/tag.o ../src/tag.cc: In static member function ‘static v8::Handle<v8::Value> node_taglib::Tag::SyncTag(const v8::Arguments&)’: ../src/tag.cc:163:49: warning: suggest parentheses around assignment used as truth value [-Wparentheses] ../src/tag.cc:172:124: warning: suggest parentheses around assignment used as truth value [-Wparentheses] ../src/tag.cc: In static member function ‘static v8::Handle<v8::Value> node_taglib::Tag::AsyncTag(const v8::Arguments&)’: ../src/tag.cc:228:98: error: invalid conversion from ‘void (*)(uv_work_t*) {aka void (*)(uv_work_s*)}’ to ‘uv_after_work_cb {aka void (*)(uv_work_s*, int)}’ [-fpermissive] In file included from /home/chris/.node-gyp/0.10.5/src/node.h:61:0, from ../src/tag.h:5, from ../src/tag.cc:1: /home/chris/.node-gyp/0.10.5/deps/uv/include/uv.h:1411:15: error: initializing argument 4 of ‘int uv_queue_work(uv_loop_t*, uv_work_t*, uv_work_cb, uv_after_work_cb)’ [-fpermissive] ../src/tag.cc: In static member function ‘static v8::Handle<v8::Value> node_taglib::Tag::AsyncSaveTag(const v8::Arguments&)’: ../src/tag.cc:291:98: error: invalid conversion from ‘void (*)(uv_work_t*) {aka void (*)(uv_work_s*)}’ to ‘uv_after_work_cb {aka void (*)(uv_work_s*, int)}’ [-fpermissive] In file included from /home/chris/.node-gyp/0.10.5/src/node.h:61:0, from ../src/tag.h:5, from ../src/tag.cc:1: /home/chris/.node-gyp/0.10.5/deps/uv/include/uv.h:1411:15: error: initializing argument 4 of ‘int uv_queue_work(uv_loop_t*, uv_work_t*, uv_work_cb, uv_after_work_cb)’ [-fpermissive] In file included from ../src/tag.cc:8:0: ../src/taglib.h: At global scope: ../src/taglib.h:26:22: warning: ‘TagLib::File* node_taglib::createFile(TagLib::IOStream*, TagLib::String)’ declared ‘static’ but never defined [-Wunused-function] ../src/tag.cc:17:20: warning: ‘suseconds_t node_taglib::now()’ defined but not used [-Wunused-function] make: *** [Release/obj.target/taglib/src/tag.o] Error 1 make: Leaving directory
/home/chris/nodeProjects/nukebox/node_modules/taglib/build'
gyp ERR! build error
gyp ERR! stack Error: make
failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:784:12)
gyp ERR! System Linux 3.5.0-28-generic
gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/chris/nodeProjects/nukebox/node_modules/taglib
gyp ERR! node -v v0.10.5
gyp ERR! node-gyp -v v0.9.5
gyp ERR! not ok
npm ERR! taglib@0.7.0 install: node-gyp rebuild
npm ERR! sh "-c" "node-gyp rebuild"
failed with 1
npm ERR!
npm ERR! Failed at the taglib@0.7.0 install script.
npm ERR! This is most likely a problem with the taglib 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 taglib
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 3.5.0-28-generic npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "taglib" npm ERR! cwd /home/chris/nodeProjects/nukebox npm ERR! node -v v0.10.5 npm ERR! npm -v 1.2.18 npm ERR! code ELIFECYCLE
sorry I'm on vacation for a few days. I'll check this out on Wednesday.
v0.7.0 is not compatible with node v0.10. Please try with v0.8, or if you really want to use v0.10, compile from git commit e56ff8cd9b7ed1b794550539fa0e99ae09d8ed4a
Thank you! Now it works :-)
I'm running 0.10.4 Node.JS and node-gyp 0.9.5. When I run "npm install taglib" the build process fails with a bunch of output.
Do you need anything from me to help resolve this issue? The full terminal dump?