What is this elusive library, and how can I get it so I can finally install git?
從GNU manual:
11.21 libintl.h
Libintl is a library that provides native language support to programs.
Defines the macros __USE_GNU_GETTEXT
, __GNU_GETTEXT_SUPPORTED_REVISION
, and declares the functions gettext
, dgettext
, dcgettext
, ngettext
, dngettext
, dcngettext
, textdomain
, bindtextdomain
, bind_textdomain_codeset
.
Documentation:
Gnulib module: gettext
Portability problems fixed by Gnulib, if GNU gettext is installed:
This header file is missing on some platforms: Mac OS X 10.5, FreeBSD 6.0, OpenBSD 3.8, Minix 3.1.8, AIX 5.1, HP-UX 11, IRIX 6.5, OSF/1 5.1, mingw, MSVC 9, Interix 3.5, BeOS.
The functions cannot deal with GNU .mo files with system-dependent strings (of major version 1 or of minor version 1) on some non-glibc platforms: NetBSD 3.0, Solaris 10.
您可以從Gnulib,這是The GNU Portability Library得到libintl.h
。它可以從GNU的Savannah下載。
的Gnulib web page還指出:
Gnulib does not make releases. It is intended to be used at the source level.
You can browse the current gnulib sources on Savannah.
To use Gnulib, you can retrieve its source code and its history via anonymous Git, using the following shell command:
git clone git://git.savannah.gnu.org/gnulib.git
Developers can also retrieve the source code via non-anonymous Git, for purposes of doing commits; for details, please see Gnulib's top-level README file.
After you have the sources, run ./gnulib-tool --help. For help and more info, see the documentation and other resources below.
http://mhs.stiki.ac.id/sym/root/usr/local/include/ – 2012-07-06 23:10:32
@SeeBeen:具有'libintl.h副本'頭文件沒有用處;你需要與之配合的圖書館。 – 2012-07-06 23:31:01
@凱思湯普森 我認爲所有必要的文件都在該文件夾中。 我的一個朋友有相同的概率。最近。他在ubuntu tho上:/ – 2012-07-06 23:33:49