Closed emilsedgh closed 12 years ago
What version of node are you using? Could you also paste the output of the configure stage.
Nikhil
On Wed, Jun 6, 2012 at 7:15 PM, Emil Sedgh reply@reply.github.com wrote:
Taglib installed from '2c2a4863132c2c041df0b2adab471e0731f2dd26'.
'configure' finished successfully (0.032s) Waf: Entering directory
/home/emilsedgh/node_modules/taglib/build' [1/4] cxx: src/bufferstream.cc -> build/Release/src/bufferstream_1.o [2/4] cxx: src/tag.cc -> build/Release/src/tag_1.o [3/4] cxx: src/taglib.cc -> build/Release/src/taglib_1.o In file included from ../src/tag.cc:8:0: ../src/taglib.h:49:5: error: ‘uv_mutex_t’ does not name a type ../src/taglib.h:57:11: error: ‘uv_thread_t’ does not name a type In file included from ../src/bufferstream.cc:5:0: ../src/taglib.h:49:5: error: ‘uv_mutex_t’ does not name a type ../src/taglib.h:57:11: error: ‘uv_thread_t’ does not name a type In file included from ../src/taglib.cc:6:0: ../src/taglib.h:49:5: error: ‘uv_mutex_t’ does not name a type ../src/taglib.h:57:11: error: ‘uv_thread_t’ does not name a type ../src/taglib.cc: In constructor ‘node_taglib::CallbackResolver::CallbackResolver(v8::Persistent<v8::Function>)’: ../src/taglib.cc:305:7: error: class ‘node_taglib::CallbackResolver’ does not have any field named ‘created_in’ ../src/taglib.cc: In static member function ‘static void node_taglib::CallbackResolver::invokeResolverCb(uv_async_t*, int)’: ../src/taglib.cc:314:29: error: ‘struct node_taglib::AsyncResolverBaton’ has no member named ‘mutex’ ../src/taglib.cc:314:34: error: ‘uv_mutex_unlock’ was not declared in this scope ../src/taglib.cc: In member function ‘virtual TagLib::File* node_taglib::CallbackResolver::createFile(TagLib::FileName, bool, TagLib::AudioProperties::ReadStyle) const’: ../src/taglib.cc:341:9: error: ‘created_in’ was not declared in this scope ../src/taglib.cc:344:30: error: ‘struct node_taglib::AsyncResolverBaton’ has no member named ‘mutex’ ../src/taglib.cc:344:35: error: ‘uv_mutex_init’ was not declared in this scope ../src/taglib.cc:346:30: error: ‘struct node_taglib::AsyncResolverBaton’ has no member named ‘mutex’ ../src/taglib.cc:346:35: error: ‘uv_mutex_lock’ was not declared in this scope ../src/taglib.cc:348:30: error: ‘struct node_taglib::AsyncResolverBaton’ has no member named ‘mutex’ ../src/taglib.cc:359:9: error: ‘created_in’ was not declared in this scope ../src/taglib.cc:361:32: error: ‘struct node_taglib::AsyncResolverBaton’ has no member named ‘mutex’ ../src/taglib.cc:361:37: error: ‘uv_mutex_unlock’ was not declared in this scope ../src/taglib.cc:362:33: error: ‘struct node_taglib::AsyncResolverBaton’ has no member named ‘mutex’ ../src/taglib.cc:362:38: error: ‘uv_mutex_destroy’ was not declared in this scope Waf: Leaving directory
/home/emilsedgh/node_modules/taglib/build' Build failed:
Reply to this email directly or view it on GitHub: https://github.com/nikhilm/node-taglib/issues/30
Hi. I had 0.6.14. Removed it and installed 0.6.19. Still the same:
emilsedgh@debian ~> npm install taglib
npm http GET http://registry.npmjs.org/taglib
npm http 200 http://registry.npmjs.org/taglib
npm http GET http://registry.npmjs.org/taglib/-/taglib-0.5.0.tgz
npm http 200 http://registry.npmjs.org/taglib/-/taglib-0.5.0.tgz
taglib@0.5.0 preinstall /home/emilsedgh/node_modules/taglib
node-waf clean || (exit 0); node-waf configure build
'clean' finished successfully (0.000s)
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 : ok /home/emilsedgh/.node_libraries
Checking for node prefix : ok /usr
Checking for taglib-config : yes
'configure' finished successfully (0.037s)
Waf: Entering directory /home/emilsedgh/node_modules/taglib/build' [1/4] cxx: src/bufferstream.cc -> build/Release/src/bufferstream_1.o [2/4] cxx: src/tag.cc -> build/Release/src/tag_1.o [3/4] cxx: src/taglib.cc -> build/Release/src/taglib_1.o In file included from ../src/bufferstream.cc:5:0: ../src/taglib.h:49:5: error: ‘uv_mutex_t’ does not name a type ../src/taglib.h:57:11: error: ‘uv_thread_t’ does not name a type In file included from ../src/tag.cc:8:0: ../src/taglib.h:49:5: error: ‘uv_mutex_t’ does not name a type ../src/taglib.h:57:11: error: ‘uv_thread_t’ does not name a type In file included from ../src/taglib.cc:6:0: ../src/taglib.h:49:5: error: ‘uv_mutex_t’ does not name a type ../src/taglib.h:57:11: error: ‘uv_thread_t’ does not name a type ../src/taglib.cc: In constructor ‘node_taglib::CallbackResolver::CallbackResolver(v8::Persistent<v8::Function>)’: ../src/taglib.cc:305:7: error: class ‘node_taglib::CallbackResolver’ does not have any field named ‘created_in’ ../src/taglib.cc: In static member function ‘static void node_taglib::CallbackResolver::invokeResolverCb(uv_async_t*, int)’: ../src/taglib.cc:314:29: error: ‘struct node_taglib::AsyncResolverBaton’ has no member named ‘mutex’ ../src/taglib.cc:314:34: error: ‘uv_mutex_unlock’ was not declared in this scope ../src/taglib.cc: In member function ‘virtual TagLib::File* node_taglib::CallbackResolver::createFile(TagLib::FileName, bool, TagLib::AudioProperties::ReadStyle) const’: ../src/taglib.cc:341:9: error: ‘created_in’ was not declared in this scope ../src/taglib.cc:344:30: error: ‘struct node_taglib::AsyncResolverBaton’ has no member named ‘mutex’ ../src/taglib.cc:344:35: error: ‘uv_mutex_init’ was not declared in this scope ../src/taglib.cc:346:30: error: ‘struct node_taglib::AsyncResolverBaton’ has no member named ‘mutex’ ../src/taglib.cc:346:35: error: ‘uv_mutex_lock’ was not declared in this scope ../src/taglib.cc:348:30: error: ‘struct node_taglib::AsyncResolverBaton’ has no member named ‘mutex’ ../src/taglib.cc:359:9: error: ‘created_in’ was not declared in this scope ../src/taglib.cc:361:32: error: ‘struct node_taglib::AsyncResolverBaton’ has no member named ‘mutex’ ../src/taglib.cc:361:37: error: ‘uv_mutex_unlock’ was not declared in this scope ../src/taglib.cc:362:33: error: ‘struct node_taglib::AsyncResolverBaton’ has no member named ‘mutex’ ../src/taglib.cc:362:38: error: ‘uv_mutex_destroy’ was not declared in this scope Waf: Leaving directory
/home/emilsedgh/node_modules/taglib/build'
Build failed:
-> task failed (err #1):
{task: cxx bufferstream.cc -> bufferstream_1.o}
-> task failed (err #1):
{task: cxx tag.cc -> tag_1.o}
-> task failed (err #1):
{task: cxx taglib.cc -> taglib_1.o}
npm ERR! taglib@0.5.0 preinstall: node-waf clean || (exit 0); node-waf configure build
npm ERR! sh "-c" "node-waf clean || (exit 0); node-waf configure build"
failed with 1
npm ERR!
npm ERR! Failed at the taglib@0.5.0 preinstall 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-waf clean || (exit 0); node-waf configure build
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!
npm ERR! System Linux 3.2.0-2-amd64
npm ERR! command "node" "/usr/bin/npm" "install" "taglib"
npm ERR! cwd /home/emilsedgh
npm ERR! node -v v0.6.19
npm ERR! npm -v 1.1.24
npm ERR! code ELIFECYCLE
npm ERR! message taglib@0.5.0 preinstall: node-waf clean || (exit 0); node-waf configure build
npm ERR! message sh "-c" "node-waf clean || (exit 0); node-waf configure build"
failed with 1
npm ERR! errno {}
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/emilsedgh/npm-debug.log
npm not ok
npm not ok
Should I paste stuff here or I should use a pastebin service?
Also: emilsedgh@debian ~> taglib-config --prefix /home/emilsedgh/kde/installed
One thing to note is that I also have taglib (maybe an earlier version) installed using Debian packages. I feared they might collide, so I removed that package but nothing chaged.
Could you try with the latest push, I think that might fix it. Do let me know if it works.
Thanks, Nikhil
On Thu, Jun 7, 2012 at 4:50 PM, Emil Sedgh reply@reply.github.com wrote:
Hi. I had 0.6.14. Removed it and installed 0.6.19. Still the same:
emilsedgh@debian ~> npm install taglib npm http GET http://registry.npmjs.org/taglib npm http 200 http://registry.npmjs.org/taglib npm http GET http://registry.npmjs.org/taglib/-/taglib-0.5.0.tgz npm http 200 http://registry.npmjs.org/taglib/-/taglib-0.5.0.tgz
taglib@0.5.0 preinstall /home/emilsedgh/node_modules/taglib node-waf clean || (exit 0); node-waf configure build
'clean' finished successfully (0.000s) 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 : ok /home/emilsedgh/.node_libraries Checking for node prefix : ok /usr Checking for taglib-config : yes 'configure' finished successfully (0.037s) Waf: Entering directory
/home/emilsedgh/node_modules/taglib/build' [1/4] cxx: src/bufferstream.cc -> build/Release/src/bufferstream_1.o [2/4] cxx: src/tag.cc -> build/Release/src/tag_1.o [3/4] cxx: src/taglib.cc -> build/Release/src/taglib_1.o In file included from ../src/bufferstream.cc:5:0: ../src/taglib.h:49:5: error: ‘uv_mutex_t’ does not name a type ../src/taglib.h:57:11: error: ‘uv_thread_t’ does not name a type In file included from ../src/tag.cc:8:0: ../src/taglib.h:49:5: error: ‘uv_mutex_t’ does not name a type ../src/taglib.h:57:11: error: ‘uv_thread_t’ does not name a type In file included from ../src/taglib.cc:6:0: ../src/taglib.h:49:5: error: ‘uv_mutex_t’ does not name a type ../src/taglib.h:57:11: error: ‘uv_thread_t’ does not name a type ../src/taglib.cc: In constructor ‘node_taglib::CallbackResolver::CallbackResolver(v8::Persistent<v8::Function>)’: ../src/taglib.cc:305:7: error: class ‘node_taglib::CallbackResolver’ does not have any field named ‘created_in’ ../src/taglib.cc: In static member function ‘static void node_taglib::CallbackResolver::invokeResolverCb(uv_async_t*, int)’: ../src/taglib.cc:314:29: error: ‘struct node_taglib::AsyncResolverBaton’ has no member named ‘mutex’ ../src/taglib.cc:314:34: error: ‘uv_mutex_unlock’ was not declared in this scope ../src/taglib.cc: In member function ‘virtual TagLib::File* node_taglib::CallbackResolver::createFile(TagLib::FileName, bool, TagLib::AudioProperties::ReadStyle) const’: ../src/taglib.cc:341:9: error: ‘created_in’ was not declared in this scope ../src/taglib.cc:344:30: error: ‘struct node_taglib::AsyncResolverBaton’ has no member named ‘mutex’ ../src/taglib.cc:344:35: error: ‘uv_mutex_init’ was not declared in this scope ../src/taglib.cc:346:30: error: ‘struct node_taglib::AsyncResolverBaton’ has no member named ‘mutex’ ../src/taglib.cc:346:35: error: ‘uv_mutex_lock’ was not declared in this scope ../src/taglib.cc:348:30: error: ‘struct node_taglib::AsyncResolverBaton’ has no member named ‘mutex’ ../src/taglib.cc:359:9: error: ‘created_in’ was not declared in this scope ../src/taglib.cc:361:32: error: ‘struct node_taglib::AsyncResolverBaton’ has no member named ‘mutex’ ../src/taglib.cc:361:37: error: ‘uv_mutex_unlock’ was not declared in this scope ../src/taglib.cc:362:33: error: ‘struct node_taglib::AsyncResolverBaton’ has no member named ‘mutex’ ../src/taglib.cc:362:38: error: ‘uv_mutex_destroy’ was not declared in this scope Waf: Leaving directory
/home/emilsedgh/node_modules/taglib/build' Build failed: -> task failed (err #1): {task: cxx bufferstream.cc -> bufferstream_1.o} -> task failed (err #1): {task: cxx tag.cc -> tag_1.o} -> task failed (err #1): {task: cxx taglib.cc -> taglib_1.o}npm ERR! taglib@0.5.0 preinstall:
node-waf clean || (exit 0); node-waf configure build
npm ERR!sh "-c" "node-waf clean || (exit 0); node-waf configure build"
failed with 1 npm ERR! npm ERR! Failed at the taglib@0.5.0 preinstall 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-waf clean || (exit 0); node-waf configure build 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! npm ERR! System Linux 3.2.0-2-amd64 npm ERR! command "node" "/usr/bin/npm" "install" "taglib" npm ERR! cwd /home/emilsedgh npm ERR! node -v v0.6.19 npm ERR! npm -v 1.1.24 npm ERR! code ELIFECYCLE npm ERR! message taglib@0.5.0 preinstall:node-waf clean || (exit 0); node-waf configure build
npm ERR! messagesh "-c" "node-waf clean || (exit 0); node-waf configure build"
failed with 1 npm ERR! errno {} npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/emilsedgh/npm-debug.log npm not ok npm not okShould I paste stuff here or I should use a pastebin service?
Also: emilsedgh@debian ~> taglib-config --prefix /home/emilsedgh/kde/installed
One thing to note is that I also have taglib (maybe an earlier version) installed using Debian packages. I feared they might collide, so I removed that package but nothing chaged.
Reply to this email directly or view it on GitHub: https://github.com/nikhilm/node-taglib/issues/30#issuecomment-6173604
Hello again.
emilsedgh@debian ~/.npm> npm install node-taglib-repo/
taglib@0.5.0 preinstall /home/emilsedgh/node_modules/taglib node-waf clean || (exit 0); node-waf configure build
'clean' finished successfully (0.000s)
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 : ok /home/emilsedgh/.node_libraries
Checking for node prefix : ok /usr
Checking for taglib-config : yes
'configure' finished successfully (0.035s)
Waf: Entering directory /home/emilsedgh/node_modules/taglib/build' [1/4] cxx: src/bufferstream.cc -> build/Release/src/bufferstream_1.o [2/4] cxx: src/tag.cc -> build/Release/src/tag_1.o [3/4] cxx: src/taglib.cc -> build/Release/src/taglib_1.o In file included from ../src/tag.cc:8:0: ../src/taglib.h:50:5: error: ‘uv_mutex_t’ does not name a type ../src/taglib.h:58:11: error: ‘uv_thread_t’ does not name a type In file included from ../src/bufferstream.cc:5:0: ../src/taglib.h:50:5: error: ‘uv_mutex_t’ does not name a type ../src/taglib.h:58:11: error: ‘uv_thread_t’ does not name a type In file included from ../src/taglib.cc:6:0: ../src/taglib.h:50:5: error: ‘uv_mutex_t’ does not name a type ../src/taglib.h:58:11: error: ‘uv_thread_t’ does not name a type ../src/taglib.cc: In constructor ‘node_taglib::CallbackResolver::CallbackResolver(v8::Persistent<v8::Function>)’: ../src/taglib.cc:305:7: error: class ‘node_taglib::CallbackResolver’ does not have any field named ‘created_in’ ../src/taglib.cc: In static member function ‘static void node_taglib::CallbackResolver::invokeResolverCb(uv_async_t*, int)’: ../src/taglib.cc:314:29: error: ‘struct node_taglib::AsyncResolverBaton’ has no member named ‘mutex’ ../src/taglib.cc:314:34: error: ‘uv_mutex_unlock’ was not declared in this scope ../src/taglib.cc: In member function ‘virtual TagLib::File* node_taglib::CallbackResolver::createFile(TagLib::FileName, bool, TagLib::AudioProperties::ReadStyle) const’: ../src/taglib.cc:341:9: error: ‘created_in’ was not declared in this scope ../src/taglib.cc:344:30: error: ‘struct node_taglib::AsyncResolverBaton’ has no member named ‘mutex’ ../src/taglib.cc:344:35: error: ‘uv_mutex_init’ was not declared in this scope ../src/taglib.cc:346:30: error: ‘struct node_taglib::AsyncResolverBaton’ has no member named ‘mutex’ ../src/taglib.cc:346:35: error: ‘uv_mutex_lock’ was not declared in this scope ../src/taglib.cc:348:30: error: ‘struct node_taglib::AsyncResolverBaton’ has no member named ‘mutex’ ../src/taglib.cc:359:9: error: ‘created_in’ was not declared in this scope ../src/taglib.cc:361:32: error: ‘struct node_taglib::AsyncResolverBaton’ has no member named ‘mutex’ ../src/taglib.cc:361:37: error: ‘uv_mutex_unlock’ was not declared in this scope ../src/taglib.cc:362:33: error: ‘struct node_taglib::AsyncResolverBaton’ has no member named ‘mutex’ ../src/taglib.cc:362:38: error: ‘uv_mutex_destroy’ was not declared in this scope Waf: Leaving directory
/home/emilsedgh/node_modules/taglib/build'
Build failed:
-> task failed (err #1):
{task: cxx tag.cc -> tag_1.o}
-> task failed (err #1):
{task: cxx bufferstream.cc -> bufferstream_1.o}
-> task failed (err #1):
{task: cxx taglib.cc -> taglib_1.o}
npm ERR! taglib@0.5.0 preinstall: node-waf clean || (exit 0); node-waf configure build
npm ERR! sh "-c" "node-waf clean || (exit 0); node-waf configure build"
failed with 1
npm ERR!
npm ERR! Failed at the taglib@0.5.0 preinstall 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-waf clean || (exit 0); node-waf configure build
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!
npm ERR! System Linux 3.2.0-2-amd64
npm ERR! command "node" "/usr/bin/npm" "install" "node-taglib-repo/"
npm ERR! cwd /home/emilsedgh/.npm
npm ERR! node -v v0.6.19
npm ERR! npm -v 1.1.24
npm ERR! code ELIFECYCLE
npm ERR! message taglib@0.5.0 preinstall: node-waf clean || (exit 0); node-waf configure build
npm ERR! message sh "-c" "node-waf clean || (exit 0); node-waf configure build"
failed with 1
npm ERR! errno {}
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/emilsedgh/.npm/npm-debug.log
npm not ok
npm not ok
Im available on irc on #nodejs. Ping me if you want me to test patches more interactively. Thanks for taking care of this.
It works perfectly fine now. Thanks.
Taglib installed from '2c2a4863132c2c041df0b2adab471e0731f2dd26'.
'configure' finished successfully (0.032s) Waf: Entering directory
/home/emilsedgh/node_modules/taglib/build' [1/4] cxx: src/bufferstream.cc -> build/Release/src/bufferstream_1.o [2/4] cxx: src/tag.cc -> build/Release/src/tag_1.o [3/4] cxx: src/taglib.cc -> build/Release/src/taglib_1.o In file included from ../src/tag.cc:8:0: ../src/taglib.h:49:5: error: ‘uv_mutex_t’ does not name a type ../src/taglib.h:57:11: error: ‘uv_thread_t’ does not name a type In file included from ../src/bufferstream.cc:5:0: ../src/taglib.h:49:5: error: ‘uv_mutex_t’ does not name a type ../src/taglib.h:57:11: error: ‘uv_thread_t’ does not name a type In file included from ../src/taglib.cc:6:0: ../src/taglib.h:49:5: error: ‘uv_mutex_t’ does not name a type ../src/taglib.h:57:11: error: ‘uv_thread_t’ does not name a type ../src/taglib.cc: In constructor ‘node_taglib::CallbackResolver::CallbackResolver(v8::Persistent<v8::Function>)’: ../src/taglib.cc:305:7: error: class ‘node_taglib::CallbackResolver’ does not have any field named ‘created_in’ ../src/taglib.cc: In static member function ‘static void node_taglib::CallbackResolver::invokeResolverCb(uv_async_t*, int)’: ../src/taglib.cc:314:29: error: ‘struct node_taglib::AsyncResolverBaton’ has no member named ‘mutex’ ../src/taglib.cc:314:34: error: ‘uv_mutex_unlock’ was not declared in this scope ../src/taglib.cc: In member function ‘virtual TagLib::File* node_taglib::CallbackResolver::createFile(TagLib::FileName, bool, TagLib::AudioProperties::ReadStyle) const’: ../src/taglib.cc:341:9: error: ‘created_in’ was not declared in this scope ../src/taglib.cc:344:30: error: ‘struct node_taglib::AsyncResolverBaton’ has no member named ‘mutex’ ../src/taglib.cc:344:35: error: ‘uv_mutex_init’ was not declared in this scope ../src/taglib.cc:346:30: error: ‘struct node_taglib::AsyncResolverBaton’ has no member named ‘mutex’ ../src/taglib.cc:346:35: error: ‘uv_mutex_lock’ was not declared in this scope ../src/taglib.cc:348:30: error: ‘struct node_taglib::AsyncResolverBaton’ has no member named ‘mutex’ ../src/taglib.cc:359:9: error: ‘created_in’ was not declared in this scope ../src/taglib.cc:361:32: error: ‘struct node_taglib::AsyncResolverBaton’ has no member named ‘mutex’ ../src/taglib.cc:361:37: error: ‘uv_mutex_unlock’ was not declared in this scope ../src/taglib.cc:362:33: error: ‘struct node_taglib::AsyncResolverBaton’ has no member named ‘mutex’ ../src/taglib.cc:362:38: error: ‘uv_mutex_destroy’ was not declared in this scope Waf: Leaving directory
/home/emilsedgh/node_modules/taglib/build' Build failed: