Skip to content

Instantly share code, notes, and snippets.

@lotyp
Created May 20, 2022 13:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lotyp/41d79cc43d4d829490b66afbcc69c860 to your computer and use it in GitHub Desktop.
Save lotyp/41d79cc43d4d829490b66afbcc69c860 to your computer and use it in GitHub Desktop.
Installing gettext manually on MacOS.
#!/bin/bash
curl -O https://ftp.gnu.org/gnu/gettext/gettext-0.20.1.tar.gz
tar xvfz gettext-0.20.1.tar.gz
cd gettext-0.20.1
./configure --prefix=/usr/local/gettext/0_20_1 \
--disable-dependency-tracking \
--disable-silent-rules \
--disable-debug \
--disable-java \
--disable-csharp \
--without-git \
--without-cvs \
--without-xz \
--with-included-gettext
make
make install
./gettext-symlinks.sh
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
export ACLOCAL_PATH=/usr/local/share/aclocal/:$ACLOCAL_PATH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment