npm install kerberos error

In file included from ../lib/kerberos.cc:1:0:
../lib/kerberos.h:5:27: fatal error: gssapi/gssapi.h: 没有那个文件或目录
compilation terminated.
kerberos.target.mk:88: recipe for target 'Release/obj.target/kerberos/lib/kerberos.o' failed
make: *** [Release/obj.target/kerberos/lib/kerberos.o] Error 1
make: Leaving directory '/home/liuman/paipaijian/node_modules/connect-mongo/node_modules/mongodb/node_modules/kerberos/build'

安装libkrb

 sudo apt-get install libkrb5-dev

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注