gettext 在 OS X 安装备忘

[15:01:44]root@vortex:/Users/vortex$ brew install gettext
==> Downloading http://ftpmirror.gnu.org/gettext/gettext-0.18.1.1.tar.gz
######################################################################## 100.0%
==> Downloading patches
######################################################################## 100.0%
######################################################################## 100.0%
==> Patching
patching file gettext-tools/configure
patching file gettext-tools/Makefile.in
==> ./configure --disable-debug --prefix=/usr/local/Cellar/gettext/0.18.1.1 --without-included-gettext --without-included
==> make
==> make install
==> Caveats
This formula is keg-only, so it was not symlinked into /usr/local.

OS X provides the BSD gettext library and some software gets confused if both are in the library path.

Generally there are no consequences of this for you.
If you build your own software and it requires this formula, you'll need
to add its lib & include paths to your build variables:

    LDFLAGS  -L/usr/local/Cellar/gettext/0.18.1.1/lib
    CPPFLAGS -I/usr/local/Cellar/gettext/0.18.1.1/include
==> Summary
/usr/local/Cellar/gettext/0.18.1.1: 365 files, 13M, built in 3.1 minutes
[15:08:58]root@vortex:/Users/vortex$ brew link gettext
Linking /usr/local/Cellar/gettext/0.18.1.1... 145 symlinks created