Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When node version is 6.0.0 or later, fail to build. #60

Closed
MaxMEllon opened this issue Jun 1, 2016 · 1 comment
Closed

When node version is 6.0.0 or later, fail to build. #60

MaxMEllon opened this issue Jun 1, 2016 · 1 comment

Comments

@MaxMEllon
Copy link
Contributor

I installed this module when node version is 6.2.0 and node-gyp version 3.3.1.
Then failed to install this module.

As a test, I use node of 5.8.0. then succeed to install this module .

  • Reference
  LIBTOOL-STATIC Release/libmpg123.a
  CC(target) Release/obj.target/lamevectorroutines/deps/lame/libmp3lame/vector/xmm_quantize_sub.o
  LIBTOOL-STATIC Release/liblamevectorroutines.a
  CXX(target) Release/obj.target/bindings/src/bindings.o
In file included from ../src/bindings.cc:19:
../node_modules/nan/nan.h:590:20: error: no type named 'GCEpilogueCallback' in 'v8::Isolate'
      v8::Isolate::GCEpilogueCallback callback
      ~~~~~~~~~~~~~^
../node_modules/nan/nan.h:596:20: error: no type named 'GCEpilogueCallback' in 'v8::Isolate'
      v8::Isolate::GCEpilogueCallback callback) {
      ~~~~~~~~~~~~~^
../node_modules/nan/nan.h:601:20: error: no type named 'GCPrologueCallback' in 'v8::Isolate'
      v8::Isolate::GCPrologueCallback callback
      ~~~~~~~~~~~~~^
../node_modules/nan/nan.h:607:20: error: no type named 'GCPrologueCallback' in 'v8::Isolate'
      v8::Isolate::GCPrologueCallback callback) {
      ~~~~~~~~~~~~~^
4 errors generated.
make: *** [Release/obj.target/bindings/src/bindings.o] Error 1
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Users/maxmellon/.nvm/versions/node/v6.2.0/lib/node_modules/npm/n
ode_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 Darwin 15.4.0
gyp ERR! command "/Users/maxmellon/.nvm/versions/node/v6.2.0/bin/node" "/Users/maxmellon/.nvm/versions/node/
v6.2.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/maxmellon/work/js/LEMP/node_modules/lame
gyp ERR! node -v v6.2.0
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok 
@jakex10sen
Copy link

I had the same problem. The problem appears to be with lame. The problem seems to be fixed on the GitHub repository but not the npm respository Source

MaxMEllon added a commit to MaxMEllon/player that referenced this issue Jul 5, 2016
guo-yu added a commit that referenced this issue Jul 13, 2016
Fix fail to build when node version is v6.0.0 or later. close #60
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants