Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 244515 - hunspell-1.2.7 fails to compile
Summary: hunspell-1.2.7 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All OS X
: High normal (vote)
Assignee: Gentoo non-Linux Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-26 20:33 UTC by Ramon
Modified: 2009-10-19 20:36 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ramon 2008-10-26 20:33:37 UTC
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.
Comment 1 Fabian Groffen gentoo-dev 2008-10-27 07:11:11 UTC
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.
Comment 2 Ramon 2009-10-19 20:29:48 UTC
Hunspell-1.2.8 is fixed, it compiles fine for me on OSX
Comment 3 Fabian Groffen gentoo-dev 2009-10-19 20:36:44 UTC
clean sweepers, thanks!