Install Error #220

Closed
ghost opened this Issue Oct 6, 2012 · 3 comments

Comments

Projects
None yet
2 participants
@ghost

ghost commented Oct 6, 2012

canvas@0.13.1 install /home/esign/node_modules/canvas
node-gyp rebuild

make: Entering directory /home/esign/node_modules/canvas/build' CXX(target) Release/obj.target/canvas/src/Canvas.o In file included from ../src/Canvas.cc:8:0: ../src/Canvas.h:11:16: fatal error: v8.h: No such file or directory compilation terminated. make: *** [Release/obj.target/canvas/src/Canvas.o] Error 1 make: Leaving directory/home/esign/node_modules/canvas/build'
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:219:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:96:17)
gyp ERR! stack at Process._handle.onexit (child_process.js:678:10)
gyp ERR! System Linux 3.2.0-31-generic
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/esign/node_modules/canvas
gyp ERR! node -v v0.8.11
gyp ERR! node-gyp -v v0.6.11
gyp ERR! not ok
...

help me for your fun. :)

vinothg commented Oct 8, 2012

It cannot find v8.h file. You may have to check your node installation.

@ghost

ghost commented Oct 9, 2012

@vinothg Thanks,I will retry it. :)

Collaborator

LinusU commented Feb 15, 2016

Closing this since it's an old thread, please see our new installation instructions and report back if you still have problems...

@LinusU LinusU closed this Feb 15, 2016

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