解決安裝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
相關文章
相關標籤/搜索