【发布时间】:2012-07-07 09:54:56
【问题描述】:
尝试从源代码进行 git 的 make 安装,但它不断出现错误:
make install
* new build flags or prefix
CC credential-store.o
In file included from credential-store.c:1:
In file included from ./cache.h:8:
./gettext.h:17:11: fatal error: 'libintl.h' file not found
# include <libintl.h>
^
1 error generated.
make: *** [credential-store.o] Error 1
在 lib.intl.h 上没有任何搜索结果。这个难以捉摸的库是什么,我怎样才能得到它以便最终安装 git?
【问题讨论】:
-
@SeeBeen:拥有
libintl.h头文件的副本是没有用的;你需要它的库。 -
@Keith Thompson 我认为所有必要的文件都在该文件夹中。我的一个朋友也有同样的问题。最近。他在 ubuntu 上:/
-
@SeeBeenq:不太可能。
libintl.h有几个函数声明;如果没有这些功能的实际实现,单独的标题是无用的。获取头文件和库的方法是安装提供它的任何包。 -
国际化。