{"action":"created","issue":{"url":"https://api.github.com/repos/christkv/kerberos/issues/33","labels_url":"https://api.github.com/repos/christkv/kerberos/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/christkv/kerberos/issues/33/comments","events_url":"https://api.github.com/repos/christkv/kerberos/issues/33/events","html_url":"https://github.com/christkv/kerberos/issues/33","id":113887938,"number":33,"title":"npm install fails with v0.0.16. gssapi/gssapi.h: No such file or directory","user":{"login":"sterling","id":8450364,"avatar_url":"https://avatars.githubusercontent.com/u/8450364?v=3","gravatar_id":"","url":"https://api.github.com/users/sterling","html_url":"https://github.com/sterling","followers_url":"https://api.github.com/users/sterling/followers","following_url":"https://api.github.com/users/sterling/following{/other_user}","gists_url":"https://api.github.com/users/sterling/gists{/gist_id}","starred_url":"https://api.github.com/users/sterling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sterling/subscriptions","organizations_url":"https://api.github.com/users/sterling/orgs","repos_url":"https://api.github.com/users/sterling/repos","events_url":"https://api.github.com/users/sterling/events{/privacy}","received_events_url":"https://api.github.com/users/sterling/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-10-28T18:15:38Z","updated_at":"2015-10-30T07:12:48Z","closed_at":null,"body":"I get the following error when trying to ```npm --production rebuild``` in aws. Paths have been edited.\r\n```\r\n  > kerberos@0.0.16 install /tmp/deployment/application/.../node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos\r\n  > node-gyp rebuild\r\n\r\n  make: Entering directory `/tmp/deployment/application/.../node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos/build'\r\n    CXX(target) Release/obj.target/kerberos/lib/kerberos.o\r\n  In file included from ../lib/kerberos.cc:1:0:\r\n  ../lib/kerberos.h:5:27: fatal error: gssapi/gssapi.h: No such file or directory\r\n   #include <gssapi/gssapi.h>\r\n                             ^\r\n  compilation terminated.\r\n  make: *** [Release/obj.target/kerberos/lib/kerberos.o] Error 1\r\n  make: Leaving directory `/tmp/deployment/application/.../node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos/build'\r\n  gyp ERR! build error\r\n  gyp ERR! stack Error: `make` failed with exit code: 2\r\n  gyp ERR! stack     at ChildProcess.onExit (/opt/elasticbeanstalk/node-install/node-v0.12.6-linux-x64/lib/node_modules/npm/node_modules/node-gyp/li\r\nb/build.js:269:23)\r\n  gyp ERR! stack     at ChildProcess.emit (events.js:110:17)\r\n  gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1074:12)\r\n  gyp ERR! System Linux 3.14.48-33.39.amzn1.x86_64\r\n  gyp ERR! command \"node\" \"/opt/elasticbeanstalk/node-install/node-v0.12.6-linux-x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\"\r\n  gyp ERR! cwd /tmp/deployment/application/.../node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos\r\n  gyp ERR! node -v v0.12.6\r\n  gyp ERR! node-gyp -v v2.0.1\r\n  gyp ERR! not ok\r\n\r\n  npm ERR! Linux 3.14.48-33.39.amzn1.x86_64\r\n  npm ERR! argv \"/opt/elasticbeanstalk/node-install/node-v0.12.6-linux-x64/bin/node\" \"/opt/elasticbeanstalk/node-install/node-v0.12.6-linux-x64/bin/npm\" \"--production\" \"rebuild\"\r\n  npm ERR! node v0.12.6\r\n  npm ERR! npm  v2.11.2\r\n  npm ERR! code ELIFECYCLE\r\n  npm ERR! kerberos@0.0.16 install: `node-gyp rebuild`\r\n  npm ERR! Exit status 1\r\n```"},"comment":{"url":"https://api.github.com/repos/christkv/kerberos/issues/comments/152446780","html_url":"https://github.com/christkv/kerberos/issues/33#issuecomment-152446780","issue_url":"https://api.github.com/repos/christkv/kerberos/issues/33","id":152446780,"user":{"login":"midthun","id":5767973,"avatar_url":"https://avatars.githubusercontent.com/u/5767973?v=3","gravatar_id":"","url":"https://api.github.com/users/midthun","html_url":"https://github.com/midthun","followers_url":"https://api.github.com/users/midthun/followers","following_url":"https://api.github.com/users/midthun/following{/other_user}","gists_url":"https://api.github.com/users/midthun/gists{/gist_id}","starred_url":"https://api.github.com/users/midthun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/midthun/subscriptions","organizations_url":"https://api.github.com/users/midthun/orgs","repos_url":"https://api.github.com/users/midthun/repos","events_url":"https://api.github.com/users/midthun/events{/privacy}","received_events_url":"https://api.github.com/users/midthun/received_events","type":"User","site_admin":false},"created_at":"2015-10-30T07:12:48Z","updated_at":"2015-10-30T07:12:48Z","body":"I got the same issue when deploying to Elastic Beanstalk. I don't really get the fix? There are some limitations to what you can do on Elastic Beanstalk instances. Some things like installing packages etc requires you do add ebextention files etc which can be very cumbersome if you don't know how to do it. mongodb is installed for me via the mongoose package. What can I do to fix this?"}}