0.6.0 fails to compile #34

Closed
masterkain opened this Issue Jun 23, 2012 · 25 comments

Comments

Projects
None yet
4 participants
@masterkain
Contributor

masterkain commented Jun 23, 2012

Hi,
on my server env (Ubuntu with https://launchpad.net/ubuntu/oneiric/+package/libtag1-dev) I get this when upgrading to 0.6.0:


Build failed:  -> task failed (err #1):

{task: cxx bufferstream.cc -> bufferstream_1.o}

npm ERR! taglib@0.6.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.6.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.0.0-20-virtual
npm ERR! command "node" "/usr/local/bin/npm" "install"
npm ERR! cwd /home/ubuntu/apps/myapp-node/releases/20120623000120
npm ERR! node -v v0.6.17
npm ERR! npm -v 1.1.21
npm ERR! code ELIFECYCLE
npm ERR! message taglib@0.6.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/ubuntu/apps/myapp-node/releases/20120623000120/npm-debug.log
npm not ok

The version we are using is 0.3.1, but we tried to upgrade because we started getting segfaults.

@masterkain

This comment has been minimized.

Show comment Hide comment
@masterkain

masterkain Jun 23, 2012

Contributor

0.5.0 fails as well.

Contributor

masterkain commented Jun 23, 2012

0.5.0 fails as well.

@nikhilm

This comment has been minimized.

Show comment Hide comment
@nikhilm

nikhilm Jun 23, 2012

Owner

Could you include a full log please, I can't see the compiler output.
Try cloning manually and running node-waf configure build and paste the output here.
Thanks!

Owner

nikhilm commented Jun 23, 2012

Could you include a full log please, I can't see the compiler output.
Try cloning manually and running node-waf configure build and paste the output here.
Thanks!

@masterkain

This comment has been minimized.

Show comment Hide comment
@masterkain

masterkain Jun 23, 2012

Contributor

Here it is:

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-config               : yes 
'configure' finished successfully (0.110s)
Waf: Entering directory `/home/ubuntu/source/node-taglib/build'
[1/4] cxx: src/bufferstream.cc -> build/Release/src/bufferstream_1.o
In file included from ../src/bufferstream.cc:1:0:
../src/bufferstream.h:8:23: fatal error: tiostream.h: No such file or directory
compilation terminated.
Waf: Leaving directory `/home/ubuntu/source/node-taglib/build'
Build failed:  -> task failed (err #1): 
    {task: cxx bufferstream.cc -> bufferstream_1.o}

thanks!

Contributor

masterkain commented Jun 23, 2012

Here it is:

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-config               : yes 
'configure' finished successfully (0.110s)
Waf: Entering directory `/home/ubuntu/source/node-taglib/build'
[1/4] cxx: src/bufferstream.cc -> build/Release/src/bufferstream_1.o
In file included from ../src/bufferstream.cc:1:0:
../src/bufferstream.h:8:23: fatal error: tiostream.h: No such file or directory
compilation terminated.
Waf: Leaving directory `/home/ubuntu/source/node-taglib/build'
Build failed:  -> task failed (err #1): 
    {task: cxx bufferstream.cc -> bufferstream_1.o}

thanks!

@masterkain

This comment has been minimized.

Show comment Hide comment
@masterkain

masterkain Jun 23, 2012

Contributor

Apparently a file is missing somewhere; upgrading to Ubuntu 12.04 and relative packages sorted no effect.

Contributor

masterkain commented Jun 23, 2012

Apparently a file is missing somewhere; upgrading to Ubuntu 12.04 and relative packages sorted no effect.

@nikhilm

This comment has been minimized.

Show comment Hide comment
@nikhilm

nikhilm Jun 23, 2012

Owner

node-taglib requires taglib v1.8 (which is basically built from taglib git master https://github.com/taglib/taglib).
1.8 has not had a stable release yet, but I've been using it for a long time without problems. In fact there are some important bug fixes which are required for the async API. Please consider manually installing 1.8

Owner

nikhilm commented Jun 23, 2012

node-taglib requires taglib v1.8 (which is basically built from taglib git master https://github.com/taglib/taglib).
1.8 has not had a stable release yet, but I've been using it for a long time without problems. In fact there are some important bug fixes which are required for the async API. Please consider manually installing 1.8

@masterkain

This comment has been minimized.

Show comment Hide comment
@masterkain

masterkain Jun 23, 2012

Contributor

Thanks, compiling taglib from source appears to have fixed it.

Contributor

masterkain commented Jun 23, 2012

Thanks, compiling taglib from source appears to have fixed it.

@masterkain masterkain closed this Jun 23, 2012

@scttnlsn

This comment has been minimized.

Show comment Hide comment
@scttnlsn

scttnlsn Jan 5, 2014

I'm having the same problem w/ Node v0.10.21 running on a Raspberry Pi:

$ taglib-config --version
1.8.0
$ node --version
v0.10.21
$ npm install taglib
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.8.0 install /home/pi/node_modules/taglib
> node-gyp rebuild

make: Entering directory `/home/pi/node_modules/taglib/build'
  CXX(target) Release/obj.target/taglib/src/bufferstream.o
In file included from ../src/bufferstream.cc:1:0:
../src/bufferstream.h:8:23: fatal error: tiostream.h: No such file or directory
compilation terminated.
make: *** [Release/obj.target/taglib/src/bufferstream.o] Error 1
make: Leaving directory `/home/pi/node_modules/taglib/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/opt/node/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:789:12)
gyp ERR! System Linux 3.6.11+
gyp ERR! command "node" "/opt/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/pi/node_modules/taglib
gyp ERR! node -v v0.10.21
gyp ERR! node-gyp -v v0.10.10
gyp ERR! not ok 
npm ERR! weird error 1
npm ERR! not ok code 0

I compiled taglib from source (tried both the latest version 1.9.1 as well as 1.8).

scttnlsn commented Jan 5, 2014

I'm having the same problem w/ Node v0.10.21 running on a Raspberry Pi:

$ taglib-config --version
1.8.0
$ node --version
v0.10.21
$ npm install taglib
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.8.0 install /home/pi/node_modules/taglib
> node-gyp rebuild

make: Entering directory `/home/pi/node_modules/taglib/build'
  CXX(target) Release/obj.target/taglib/src/bufferstream.o
In file included from ../src/bufferstream.cc:1:0:
../src/bufferstream.h:8:23: fatal error: tiostream.h: No such file or directory
compilation terminated.
make: *** [Release/obj.target/taglib/src/bufferstream.o] Error 1
make: Leaving directory `/home/pi/node_modules/taglib/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/opt/node/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:789:12)
gyp ERR! System Linux 3.6.11+
gyp ERR! command "node" "/opt/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/pi/node_modules/taglib
gyp ERR! node -v v0.10.21
gyp ERR! node-gyp -v v0.10.10
gyp ERR! not ok 
npm ERR! weird error 1
npm ERR! not ok code 0

I compiled taglib from source (tried both the latest version 1.9.1 as well as 1.8).

@nikhilm

This comment has been minimized.

Show comment Hide comment
@nikhilm

nikhilm Jan 6, 2014

Owner

Is taglib-config in the path?

Owner

nikhilm commented Jan 6, 2014

Is taglib-config in the path?

@scttnlsn

This comment has been minimized.

Show comment Hide comment
@scttnlsn

scttnlsn Jan 6, 2014

Yeah.

scttnlsn commented Jan 6, 2014

Yeah.

@nikhilm

This comment has been minimized.

Show comment Hide comment
@nikhilm

nikhilm Jan 6, 2014

Owner

what is the output of taglib-config --cflags and taglib-config --libs

Owner

nikhilm commented Jan 6, 2014

what is the output of taglib-config --cflags and taglib-config --libs

@scttnlsn

This comment has been minimized.

Show comment Hide comment
@scttnlsn

scttnlsn Jan 6, 2014

$ taglib-config --cflags
-I/usr/local/include/taglib
$ taglib-config --libs
-L/usr/local/lib -ltag

scttnlsn commented Jan 6, 2014

$ taglib-config --cflags
-I/usr/local/include/taglib
$ taglib-config --libs
-L/usr/local/lib -ltag
@nikhilm

This comment has been minimized.

Show comment Hide comment
@nikhilm

nikhilm Jan 6, 2014

Owner

And does tiostream.h exist in /usr/local/include/taglib

Owner

nikhilm commented Jan 6, 2014

And does tiostream.h exist in /usr/local/include/taglib

@scttnlsn

This comment has been minimized.

Show comment Hide comment
@scttnlsn

scttnlsn Jan 6, 2014

Yup, it's there.

scttnlsn commented Jan 6, 2014

Yup, it's there.

@nikhilm

This comment has been minimized.

Show comment Hide comment
@nikhilm

nikhilm Jan 6, 2014

Owner

Hmm... Could you try changing the line in bufferstream.h to be taglib/tiostream.h? I'm not able to reproduce this with 1.9.1 on Archlinux with taglib installed in /usr. Also, could you paste the full command line that gcc is being invoked with? I'm not sure how to make npm show it.

Owner

nikhilm commented Jan 6, 2014

Hmm... Could you try changing the line in bufferstream.h to be taglib/tiostream.h? I'm not able to reproduce this with 1.9.1 on Archlinux with taglib installed in /usr. Also, could you paste the full command line that gcc is being invoked with? I'm not sure how to make npm show it.

@scttnlsn

This comment has been minimized.

Show comment Hide comment
@scttnlsn

scttnlsn Jan 6, 2014

When I change bufferstream.h and run npm install . I get:

> taglib@0.8.0 install /home/pi/node-taglib
> node-gyp rebuild

make: Entering directory `/home/pi/node-taglib/build'
  CXX(target) Release/obj.target/taglib/src/bufferstream.o
  CXX(target) Release/obj.target/taglib/src/tag.o
In file included from ../src/tag.cc:8:0:
../src/taglib.h:21:19: error: ‘IOStream’ is not a member of ‘TagLib’
../src/taglib.h:21:37: error: ‘stream’ was not declared in this scope
../src/taglib.h:21:60: error: expected primary-expression before ‘format’
../src/taglib.h:21:84: error: expected primary-expression before ‘*’ token
../src/taglib.h:21:86: error: ‘ref’ was not declared in this scope
../src/taglib.h:21:89: error: expression list treated as compound expression in initializer [-fpermissive]
../src/taglib.h:22:26: error: ‘IOStream’ is not a member of ‘TagLib’
../src/taglib.h:22:44: error: ‘stream’ was not declared in this scope
../src/taglib.h:22:67: error: expected primary-expression before ‘format’
../src/taglib.h:22:73: error: expression list treated as compound expression in initializer [-fpermissive]
../src/tag.cc: In static member function ‘static v8::Handle<v8::Value> node_taglib::Tag::SyncTag(const v8::Arguments&)’:
../src/tag.cc:165:124: error: ‘node_taglib::CreateFileRef’ cannot be used as a function
../src/tag.cc: In static member function ‘static void node_taglib::Tag::AsyncTagReadDo(uv_work_t*)’:
../src/tag.cc:236:83: error: ‘node_taglib::CreateFileRef’ cannot be used as a function
make: *** [Release/obj.target/taglib/src/tag.o] Error 1
make: Leaving directory `/home/pi/node-taglib/build'

What do you mean by "the full command line that gcc is being invoked with"?

$ which gcc
/usr/bin/gcc

scttnlsn commented Jan 6, 2014

When I change bufferstream.h and run npm install . I get:

> taglib@0.8.0 install /home/pi/node-taglib
> node-gyp rebuild

make: Entering directory `/home/pi/node-taglib/build'
  CXX(target) Release/obj.target/taglib/src/bufferstream.o
  CXX(target) Release/obj.target/taglib/src/tag.o
In file included from ../src/tag.cc:8:0:
../src/taglib.h:21:19: error: ‘IOStream’ is not a member of ‘TagLib’
../src/taglib.h:21:37: error: ‘stream’ was not declared in this scope
../src/taglib.h:21:60: error: expected primary-expression before ‘format’
../src/taglib.h:21:84: error: expected primary-expression before ‘*’ token
../src/taglib.h:21:86: error: ‘ref’ was not declared in this scope
../src/taglib.h:21:89: error: expression list treated as compound expression in initializer [-fpermissive]
../src/taglib.h:22:26: error: ‘IOStream’ is not a member of ‘TagLib’
../src/taglib.h:22:44: error: ‘stream’ was not declared in this scope
../src/taglib.h:22:67: error: expected primary-expression before ‘format’
../src/taglib.h:22:73: error: expression list treated as compound expression in initializer [-fpermissive]
../src/tag.cc: In static member function ‘static v8::Handle<v8::Value> node_taglib::Tag::SyncTag(const v8::Arguments&)’:
../src/tag.cc:165:124: error: ‘node_taglib::CreateFileRef’ cannot be used as a function
../src/tag.cc: In static member function ‘static void node_taglib::Tag::AsyncTagReadDo(uv_work_t*)’:
../src/tag.cc:236:83: error: ‘node_taglib::CreateFileRef’ cannot be used as a function
make: *** [Release/obj.target/taglib/src/tag.o] Error 1
make: Leaving directory `/home/pi/node-taglib/build'

What do you mean by "the full command line that gcc is being invoked with"?

$ which gcc
/usr/bin/gcc
@nikhilm

This comment has been minimized.

Show comment Hide comment
@nikhilm

nikhilm Jan 6, 2014

Owner

I meant gcc with all the flags and filenames that are passed to it to run the command that node-gyp is running. There is some flag to pass to node-gyp, but i can't find it. try VERBOSE=1 node-gyp rebuild

Owner

nikhilm commented Jan 6, 2014

I meant gcc with all the flags and filenames that are passed to it to run the command that node-gyp is running. There is some flag to pass to node-gyp, but i can't find it. try VERBOSE=1 node-gyp rebuild

@scttnlsn

This comment has been minimized.

Show comment Hide comment
@scttnlsn

scttnlsn Jan 7, 2014

$ VERBOSE=1 node-gyp rebuild
gyp info it worked if it ends with ok
gyp info using node-gyp@0.12.2
gyp info using node@0.10.21 | linux | arm
gyp info spawn python
gyp info spawn args [ '/usr/lib/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'make',
gyp info spawn args   '-I',
gyp info spawn args   '/home/pi/node-taglib/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/usr/lib/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/home/pi/.node-gyp/0.10.21/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/home/pi/.node-gyp/0.10.21',
gyp info spawn args   '-Dmodule_root_dir=/home/pi/node-taglib',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.' ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make: Entering directory `/home/pi/node-taglib/build'
  CXX(target) Release/obj.target/taglib/src/bufferstream.o
  CXX(target) Release/obj.target/taglib/src/tag.o
  CXX(target) Release/obj.target/taglib/src/taglib.o
  SOLINK_MODULE(target) Release/obj.target/taglib.node
  SOLINK_MODULE(target) Release/obj.target/taglib.node: Finished
  COPY Release/taglib.node
make: Leaving directory `/home/pi/node-taglib/build'
gyp info ok 

scttnlsn commented Jan 7, 2014

$ VERBOSE=1 node-gyp rebuild
gyp info it worked if it ends with ok
gyp info using node-gyp@0.12.2
gyp info using node@0.10.21 | linux | arm
gyp info spawn python
gyp info spawn args [ '/usr/lib/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'make',
gyp info spawn args   '-I',
gyp info spawn args   '/home/pi/node-taglib/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/usr/lib/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/home/pi/.node-gyp/0.10.21/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/home/pi/.node-gyp/0.10.21',
gyp info spawn args   '-Dmodule_root_dir=/home/pi/node-taglib',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.' ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make: Entering directory `/home/pi/node-taglib/build'
  CXX(target) Release/obj.target/taglib/src/bufferstream.o
  CXX(target) Release/obj.target/taglib/src/tag.o
  CXX(target) Release/obj.target/taglib/src/taglib.o
  SOLINK_MODULE(target) Release/obj.target/taglib.node
  SOLINK_MODULE(target) Release/obj.target/taglib.node: Finished
  COPY Release/taglib.node
make: Leaving directory `/home/pi/node-taglib/build'
gyp info ok 
@nikhilm

This comment has been minimized.

Show comment Hide comment
@nikhilm

nikhilm Jan 7, 2014

Owner

well that seems to have succeeded, no?

Owner

nikhilm commented Jan 7, 2014

well that seems to have succeeded, no?

@scttnlsn

This comment has been minimized.

Show comment Hide comment
@scttnlsn

scttnlsn Jan 7, 2014

npm install . still fails

scttnlsn commented Jan 7, 2014

npm install . still fails

@nikhilm

This comment has been minimized.

Show comment Hide comment
@nikhilm

nikhilm Jan 7, 2014

Owner

How about the output of VERBOSE=1 npm install . This is very weird behaviour.

Owner

nikhilm commented Jan 7, 2014

How about the output of VERBOSE=1 npm install . This is very weird behaviour.

@scttnlsn

This comment has been minimized.

Show comment Hide comment
@scttnlsn

scttnlsn Jan 7, 2014

$ VERBOSE=1 npm install .
npm WARN package.json vows@0.7.0 No repository field.
npm http GET https://registry.npmjs.org/match-files
npm http 304 https://registry.npmjs.org/match-files

> taglib@0.8.0 install /home/pi/node-taglib
> node-gyp rebuild

make: Entering directory `/home/pi/node-taglib/build'
  CXX(target) Release/obj.target/taglib/src/bufferstream.o
In file included from ../src/bufferstream.cc:1:0:
../src/bufferstream.h:8:23: fatal error: tiostream.h: No such file or directory
compilation terminated.
make: *** [Release/obj.target/taglib/src/bufferstream.o] Error 1
make: Leaving directory `/home/pi/node-taglib/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/opt/node/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:789:12)
gyp ERR! System Linux 3.6.11+
gyp ERR! command "node" "/opt/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/pi/node-taglib
gyp ERR! node -v v0.10.21
gyp ERR! node-gyp -v v0.10.10
gyp ERR! not ok 
npm ERR! weird error 1
npm ERR! not ok code 0

Yeah, I don't know what's going on. Thanks for helping.

scttnlsn commented Jan 7, 2014

$ VERBOSE=1 npm install .
npm WARN package.json vows@0.7.0 No repository field.
npm http GET https://registry.npmjs.org/match-files
npm http 304 https://registry.npmjs.org/match-files

> taglib@0.8.0 install /home/pi/node-taglib
> node-gyp rebuild

make: Entering directory `/home/pi/node-taglib/build'
  CXX(target) Release/obj.target/taglib/src/bufferstream.o
In file included from ../src/bufferstream.cc:1:0:
../src/bufferstream.h:8:23: fatal error: tiostream.h: No such file or directory
compilation terminated.
make: *** [Release/obj.target/taglib/src/bufferstream.o] Error 1
make: Leaving directory `/home/pi/node-taglib/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/opt/node/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:789:12)
gyp ERR! System Linux 3.6.11+
gyp ERR! command "node" "/opt/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/pi/node-taglib
gyp ERR! node -v v0.10.21
gyp ERR! node-gyp -v v0.10.10
gyp ERR! not ok 
npm ERR! weird error 1
npm ERR! not ok code 0

Yeah, I don't know what's going on. Thanks for helping.

@nikhilm

This comment has been minimized.

Show comment Hide comment
@nikhilm

nikhilm Jan 7, 2014

Owner

hmm, that didn't give the full output, due to child process probably. How about

$ export VERBOSE=1
$ npm install .
Owner

nikhilm commented Jan 7, 2014

hmm, that didn't give the full output, due to child process probably. How about

$ export VERBOSE=1
$ npm install .
@scttnlsn

This comment has been minimized.

Show comment Hide comment
@scttnlsn

scttnlsn Jan 7, 2014

Same output.

$ export VERBOSE=1
$ npm install .
npm WARN package.json vows@0.7.0 No repository field.
npm http GET https://registry.npmjs.org/match-files
npm http 304 https://registry.npmjs.org/match-files

> taglib@0.8.0 install /home/pi/node-taglib
> node-gyp rebuild

make: Entering directory `/home/pi/node-taglib/build'
  CXX(target) Release/obj.target/taglib/src/bufferstream.o
In file included from ../src/bufferstream.cc:1:0:
../src/bufferstream.h:8:23: fatal error: tiostream.h: No such file or directory
compilation terminated.
make: *** [Release/obj.target/taglib/src/bufferstream.o] Error 1
make: Leaving directory `/home/pi/node-taglib/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/opt/node/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:789:12)
gyp ERR! System Linux 3.6.11+
gyp ERR! command "node" "/opt/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/pi/node-taglib
gyp ERR! node -v v0.10.21
gyp ERR! node-gyp -v v0.10.10
gyp ERR! not ok 
npm ERR! weird error 1
npm ERR! not ok code 0

scttnlsn commented Jan 7, 2014

Same output.

$ export VERBOSE=1
$ npm install .
npm WARN package.json vows@0.7.0 No repository field.
npm http GET https://registry.npmjs.org/match-files
npm http 304 https://registry.npmjs.org/match-files

> taglib@0.8.0 install /home/pi/node-taglib
> node-gyp rebuild

make: Entering directory `/home/pi/node-taglib/build'
  CXX(target) Release/obj.target/taglib/src/bufferstream.o
In file included from ../src/bufferstream.cc:1:0:
../src/bufferstream.h:8:23: fatal error: tiostream.h: No such file or directory
compilation terminated.
make: *** [Release/obj.target/taglib/src/bufferstream.o] Error 1
make: Leaving directory `/home/pi/node-taglib/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/opt/node/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:789:12)
gyp ERR! System Linux 3.6.11+
gyp ERR! command "node" "/opt/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/pi/node-taglib
gyp ERR! node -v v0.10.21
gyp ERR! node-gyp -v v0.10.10
gyp ERR! not ok 
npm ERR! weird error 1
npm ERR! not ok code 0
@emersion

This comment has been minimized.

Show comment Hide comment
@emersion

emersion Dec 14, 2014

Contributor

I have the same problem here. Outdated version? I have 1.7.2 installed.

Contributor

emersion commented Dec 14, 2014

I have the same problem here. Outdated version? I have 1.7.2 installed.

@nikhilm

This comment has been minimized.

Show comment Hide comment
@nikhilm

nikhilm Dec 16, 2014

Owner

If you are using node-taglib from npm, you'll need at least taglib v1.8

Owner

nikhilm commented Dec 16, 2014

If you are using node-taglib from npm, you'll need at least taglib v1.8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment