找不到所需要的ndbm.h头文件

具体描述: 通过deb包安装gdbm之后,发现找不到所需要的ndbm.h头文件。但是你会发现一个叫gdbm-ndbm.h的文件,你只需要把文件名改成ndbm.h就可以了,当然需要一定权限。

sudo cp '/usr/include/gdbm-ndbm.h' '/usr/include/ndbm.h'

 

错误提示:

configure: WARNING: configure has detected that you do not have an appropriate ndbm header file installed on your system.

Compilation cannot proceed. Please install ndbm.h or gdbm/ndbm.h on your system, or write to infomap-nlp-users@lists.sourceforge.net for advice.

posted on 2014-03-26 17:29  雪 狼  阅读(318)  评论(0编辑  收藏  举报

导航