hunspell-1.2.7 fails to compile /bin/sh ../../libtool --tag=CXX --mode=link g++ -g -O2 -o hunspell hunspell.o -lintl ../hunspell/libhunspell-1.2.la ../parsers/libparsers.a g++ -g -O2 -o .libs/hunspell hunspell.o -Wl,-bind_at_load -lintl ../hunspell/.libs/libhunspell-1.2.dylib ../parsers/libparsers.a Undefined symbols: "_libiconv_open", referenced from: chenc(char*, char const*, char const*)in hunspell.o get_parser(int, char*, Hunspell*)in hunspell.o get_parser(int, char*, Hunspell*)in hunspell.o get_parser(int, char*, Hunspell*)in hunspell.o "_libiconv", referenced from: chenc(char*, char const*, char const*)in hunspell.o get_parser(int, char*, Hunspell*)in hunspell.o get_parser(int, char*, Hunspell*)in hunspell.o get_parser(int, char*, Hunspell*)in hunspell.o "_libiconv_close", referenced from: chenc(char*, char const*, char const*)in hunspell.o get_parser(int, char*, Hunspell*)in hunspell.o get_parser(int, char*, Hunspell*)in hunspell.o get_parser(int, char*, Hunspell*)in hunspell.o ld: symbol(s) not found collect2: ld returned 1 exit status make[3]: *** [hunspell] Error 1 make[3]: Leaving directory `/Users/ramonvanalteren/Library/Gentoo/var/tmp/portage/app-text/hunspell-1.2.7/work/hunspell-1.2.7/src/tools' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/Users/ramonvanalteren/Library/Gentoo/var/tmp/portage/app-text/hunspell-1.2.7/work/hunspell-1.2.7/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/Users/ramonvanalteren/Library/Gentoo/var/tmp/portage/app-text/hunspell-1.2.7/work/hunspell-1.2.7' make: *** [all] Error 2 Reproducible: Always Steps to Reproduce: 1.emerge hunspell-1.2.7 2. 3.
That's a missing -liconv... weird, apparently they just don't handle the Darwin case, as for Solaris this works (and one needs -liconv out there too). Probably needs some autoconf hackery.
Hunspell-1.2.8 is fixed, it compiles fine for me on OSX
clean sweepers, thanks!