解决安装mongoose时,node-gyp报错问题

安装mongoose是系统报错,显示找不到gssapi/gssapi.h:api

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.

解决方法,安装缺乏的库:mongoose

$ apt-get install libkrb5-dev
相关文章
相关标签/搜索