nikhilm/node-taglib — Issue #14: Problem building master, involving lib/taglib.node
Author: orospakr
Created: 2011-12-28 00:13:43+00:00
State: open

```
[~/code/mine/phonograph/node_modules/taglib]$ npm install [master]

> taglib@0.2.1 preinstall /home/orospakr/code/mine/phonograph/node_modules/taglib
> node-waf clean || true; 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 : not found
Checking for node prefix : ok /usr/local
Checking for taglib : yes
'configure' finished successfully (0.055s)
Waf: Entering directory `/home/orospakr/code/mine/phonograph/node_modules/taglib/build'
[1/4] cxx: src/audioproperties.cc -> build/Release/src/audioproperties_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
[4/4] cxx_link: build/Release/src/audioproperties_1.o build/Release/src/tag_1.o build/Release/src/taglib_1.o -> build/Release/taglib.node
Waf: Leaving directory `/home/orospakr/code/mine/phonograph/node_modules/taglib/build'
Traceback (most recent call last):
File "/usr/local/bin/node-waf", line 16, in
Scripting.prepare(t, os.getcwd(), VERSION, wafdir)
File "/usr/local/bin/../lib/node/wafadmin/Scripting.py", line 145, in prepare
prepare_impl(t, cwd, ver, wafdir)
File "/usr/local/bin/../lib/node/wafadmin/Scripting.py", line 135, in prepare_impl
main()
File "/usr/local/bin/../lib/node/wafadmin/Scripting.py", line 188, in main
fun(ctx)
File "/usr/local/bin/../lib/node/wafadmin/Scripting.py", line 386, in build
return build_impl(bld)
File "/usr/local/bin/../lib/node/wafadmin/Scripting.py", line 411, in build_impl
bld.post_build()
File "/usr/local/bin/../lib/node/wafadmin/Build.py", line 1003, in post_build
m(self)
File "/home/orospakr/code/mine/phonograph/node_modules/taglib/wscript", line 22, in post_build
os.symlink(os.path.join(base_path, 'taglib.node'), 'lib/taglib.node')
OSError: [Errno 2] No such file or directory
npm ERR! taglib@0.2.1 preinstall: `node-waf clean || true; node-waf configure build`
npm ERR! `sh "-c" "node-waf clean || true; node-waf configure build"` failed with 1
npm ERR!
npm ERR! Failed at the taglib@0.2.1 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 || true; 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.0.0-12-generic
npm ERR! command "node" "/usr/local/bin/npm" "install"
npm ERR! cwd /home/orospakr/code/mine/phonograph/node_modules/taglib
npm ERR! node -v v0.6.1
npm ERR! npm -v 1.0.105
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/orospakr/code/mine/phonograph/node_modules/taglib/npm-debug.log
npm not ok
```