Skip to content

Instantly share code, notes, and snippets.

@csanz
Created February 16, 2012 07:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save csanz/4213634565a91d5e0a95 to your computer and use it in GitHub Desktop.
Save csanz/4213634565a91d5e0a95 to your computer and use it in GitHub Desktop.
node-canvas csanz [master] $ sudo npm install
> canvas@0.10.2 preinstall /Users/csanz/Projects/visionmedia/node-canvas
> node-waf configure build
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 library gif : not found
Checking for library jpeg : not found
Checking for cairo : not found
/Users/csanz/Projects/visionmedia/node-canvas/wscript:30: error: the configuration failed (see '/Users/csanz/Projects/visionmedia/node-canvas/build/config.log')
npm ERR! canvas@0.10.2 preinstall: `node-waf configure build`
npm ERR! `sh "-c" "node-waf configure build"` failed with 1
npm ERR!
npm ERR! Failed at the canvas@0.10.2 preinstall script.
npm ERR! This is most likely a problem with the canvas package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-waf configure build
npm ERR! You can get their info via:
npm ERR! npm owner ls canvas
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Darwin 11.3.0
npm ERR! command "node" "/usr/local/bin/npm" "install"
npm ERR! cwd /Users/csanz/Projects/visionmedia/node-canvas
npm ERR! node -v v0.6.6
npm ERR! npm -v 1.1.0-beta-7
npm ERR! code ELIFECYCLE
npm ERR! message canvas@0.10.2 preinstall: `node-waf configure build`
npm ERR! message `sh "-c" "node-waf configure build"` failed with 1
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/csanz/Projects/visionmedia/node-canvas/npm-debug.log
npm not ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment