When I type
sudo ./install
in Terminal on OS X, I get the following error saying I am missing the libintl.h library.
/Users/xxx/cphalcon/build/64bits/phalcon.c:108409:10: fatal error: 'libintl.h' file not found
(HASH)include libintl.h
4 warnings and 1 error generated.
make: *** [phalcon.lo] Error 1
Relevant Stack Overflow: https://stackoverflow.com/questions/11370684/what-is-libintl-h-and-where-can-i-get-it Quote from best answer: "Since you're using Mac OS X, a Google search for "libintl.h OSX" shows a lot of people having similar problems."
When I try to install the relevant Debian package as shown below, brew cannot find the library. I can't use apt-get or yum because I am on OS X.
xxx-air:~ xxx$ brew install libc6-dev
Error: No available formula for libc6-dev
One comment from Stack Overflow says: "When packages are looking for this file, install or build the GNU gettext package. This packages "installs" ${prefix}/include/libintl.h, among other things." And another contributor follows up: "Possibly helpful since OP is on OS X, though doesn't specify if he is using Homebrew: I've seen some builds fail to find libintl despite gettext being installed -- I had to brew link gettext to resolve it."
What am I missing here?
Thanks,
Joe