Skip to content
This repository has been archived by the owner on Oct 9, 2019. It is now read-only.

install fails on kerberos installation #31

Open
justin-hackin opened this issue Sep 15, 2015 · 0 comments
Open

install fails on kerberos installation #31

justin-hackin opened this issue Sep 15, 2015 · 0 comments

Comments

@justin-hackin
Copy link

After running sudo npm install -g ember-prerender, I get this in the npm messages:

> [email protected] install /home/cosmo/npm/lib/node_modules/ember-prerender/node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos
> (node-gyp rebuild) || (exit 0)

make: Entering directory `/home/cosmo/npm/lib/node_modules/ember-prerender/node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos/build'
  CXX(target) Release/obj.target/kerberos/lib/kerberos.o
In file included from ../lib/kerberos.cc:1:0:
../lib/kerberos.h:5:27: fatal error: gssapi/gssapi.h: No such file or directory
 #include <gssapi/gssapi.h>
                           ^
compilation terminated.
make: *** [Release/obj.target/kerberos/lib/kerberos.o] Error 1
make: Leaving directory `/home/cosmo/npm/lib/node_modules/ember-prerender/node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack     at ChildProcess.emit (events.js:110:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
gyp ERR! System Linux 3.18.3-031803-generic
gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/cosmo/npm/lib/node_modules/ember-prerender/node_modules/mongodb/node_modules/mongodb-core/node_modules/kerberos
gyp ERR! node -v v0.12.7
gyp ERR! node-gyp -v v2.0.1
gyp ERR! not ok 

Running Linux Mint 17.1

I tried installing a .deb package named libkrb5-dev as suggested here: https://github.com/christkv/kerberos/issues/21 which seemed to fix the problem. Just wanted to post this in case someone else runs into the problem, and also as a suggestion to document the requirement of that package in your readme.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant