{"action":"opened","issue":{"url":"https://api.github.com/repos/paixaop/node-sodium/issues/95","repository_url":"https://api.github.com/repos/paixaop/node-sodium","labels_url":"https://api.github.com/repos/paixaop/node-sodium/issues/95/labels{/name}","comments_url":"https://api.github.com/repos/paixaop/node-sodium/issues/95/comments","events_url":"https://api.github.com/repos/paixaop/node-sodium/issues/95/events","html_url":"https://github.com/paixaop/node-sodium/issues/95","id":183646219,"number":95,"title":"Cannot install from npm","user":{"login":"naoina","id":382258,"avatar_url":"https://avatars.githubusercontent.com/u/382258?v=3","gravatar_id":"","url":"https://api.github.com/users/naoina","html_url":"https://github.com/naoina","followers_url":"https://api.github.com/users/naoina/followers","following_url":"https://api.github.com/users/naoina/following{/other_user}","gists_url":"https://api.github.com/users/naoina/gists{/gist_id}","starred_url":"https://api.github.com/users/naoina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naoina/subscriptions","organizations_url":"https://api.github.com/users/naoina/orgs","repos_url":"https://api.github.com/users/naoina/repos","events_url":"https://api.github.com/users/naoina/events{/privacy}","received_events_url":"https://api.github.com/users/naoina/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-18T10:21:05Z","updated_at":"2016-10-18T10:21:05Z","closed_at":null,"body":"I try to install sodium 1.2.0 from npm, but encountered the following errors.\r\n\r\n```\r\n> sodium@1.2.0 preinstall /home/naoina/work/src/github.com/tokyootakumode/com/node_modules/sodium\r\n> node install.js --preinstall\r\n\r\nStatic libsodium was not found at /home/naoina/work/src/github.com/tokyootakumode/com/node_modules/sodium/deps/build/lib/libsodium so compiling libsodium from source.\r\nautoreconf: Entering directory `.'\r\nautoreconf: configure.ac: not using Gettext\r\nautoreconf: running: aclocal --force -I m4\r\naclocal: warning: couldn't open directory 'm4': No such file or directory\r\nautoreconf: configure.ac: tracing\r\nautoreconf: configure.ac: creating directory build-aux\r\nautoreconf: running: libtoolize --copy --force\r\nlibtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.\r\nlibtoolize: copying file 'build-aux/ltmain.sh'\r\nlibtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.\r\nlibtoolize: copying file 'm4/libtool.m4'\r\nlibtoolize: copying file 'm4/ltoptions.m4'\r\nlibtoolize: copying file 'm4/ltsugar.m4'\r\nlibtoolize: copying file 'm4/ltversion.m4'\r\nlibtoolize: copying file 'm4/lt~obsolete.m4'\r\nautoreconf: running: /usr/bin/autoconf --force\r\nautoreconf: configure.ac: not using Autoheader\r\nautoreconf: running: automake --add-missing --copy --force-missing\r\nconfigure.ac:117: installing 'build-aux/compile'\r\nconfigure.ac:9: installing 'build-aux/config.guess'\r\nconfigure.ac:9: installing 'build-aux/config.sub'\r\nconfigure.ac:10: installing 'build-aux/install-sh'\r\nconfigure.ac:10: installing 'build-aux/missing'\r\nconfigure.ac:694: error: required file 'dist-build/Makefile.in' not found\r\nconfigure.ac:694: error: required file 'test/default/Makefile.in' not found\r\nMakefile.am:12: error: required directory ./dist-build does not exist\r\nsrc/libsodium/Makefile.am:209: error: HAVE_LD_OUTPUT_DEF does not appear in AM_CONDITIONAL\r\nsrc/libsodium/Makefile.am: installing 'build-aux/depcomp'\r\ntest/Makefile.am:1: error: required directory test/default does not exist\r\nautoreconf: automake failed with exit status: 1\r\nmake: *** [Makefile:62: libsodium] エラー 1\r\n/home/naoina/work/src/github.com/tokyootakumode/com/node_modules/sodium/install.js:288\r\n            throw new Error(cmdLine + ' exited with code ' + code);\r\n            ^\r\n\r\nError: make libsodium exited with code 2\r\n    at ChildProcess.<anonymous> (/home/naoina/work/src/github.com/tokyootakumode/com/node_modules/sodium/install.js:288:19)\r\n    at emitTwo (events.js:87:13)\r\n    at ChildProcess.emit (events.js:172:7)\r\n    at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)\r\nnpm WARN deprecated win-spawn@2.0.0: use [cross-spawn](https://github.com/IndigoUnited/node-cross-spawn) or [cross-spawn-async](https://github.com/IndigoUnited/node-cross-spawn-async) instead.\r\nnpm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue\r\nnpm ERR! Linux 4.7.5-1-ARCH\r\nnpm ERR! argv \"/home/naoina/.homesick/repos/dotfiles/home/.nvm/versions/v4.6.0/bin/node\" \"/home/naoina/.nvm/versions/v4.6.0/bin/npm\" \"i\"\r\nnpm ERR! node v4.6.0\r\nnpm ERR! npm  v2.15.9\r\nnpm ERR! code ELIFECYCLE\r\n\r\nnpm ERR! sodium@1.2.0 preinstall: `node install.js --preinstall`\r\nnpm ERR! Exit status 1\r\nnpm ERR!\r\nnpm ERR! Failed at the sodium@1.2.0 preinstall script 'node install.js --preinstall'.\r\nnpm ERR! This is most likely a problem with the sodium package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     node install.js --preinstall\r\nnpm ERR! You can get information on how to open an issue for this project with:\r\nnpm ERR!     npm bugs sodium\r\nnpm ERR! Or if that isn't available, you can get their info via:\r\nnpm ERR!\r\nnpm ERR!     npm owner ls sodium\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/naoina/work/src/github.com/tokyootakumode/com/npm-debug.log\r\n```\r\n\r\nsodium 1.2.0 on npm seems that there are no some directories."}}
{"actor":{"display_login":"naoina"}}