{"action":"created","issue":{"url":"https://api.github.com/repos/Level/leveldown/issues/254","repository_url":"https://api.github.com/repos/Level/leveldown","labels_url":"https://api.github.com/repos/Level/leveldown/issues/254/labels{/name}","comments_url":"https://api.github.com/repos/Level/leveldown/issues/254/comments","events_url":"https://api.github.com/repos/Level/leveldown/issues/254/events","html_url":"https://github.com/Level/leveldown/issues/254","id":133413965,"number":254,"title":"Installation on Ubuntu Error ","user":{"login":"ronyrun","id":7273443,"avatar_url":"https://avatars.githubusercontent.com/u/7273443?v=3","gravatar_id":"","url":"https://api.github.com/users/ronyrun","html_url":"https://github.com/ronyrun","followers_url":"https://api.github.com/users/ronyrun/followers","following_url":"https://api.github.com/users/ronyrun/following{/other_user}","gists_url":"https://api.github.com/users/ronyrun/gists{/gist_id}","starred_url":"https://api.github.com/users/ronyrun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ronyrun/subscriptions","organizations_url":"https://api.github.com/users/ronyrun/orgs","repos_url":"https://api.github.com/users/ronyrun/repos","events_url":"https://api.github.com/users/ronyrun/events{/privacy}","received_events_url":"https://api.github.com/users/ronyrun/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-13T08:29:19Z","updated_at":"2016-02-13T13:17:19Z","closed_at":null,"body":"Hello, \r\n\r\nSorry I'm not an expert concerning the node installation....\r\nI tried to launch  prebuild install and get this error,\r\n\r\nwould you please help me ?\r\nnode --version v5.6.0\r\n\r\n\r\nWhen trying to install leveldown : \r\n\r\n```\r\n> leveldown@1.4.4 install /srv/nodejs/myapp/node_modules/leveldown\r\n> prebuild --install\r\n\r\nprebuild WARN install Prebuilt binaries for node version v5.6.0 are not available\r\nmake: Entering directory `/srv/nodejs/myapp/node_modules/leveldown/build'\r\n  CXX(target) Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/db/builder.o\r\nmake: g++: Command not found\r\nmake: *** [Release/obj.target/leveldb/deps/leveldb/leveldb-1.18.0/db/builder.o] Error 127\r\nmake: Leaving directory `/srv/nodejs/myapp/node_modules/leveldown/build'\r\nprebuild ERR! build error\r\nprebuild ERR! stack Error: `make` failed with exit code: 2\r\nprebuild ERR! stack     at ChildProcess.onExit (/srv/nodejs/myapp/node_modules/node-gyp/lib/build.js:276:23)\r\nprebuild ERR! stack     at emitTwo (events.js:100:13)\r\nprebuild ERR! stack     at ChildProcess.emit (events.js:185:7)\r\nprebuild ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)\r\nprebuild ERR! not ok\r\nprebuild ERR! build Error: `make` failed with exit code: 2\r\nprebuild ERR! build     at ChildProcess.onExit (/srv/nodejs/myapp/node_modules/node-gyp/lib/build.js:276:23)\r\nprebuild ERR! build     at emitTwo (events.js:100:13)\r\nprebuild ERR! build     at ChildProcess.emit (events.js:185:7)\r\nprebuild ERR! build     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)\r\n```\r\n\r\nwith prebuild installed globaly I tried that : \r\n```\r\nroot@user:/srv/nodejs/myapp# prebuild --install\r\nprebuild info begin Prebuild version 3.0.1\r\ngyp info spawn /usr/bin/python2\r\ngyp info spawn args [ '/usr/local/lib/node_modules/prebuild/node_modules/node-gyp/gyp/gyp_main.py',\r\ngyp info spawn args   'binding.gyp',\r\ngyp info spawn args   '-f',\r\ngyp info spawn args   'make',\r\ngyp info spawn args   '-I',\r\ngyp info spawn args   '/srv/nodejs/myapp/build/config.gypi',\r\ngyp info spawn args   '-I',\r\ngyp info spawn args   '/usr/local/lib/node_modules/prebuild/node_modules/node-gyp/addon.gypi',\r\ngyp info spawn args   '-I',\r\ngyp info spawn args   '/root/.node-gyp/5.6.0/include/node/common.gypi',\r\ngyp info spawn args   '-Dlibrary=shared_library',\r\ngyp info spawn args   '-Dvisibility=default',\r\ngyp info spawn args   '-Dnode_root_dir=/root/.node-gyp/5.6.0',\r\ngyp info spawn args   '-Dnode_gyp_dir=/usr/local/lib/node_modules/prebuild/node_modules/node-gyp',\r\ngyp info spawn args   '-Dnode_lib_file=node.lib',\r\ngyp info spawn args   '-Dmodule_root_dir=/srv/nodejs/myapp',\r\ngyp info spawn args   '--depth=.',\r\ngyp info spawn args   '--no-parallel',\r\ngyp info spawn args   '--generator-output',\r\ngyp info spawn args   'build',\r\ngyp info spawn args   '-Goutput_dir=.' ]\r\ngyp: binding.gyp not found (cwd: /srv/nodejs/myapp) while trying to load binding.gyp\r\nprebuild ERR! configure error\r\nprebuild ERR! stack Error: `gyp` failed with exit code: 1\r\nprebuild ERR! stack     at ChildProcess.onCpExit (/usr/local/lib/node_modules/prebuild/node_modules/node-gyp/lib/configure.js:305:16)\r\nprebuild ERR! stack     at emitTwo (events.js:100:13)\r\nprebuild ERR! stack     at ChildProcess.emit (events.js:185:7)\r\nprebuild ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)\r\nprebuild ERR! not ok\r\nprebuild ERR! build Error: `gyp` failed with exit code: 1\r\nprebuild ERR! build     at ChildProcess.onCpExit (/usr/local/lib/node_modules/prebuild/node_modules/node-gyp/lib/configure.js:305:16)\r\nprebuild ERR! build     at emitTwo (events.js:100:13)\r\nprebuild ERR! build     at ChildProcess.emit (events.js:185:7)\r\nprebuild ERR! build     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/Level/leveldown/issues/comments/183662793","html_url":"https://github.com/Level/leveldown/issues/254#issuecomment-183662793","issue_url":"https://api.github.com/repos/Level/leveldown/issues/254","id":183662793,"user":{"login":"ralphtheninja","id":308049,"avatar_url":"https://avatars.githubusercontent.com/u/308049?v=3","gravatar_id":"","url":"https://api.github.com/users/ralphtheninja","html_url":"https://github.com/ralphtheninja","followers_url":"https://api.github.com/users/ralphtheninja/followers","following_url":"https://api.github.com/users/ralphtheninja/following{/other_user}","gists_url":"https://api.github.com/users/ralphtheninja/gists{/gist_id}","starred_url":"https://api.github.com/users/ralphtheninja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ralphtheninja/subscriptions","organizations_url":"https://api.github.com/users/ralphtheninja/orgs","repos_url":"https://api.github.com/users/ralphtheninja/repos","events_url":"https://api.github.com/users/ralphtheninja/events{/privacy}","received_events_url":"https://api.github.com/users/ralphtheninja/received_events","type":"User","site_admin":false},"created_at":"2016-02-13T13:17:19Z","updated_at":"2016-02-13T13:17:19Z","body":"Hmm for some reason prebuild can't find any prebuilts for you, but there should be prebuilt for Ubuntu. I'd really like to nail this one. Can you try doing\r\n\r\n`npm install leveldown --verbose`\r\n\r\nAnd put that output in a gist and share the link here?"}}