(sorry for the last mail I did not know about the size limit)

> I couldn't reproduce your issue on 10.5.8/i386.  The fact that the error
> messages mention functions and types with "rl" in their name suggests
> that maybe you're picking up a non-Fink readline library.  Do you have
> such a library in /usr/local/lib?
>

Indeed I have a couple of them:

$ mdfind "readline"|egrep "/readline-.$"
/opt/local/var/macports/sources/
rsync.macports.org/release/ports/devel/readline-5
/opt/local/var/macports/sources/
rsync.macports.org/release/ports/devel/readline-4

$ mdfind "readline"|egrep "/readline$"
/opt/local/var/macports/sources/
rsync.macports.org/release/ports/devel/readline
/usr/include/readline
/Developer/SDKs/MacOSX10.5.sdk/usr/include/readline
/Developer/SDKs/MacOSX10.4u.sdk/usr/include/readline


>
> Also, it might be worth checking the config.log file in the hunspell
> build directory (under /sw/src/fink.build) to see exactly what readline
> library it's picking up.
>

No clue. The compiler uses -lreadline, and I do not know where this leads
to.
How can I force a particular library?
Attached is the config, could you please take a look at it?
Thank you,
S.


On Wed, Jun 9, 2010 at 8:32 PM, Alexander Hansen <
[email protected]> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 6/9/10 8:08 PM, Stéphane Zampelli wrote:
> > Trying to build kde and hunspell fails to compile.
> > Any idea?
> > Thank you, Stéphane.
> > -----
> > $ /sw/bin/fink -V
> > Package manager version: 0.29.12
> > Distribution version: selfupdate-rsync Wed Jun  9 20:01:44 2010, 10.5,
> i386
> >
> <snip>
> > g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/hunspell
> > -I../../src/parsers  -I/sw/include  -Os -c -o chmorph.o chmorph.cxx
> > /bin/sh ../../libtool --tag=CXX   --mode=link g++  -Os  -liconv
> > -L/sw/lib -o chmorph chmorph.o ../parsers/libparsers.a
> > ../hunspell/libhunspell-1.2.la <http://libhunspell-1.2.la>
> > libtool: link: g++ -Os -o .libs/chmorph chmorph.o  -L/sw/lib
> > ../parsers/libparsers.a ../hunspell/.libs/libhunspell-1.2.dylib
> > /sw/lib/libiconv.dylib
> > g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/hunspell
> > -I../../src/parsers  -I/sw/include  -Os -c -o hunspell.o hunspell.cxx
> > hunspell.cxx: In function 'int set_rltext()':
> > hunspell.cxx:797: error: 'rl_hook_func_t' was not declared in this scope
> > hunspell.cxx:797: error: expected primary-expression before ')' token
> > hunspell.cxx:797: error: expected `;' before '__null'
> > hunspell.cxx: In function 'int rl_escape(int, int)':
> > hunspell.cxx:807: error: 'rl_delete_text' was not declared in this scope
> > hunspell.cxx:808: error: 'rl_done' was not declared in this scope
> > hunspell.cxx: In function 'int dialog(TextParser*, Hunspell*, char*,
> > char*, char**, int, int)':
> > hunspell.cxx:1039: error: invalid conversion from 'int (*)()' to 'int
> > (*)(const char*, int)'
> > hunspell.cxx:1132: error: invalid conversion from 'int (*)()' to 'int
> > (*)(const char*, int)'
> > hunspell.cxx:1159: error: invalid conversion from 'int (*)()' to 'int
> > (*)(const char*, int)'
> > hunspell.cxx: In function 'int main(int, char**)':
> > hunspell.cxx:1443: error: 'rl_set_key' was not declared in this scope
> > make[3]: *** [hunspell.o] Error 1
> <snip>
>
> I couldn't reproduce your issue on 10.5.8/i386.  The fact that the error
> messages mention functions and types with "rl" in their name suggests
> that maybe you're picking up a non-Fink readline library.  Do you have
> such a library in /usr/local/lib?
>
> Also, it might be worth checking the config.log file in the hunspell
> build directory (under /sw/src/fink.build) to see exactly what readline
> library it's picking up.
> - --
> Alexander Hansen
> Fink User Liaison
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAkwQMpMACgkQB8UpO3rKjQ8FKQCgm4XCbptvL7+mXaRBhfK+hrtg
> YFIAoJB5hNE2xZ4LfAztN5VXhVm99AY9
> =QsVV
> -----END PGP SIGNATURE-----
>

Attachment: config.log.gz
Description: GNU Zip compressed data

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to