{"action":"created","issue":{"url":"https://api.github.com/repos/evanlucas/learnyoumongo/issues/20","labels_url":"https://api.github.com/repos/evanlucas/learnyoumongo/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/evanlucas/learnyoumongo/issues/20/comments","events_url":"https://api.github.com/repos/evanlucas/learnyoumongo/issues/20/events","html_url":"https://github.com/evanlucas/learnyoumongo/issues/20","id":115130786,"number":20,"title":"errors on install","user":{"login":"mhurwicz","id":255928,"avatar_url":"https://avatars.githubusercontent.com/u/255928?v=3","gravatar_id":"","url":"https://api.github.com/users/mhurwicz","html_url":"https://github.com/mhurwicz","followers_url":"https://api.github.com/users/mhurwicz/followers","following_url":"https://api.github.com/users/mhurwicz/following{/other_user}","gists_url":"https://api.github.com/users/mhurwicz/gists{/gist_id}","starred_url":"https://api.github.com/users/mhurwicz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhurwicz/subscriptions","organizations_url":"https://api.github.com/users/mhurwicz/orgs","repos_url":"https://api.github.com/users/mhurwicz/repos","events_url":"https://api.github.com/users/mhurwicz/events{/privacy}","received_events_url":"https://api.github.com/users/mhurwicz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-04T19:37:56Z","updated_at":"2015-12-15T03:19:33Z","closed_at":null,"body":"Wondering if the errors below indicate a problem?  (I'm doing this on Cloud 9.)\r\n\r\n```\r\n$ npm install learnyoumongo -g\r\n \r\n> kerberos@0.0.17 install /home/ubuntu/.nvm/versions/node/v4.1.1/lib/node_modules/learnyoumongo/node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos\r\n> (node-gyp rebuild) || (exit 0)\r\n\r\nmake: Entering directory `/home/ubuntu/.nvm/versions/node/v4.1.1/lib/node_modules/learnyoumongo/node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos/build'\r\n  CXX(target) Release/obj.target/kerberos/lib/kerberos.o\r\n  CXX(target) Release/obj.target/kerberos/lib/worker.o\r\n  CC(target) Release/obj.target/kerberos/lib/kerberosgss.o\r\n../lib/kerberosgss.c:36:0: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas]\r\n #pragma clang diagnostic push\r\n ^\r\n../lib/kerberosgss.c:37:0: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas]\r\n #pragma clang diagnostic ignored \"-Wdeprecated-declarations\"\r\n ^\r\n../lib/kerberosgss.c: In function ‘authenticate_gss_client_wrap’:\r\n../lib/kerberosgss.c:362:19: warning: variable ‘server_conf_flags’ set but not used [-Wunused-but-set-variable]\r\n   char buf[4096], server_conf_flags;\r\n                   ^\r\n../lib/kerberosgss.c: At top level:\r\n../lib/kerberosgss.c:930:0: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas]\r\n #pragma clang diagnostic pop\r\n ^\r\n  CC(target) Release/obj.target/kerberos/lib/base64.o\r\n  CXX(target) Release/obj.target/kerberos/lib/kerberos_context.o\r\n  SOLINK_MODULE(target) Release/obj.target/kerberos.node\r\n/usr/bin/ld: cannot find -lkrb5\r\n/usr/bin/ld: cannot find -lgssapi_krb5\r\ncollect2: error: ld returned 1 exit status\r\nmake: *** [Release/obj.target/kerberos.node] Error 1\r\nmake: Leaving directory `/home/ubuntu/.nvm/versions/node/v4.1.1/lib/node_modules/learnyoumongo/node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos/build'\r\ngyp ERR! build error \r\ngyp ERR! stack Error: `make` failed with exit code: 2\r\ngyp ERR! stack     at ChildProcess.onExit (/home/ubuntu/.nvm/versions/node/v4.1.1/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23)\r\ngyp ERR! stack     at emitTwo (events.js:87:13)\r\ngyp ERR! stack     at ChildProcess.emit (events.js:172:7)\r\ngyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)\r\ngyp ERR! System Linux 4.2.0-c9\r\ngyp ERR! command \"/home/ubuntu/.nvm/versions/node/v4.1.1/bin/node\" \"/home/ubuntu/.nvm/versions/node/v4.1.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\"\r\ngyp ERR! cwd /home/ubuntu/.nvm/versions/node/v4.1.1/lib/node_modules/learnyoumongo/node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos\r\ngyp ERR! node -v v4.1.1\r\ngyp ERR! node-gyp -v v3.0.3\r\ngyp ERR! not ok \r\n/home/ubuntu/.nvm/versions/node/v4.1.1/bin/learnyoumongo -> /home/ubuntu/.nvm/versions/node/v4.1.1/lib/node_modules/learnyoumongo/learnyoumongo.js\r\nlearnyoumongo@3.0.0 /home/ubuntu/.nvm/versions/node/v4.1.1/lib/node_modules/learnyoumongo\r\n├── chalk@1.0.0 (ansi-styles@2.1.0, escape-string-regexp@1.0.3, supports-color@1.3.1, strip-ansi@2.0.1, has-ansi@1.0.3)\r\n├── through2@0.6.5 (xtend@4.0.1, readable-stream@1.0.33)\r\n├── workshopper-exercise@2.3.0 (after@0.8.1, visualwidth@0.0.1, chalk@0.4.0, tuple-stream@0.0.2, split@0.3.3, xtend@2.1.2, through2@0.4.2, i18n-core@1.3.3)\r\n├── workshopper@2.5.0 (map-async@0.1.1, xtend@3.0.0, visualwidth@0.0.1, mkdirp@0.3.5, chalk@0.4.0, colors-tmpl@0.1.1, optimist@0.6.1, i18n-core@1.3.3, terminal-menu@2.1.1, msee@0.1.2)\r\n└── mongodb@2.0.47 (readable-stream@1.0.31, es6-promise@2.1.1, mongodb-core@1.2.20)\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/evanlucas/learnyoumongo/issues/comments/164632547","html_url":"https://github.com/evanlucas/learnyoumongo/issues/20#issuecomment-164632547","issue_url":"https://api.github.com/repos/evanlucas/learnyoumongo/issues/20","id":164632547,"user":{"login":"evanlucas","id":677994,"avatar_url":"https://avatars.githubusercontent.com/u/677994?v=3","gravatar_id":"","url":"https://api.github.com/users/evanlucas","html_url":"https://github.com/evanlucas","followers_url":"https://api.github.com/users/evanlucas/followers","following_url":"https://api.github.com/users/evanlucas/following{/other_user}","gists_url":"https://api.github.com/users/evanlucas/gists{/gist_id}","starred_url":"https://api.github.com/users/evanlucas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evanlucas/subscriptions","organizations_url":"https://api.github.com/users/evanlucas/orgs","repos_url":"https://api.github.com/users/evanlucas/repos","events_url":"https://api.github.com/users/evanlucas/events{/privacy}","received_events_url":"https://api.github.com/users/evanlucas/received_events","type":"User","site_admin":false},"created_at":"2015-12-15T03:19:33Z","updated_at":"2015-12-15T03:19:33Z","body":"the mongodb package has native dependencies, but falls back to pure js ones if those fail to build. You should still be able to run it regardless though"}}