{"action":"opened","issue":{"url":"https://api.github.com/repos/ethereumjs/testrpc/issues/164","repository_url":"https://api.github.com/repos/ethereumjs/testrpc","labels_url":"https://api.github.com/repos/ethereumjs/testrpc/issues/164/labels{/name}","comments_url":"https://api.github.com/repos/ethereumjs/testrpc/issues/164/comments","events_url":"https://api.github.com/repos/ethereumjs/testrpc/issues/164/events","html_url":"https://github.com/ethereumjs/testrpc/issues/164","id":177428477,"number":164,"title":"Cannot install on Ubuntu 12.04","user":{"login":"clivebluston","id":8289592,"avatar_url":"https://avatars.githubusercontent.com/u/8289592?v=3","gravatar_id":"","url":"https://api.github.com/users/clivebluston","html_url":"https://github.com/clivebluston","followers_url":"https://api.github.com/users/clivebluston/followers","following_url":"https://api.github.com/users/clivebluston/following{/other_user}","gists_url":"https://api.github.com/users/clivebluston/gists{/gist_id}","starred_url":"https://api.github.com/users/clivebluston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clivebluston/subscriptions","organizations_url":"https://api.github.com/users/clivebluston/orgs","repos_url":"https://api.github.com/users/clivebluston/repos","events_url":"https://api.github.com/users/clivebluston/events{/privacy}","received_events_url":"https://api.github.com/users/clivebluston/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-16T13:41:15Z","updated_at":"2016-09-16T13:41:15Z","closed_at":null,"body":"I followed the following procedure:\r\n\r\ncurl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -\r\nsudo apt-get install -y nodejs\r\nsudo apt-get install -y build-essential\r\nnpm install -g ethereumjs-testrpc\r\n\r\nThis was the result:\r\nnpm WARN lifecycle scrypt@6.0.3~preinstall: cannot run in wd %s %s (wd=%s) scrypt@6.0.3 node node-scrypt-preinstall.js /usr/lib/node_modules/.staging/scrypt-5b57c83b\r\n/usr/bin/testrpc -> /usr/lib/node_modules/ethereumjs-testrpc/bin/testrpc\r\n\r\n> scrypt@6.0.3 install /usr/lib/node_modules/ethereumjs-testrpc/node_modules/scrypt\r\n> node-gyp rebuild\r\n\r\ngyp WARN EACCES user \"root\" does not have permission to access the dev dir \"/home/clive/.node-gyp/6.6.0\"\r\ngyp WARN EACCES attempting to reinstall using temporary dev dir \"/usr/lib/node_modules/ethereumjs-testrpc/node_modules/scrypt/.node-gyp\"\r\nmake: Entering directory `/usr/lib/node_modules/ethereumjs-testrpc/node_modules/scrypt/build'\r\n  SOLINK_MODULE(target) Release/obj.target/copied_files.node\r\n  COPY Release/copied_files.node\r\n  CC(target) Release/obj.target/scrypt_wrapper/src/util/memlimit.o\r\n  CC(target) Release/obj.target/scrypt_wrapper/src/scryptwrapper/keyderivation.o\r\n  CC(target) Release/obj.target/scrypt_wrapper/src/scryptwrapper/pickparams.o\r\n  CC(target) Release/obj.target/scrypt_wrapper/src/scryptwrapper/hash.o\r\n  AR(target) Release/obj.target/scrypt_wrapper.a\r\n  COPY Release/scrypt_wrapper.a\r\n  CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.2.0/lib/crypto/crypto_scrypt.o\r\n  CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.2.0/lib/crypto/crypto_scrypt_smix.o\r\n  CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.2.0/libcperciva/util/warnp.o\r\n  CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.2.0/libcperciva/alg/sha256.o\r\n  CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.2.0/libcperciva/util/insecure_memzero.o\r\n  CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.2.0/lib/scryptenc/scryptenc_cpuperf.o\r\n  AR(target) Release/obj.target/scrypt_lib.a\r\n  COPY Release/scrypt_lib.a\r\n  CXX(target) Release/obj.target/scrypt/src/node-boilerplate/scrypt_common.o\r\ncc1plus: error: unrecognized command line option ‘-std=c++11’\r\nmake: *** [Release/obj.target/scrypt/src/node-boilerplate/scrypt_common.o] Error 1\r\nmake: Leaving directory `/usr/lib/node_modules/ethereumjs-testrpc/node_modules/scrypt/build'\r\ngyp ERR! build error \r\ngyp ERR! stack Error: `make` failed with exit code: 2\r\ngyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)\r\ngyp ERR! stack     at emitTwo (events.js:106:13)\r\ngyp ERR! stack     at ChildProcess.emit (events.js:191:7)\r\ngyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)\r\ngyp ERR! System Linux 3.8.0-44-generic\r\ngyp ERR! command \"/usr/bin/nodejs\" \"/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\"\r\ngyp ERR! cwd /usr/lib/node_modules/ethereumjs-testrpc/node_modules/scrypt\r\ngyp ERR! node -v v6.6.0\r\ngyp ERR! node-gyp -v v3.3.1\r\ngyp ERR! not ok \r\n/usr/lib\r\n└── (empty)\r\n\r\nnpm ERR! Linux 3.8.0-44-generic\r\nnpm ERR! argv \"/usr/bin/nodejs\" \"/usr/bin/npm\" \"install\" \"-g\" \"ethereumjs-testrpc\"\r\nnpm ERR! node v6.6.0\r\nnpm ERR! npm  v3.10.3\r\nnpm ERR! code ELIFECYCLE\r\n\r\nnpm ERR! scrypt@6.0.3 install: `node-gyp rebuild`\r\nnpm ERR! Exit status 1\r\nnpm ERR! \r\nnpm ERR! Failed at the scrypt@6.0.3 install script 'node-gyp rebuild'.\r\nnpm ERR! Make sure you have the latest version of node.js and npm installed.\r\nnpm ERR! If you do, this is most likely a problem with the scrypt 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 information on how to open an issue for this project with:\r\nnpm ERR!     npm bugs scrypt\r\nnpm ERR! Or if that isn't available, you can get their info via:\r\nnpm ERR!     npm owner ls scrypt\r\nnpm ERR! There is likely additional logging output above.\r\n\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!     /home/clive/npm-debug.log\r\nnpm ERR! code 1\r\n\r\n"}}
{"actor":{"display_login":"clivebluston"}}