Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 Jun 2008 11:10:49 -0500
From:      "Jeremy Messenger" <mezz7@cox.net>
To:        "Oliver Lehmann" <oliver@freebsd.org>
Cc:        gnome@freebsd.org
Subject:   Re: enchant 1.4.0 breaks my mail/sylpheed2
Message-ID:  <op.ucdy8b2o9aq2h7@mezz.mezzweb.com>
In-Reply-To: <20080607095104.df570a8c.oliver@FreeBSD.org>
References:  <20080607095104.df570a8c.oliver@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 07 Jun 2008 02:51:04 -0500, Oliver Lehmann <oliver@FreeBSD.org> =
 =

wrote:

> Hi,
>
> my mail/sylpheed needs
>
>> compose.o(.text+0xbdb5): In function `compose_create':
>> : undefined reference to `new_aspell_config'
>> compose.o(.text+0xbdc0): In function `compose_create':
>> : undefined reference to `get_aspell_dict_info_list'
>> compose.o(.text+0xbdcb): In function `compose_create':
>> : undefined reference to `delete_aspell_config'
>> compose.o(.text+0xbdd3): In function `compose_create':
>> : undefined reference to `aspell_dict_info_list_elements'
>> compose.o(.text+0xbde4): In function `compose_create':
>> : undefined reference to `aspell_dict_info_enumeration_next'
>> compose.o(.text+0xbe23): In function `compose_create':
>> : undefined reference to `delete_aspell_dict_info_enumeration'
>
> adding -laspell to libdata/gtkspell-2.0.pc fixes it. Is this now a
> problem of the pkgconfig file or my sylpheed2?

I think it's a sylpheed2 bug, because if I understand gtkspell correct i=
s  =

that if backend change and it won't change gtkspell. The API of gtkspell=
  =

hasn't change for about five years. The gtkspell has dropped aspell  =

support and use enchant instead. The sylpheed2 should add aspell stuff i=
n  =

its configure if it uses direct to aspell function.

I have found a patch for sylpheed2 to use enchant instead in case if you=
  =

want it.

http://lists.ibiblio.org/pipermail/sm-commit/2008-May/017108.html
http://dbg.download.sourcemage.org/grimoire/codex/stable-rc/mail/sylphee=
d/patch-gtkspell

Cheers,
Mezz

> I guess -laspell was included in the .pc file in gtkspell-2.0.11.
>
> When you check .11:
>
> gtkspell-2.0.pc.in:Libs: -L${libdir} -lgtkspell @SPELLER_LIB@
>
> while SPELLER_LIB could be:
>
> configure:  SPELLER_LIB=3D"-laspell"
> configure:  SPELLER_LIB=3D"-lpspell"
>
> When you check .13:
>
> gtkspell-2.0.pc.in:Libs.private: @SPELLER_LIB@
>
> configure:SPELLER_LIB=3D-lenchant
>
> and -lenchant does NOT include this functions - and it is "Libs.privat=
e"
> - for me this looks like incompatibility?
>
> please keep me CCed



-- =

mezz7@cox.net  -  mezz@FreeBSD.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/  -  gnome@FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.ucdy8b2o9aq2h7>