{"action":"created","issue":{"url":"https://api.github.com/repos/ryancole/topdf/issues/4","labels_url":"https://api.github.com/repos/ryancole/topdf/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/ryancole/topdf/issues/4/comments","events_url":"https://api.github.com/repos/ryancole/topdf/issues/4/events","html_url":"https://github.com/ryancole/topdf/issues/4","id":98845361,"number":4,"title":"Install failed on Arch Linux","user":{"login":"diginfo","id":6010010,"avatar_url":"https://avatars.githubusercontent.com/u/6010010?v=3","gravatar_id":"","url":"https://api.github.com/users/diginfo","html_url":"https://github.com/diginfo","followers_url":"https://api.github.com/users/diginfo/followers","following_url":"https://api.github.com/users/diginfo/following{/other_user}","gists_url":"https://api.github.com/users/diginfo/gists{/gist_id}","starred_url":"https://api.github.com/users/diginfo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diginfo/subscriptions","organizations_url":"https://api.github.com/users/diginfo/orgs","repos_url":"https://api.github.com/users/diginfo/repos","events_url":"https://api.github.com/users/diginfo/events{/privacy}","received_events_url":"https://api.github.com/users/diginfo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-03T21:50:23Z","updated_at":"2015-08-03T23:41:51Z","closed_at":null,"body":"Hi;\r\n\r\nI just downloaded and installed the ORACLE source files and copied into folders, however when I try a npm install topdf I get the following error:\r\n\r\n\ttopdf.target.mk:83: recipe for target 'Release/obj.target/topdf/src/topdf.o' failed\r\n\tmake: *** [Release/obj.target/topdf/src/topdf.o] Error 1\r\n\tmake: Leaving directory '/usr/share/nodejs/dev/src/pure/node_modules/topdf/build'\r\n\tgyp ERR! build error \r\n\tgyp ERR! stack Error: `make` failed with exit code: 2\r\n\tgyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)\r\n\tgyp ERR! stack     at ChildProcess.emit (events.js:110:17)\r\n\tgyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1067:12)\r\n\tgyp ERR! System Linux 3.19.2-1-ARCH\r\n\tgyp ERR! command \"node\" \"/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\"\r\n\tgyp ERR! cwd /usr/share/nodejs/dev/src/pure/node_modules/topdf\r\n\tgyp ERR! node -v v0.12.1\r\n\tgyp ERR! node-gyp -v v1.0.3\r\n\tgyp ERR! not ok \r\n\tnpm ERR! Linux 3.19.2-1-ARCH\r\n\tnpm ERR! argv \"/usr/bin/node\" \"/usr/bin/npm\" \"--save\" \"install\" \"topdf\" \"--python=python2.7\"\r\n\tnpm ERR! node v0.12.1\r\n\tnpm ERR! npm  v2.7.4\r\n\tnpm ERR! code ELIFECYCLE\r\n\t\r\n\tnpm ERR! topdf@0.0.7 install: `node-gyp rebuild`\r\n\tnpm ERR! Exit status 1\r\n\tnpm ERR! \r\n\tnpm ERR! Failed at the topdf@0.0.7 install script 'node-gyp rebuild'.\r\n\tnpm ERR! This is most likely a problem with the topdf package,\r\n\tnpm ERR! not with npm itself.\r\n\tnpm ERR! Tell the author that this fails on your system:\r\n\tnpm ERR!     node-gyp rebuild\r\n\tnpm ERR! You can get their info via:\r\n\tnpm ERR!     npm owner ls topdf\r\n\tnpm ERR! There is likely additional logging output above.\r\n\t\r\n\tnpm ERR! Please include the following file with any support request:\r\n\tnpm ERR!     /usr/share/nodejs/dev/src/pure/node_modules/npm-debug.log\r\n\r\nAny ideas ?"},"comment":{"url":"https://api.github.com/repos/ryancole/topdf/issues/comments/127433953","html_url":"https://github.com/ryancole/topdf/issues/4#issuecomment-127433953","issue_url":"https://api.github.com/repos/ryancole/topdf/issues/4","id":127433953,"user":{"login":"ryancole","id":484801,"avatar_url":"https://avatars.githubusercontent.com/u/484801?v=3","gravatar_id":"","url":"https://api.github.com/users/ryancole","html_url":"https://github.com/ryancole","followers_url":"https://api.github.com/users/ryancole/followers","following_url":"https://api.github.com/users/ryancole/following{/other_user}","gists_url":"https://api.github.com/users/ryancole/gists{/gist_id}","starred_url":"https://api.github.com/users/ryancole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryancole/subscriptions","organizations_url":"https://api.github.com/users/ryancole/orgs","repos_url":"https://api.github.com/users/ryancole/repos","events_url":"https://api.github.com/users/ryancole/events{/privacy}","received_events_url":"https://api.github.com/users/ryancole/received_events","type":"User","site_admin":false},"created_at":"2015-08-03T23:41:51Z","updated_at":"2015-08-03T23:41:51Z","body":"I tried installing Arch Linux. I didn't realize it was such a manual install process. So, I'm just going to try this out on Ubuntu.\r\n\r\nIt looks like the node-gyp version has increased quite a bit, and it looks like there's some breaking changes. This doesn't seem to compile on the latest version of node. I see you're using node `0.12.1`, and node-gyp `1.0.3`. I'm currently using node `0.12.7`, and node-gyp `2.0.1`.\r\n\r\nIs this a version of node installed from some package manager, or is this a version of node you specifically chose? It looks like `node-gyp` took a major version bump some time in between the version of node I'm running and the version you're running. I'm not sure if I should pursue updating to be useful with modern node-gyp, or to find the version of node you're running and figure that out. Are you able to update node?"}}