2👍
You should add gettext
executive path to global PATH
.
If gettext
has been installed in /usr/local/opt/gettext
, so quick solution would be exporting following line in terminal:
PATH="/usr/local/opt/gettext/bin:$PATH"
If you don’t know where gettext
is located, run:
brew info gettext
And as the result of this command, you may find something like the following which in my case is:
…
If you need to have gettext first in your PATH run:
echo 'export PATH="/usr/local/opt/gettext/bin:$PATH"' >> ~/.bash_profile
For compilers to find gettext you may need to set:
export LDFLAGS="-L/usr/local/opt/gettext/lib"
export CPPFLAGS="-I/usr/local/opt/gettext/include"
…
Source:stackexchange.com