{"action":"created","issue":{"url":"https://api.github.com/repos/Automattic/node-canvas/issues/225","labels_url":"https://api.github.com/repos/Automattic/node-canvas/issues/225/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/node-canvas/issues/225/comments","events_url":"https://api.github.com/repos/Automattic/node-canvas/issues/225/events","html_url":"https://github.com/Automattic/node-canvas/issues/225","id":7739708,"number":225,"title":"problem with cairo when npm install canvas","user":{"login":"johholl","id":2606389,"avatar_url":"https://avatars.githubusercontent.com/u/2606389?v=3","gravatar_id":"","url":"https://api.github.com/users/johholl","html_url":"https://github.com/johholl","followers_url":"https://api.github.com/users/johholl/followers","following_url":"https://api.github.com/users/johholl/following{/other_user}","gists_url":"https://api.github.com/users/johholl/gists{/gist_id}","starred_url":"https://api.github.com/users/johholl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johholl/subscriptions","organizations_url":"https://api.github.com/users/johholl/orgs","repos_url":"https://api.github.com/users/johholl/repos","events_url":"https://api.github.com/users/johholl/events{/privacy}","received_events_url":"https://api.github.com/users/johholl/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Automattic/node-canvas/labels/Installation","name":"Installation","color":"5319e7"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":42,"created_at":"2012-10-20T17:39:02Z","updated_at":"2015-11-11T11:55:58Z","closed_at":"2014-06-08T16:43:57Z","body":"i installed pixman, cairo and now want to install canvas via npm.\r\n\r\nan error occurs (and makes me sick :-)\r\n\r\n CXX(target) Release/obj.target/canvas/src/Canvas.o\r\nIn file included from ../src/Canvas.cc:8:\r\n../src/Canvas.h:19:10: fatal error: 'cairo/cairo.h' file not found\r\n#include <cairo/cairo.h>\r\n\r\n1 error generated.\r\nmake: *** [Release/obj.target/canvas/src/Canvas.o] Error 1\r\ngyp ERR! build error \r\ngyp ERR! stack Error: `make` failed with exit code: 2\r\ngyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:219:23)\r\ngyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:96:17)\r\ngyp ERR! stack     at Process._handle.onexit (child_process.js:678:10)\r\ngyp ERR! System Darwin 12.2.0\r\ngyp ERR! command \"node\" \"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\"\r\ngyp ERR! cwd /Users/Johannes/node_modules/canvas\r\ngyp ERR! node -v v0.8.11\r\ngyp ERR! node-gyp -v v0.6.11\r\ngyp ERR! not ok \r\nnpm ERR! canvas@0.13.1 install: `node-gyp rebuild`\r\nnpm ERR! `sh \"-c\" \"node-gyp rebuild\"` failed with 1\r\nnpm ERR! \r\nnpm ERR! Failed at the canvas@0.13.1 install script.\r\nnpm ERR! This is most likely a problem with the canvas package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     node-gyp rebuild\r\nnpm ERR! You can get their info via:\r\nnpm ERR!     npm owner ls canvas\r\nnpm ERR! There is likely additional logging output above.\r\n\r\nnpm ERR! System Darwin 12.2.0\r\nnpm ERR! command \"node\" \"/usr/local/bin/npm\" \"install\" \"canvas\"\r\nnpm ERR! cwd /Users/Johannes\r\nnpm ERR! node -v v0.8.11\r\nnpm ERR! npm -v 1.1.62\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! \r\nnpm ERR! Additional logging details can be found in:\r\nnpm ERR!     /Users/Johannes/npm-debug.log\r\nnpm ERR! not ok code 0\r\n\r\n\r\nCan someone help me please ..."},"comment":{"url":"https://api.github.com/repos/Automattic/node-canvas/issues/comments/155754852","html_url":"https://github.com/Automattic/node-canvas/issues/225#issuecomment-155754852","issue_url":"https://api.github.com/repos/Automattic/node-canvas/issues/225","id":155754852,"user":{"login":"kangax","id":383,"avatar_url":"https://avatars.githubusercontent.com/u/383?v=3","gravatar_id":"","url":"https://api.github.com/users/kangax","html_url":"https://github.com/kangax","followers_url":"https://api.github.com/users/kangax/followers","following_url":"https://api.github.com/users/kangax/following{/other_user}","gists_url":"https://api.github.com/users/kangax/gists{/gist_id}","starred_url":"https://api.github.com/users/kangax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kangax/subscriptions","organizations_url":"https://api.github.com/users/kangax/orgs","repos_url":"https://api.github.com/users/kangax/repos","events_url":"https://api.github.com/users/kangax/events{/privacy}","received_events_url":"https://api.github.com/users/kangax/received_events","type":"User","site_admin":false},"created_at":"2015-11-11T11:55:58Z","updated_at":"2015-11-11T11:55:58Z","body":"@LinusU should we add this to README?"}}