[sylpheed:32927] Re: 2.6 and aspell

Michael Schwendt mschwendt at gmail.com
Tue Apr 7 04:05:01 JST 2009


On Mon, 06 Apr 2009 10:55:59 -0700, Aric wrote:

> On Fri, 2009-03-20 at 11:07 +0100, Michael Schwendt wrote:
> > On Thu, 19 Mar 2009 15:39:48 -0700, Aric wrote:
> > 
> > > > Alternatively, if it isn't installed, you need to patch Sylpheed to
> > > > link with libaspell (-laspell). Previously, the gtkspell pkg-config
> > > > file has done that automatically.
> > > 
> > > Yes, how does one go about doing that?
> > 
> > Edit src/Makefile.in prior to running "configure", and add
> > " -laspell " to the definition of sylpheed_LDADD, for example.
> 
> OK. This is what I did in the src/Makefile.in:
> 
> sylpheed_LDADD = -laspell \
> 	$(INTLLIBS) \
> 	$(GTK_LIBS) \
> 	$(GPGME_LIBS) \
> 	$(LDAP_LIBS) \
> 	$(LIBICONV) \
> 	../libsylph/libsylph.la \
> 	$(SYLPHEED_RES)
> 
> When building the make fails with this error making me believe that the
> above edit was incorrect:
> 
> pkgbuild: Undefined                     first referenced
> pkgbuild:  symbol                           in file
> pkgbuild: enchant_broker_list_dicts           compose.o  (symbol belongs
> to implicit dependency /usr/lib/libenchant.so.1)
> pkgbuild: enchant_broker_init                 compose.o  (symbol belongs
> to implicit dependency /usr/lib/libenchant.so.1)
> pkgbuild: enchant_broker_free                 compose.o  (symbol belongs
> to implicit dependency /usr/lib/libenchant.so.1)
> pkgbuild: ld: fatal: symbol referencing errors. No output written to
> sylpheed
> pkgbuild: make[4]: *** [sylpheed] Error 1
> pkgbuild: make[4]: Leaving directory
> `/export/home/jdsuser/packages/BUILD/sylpheed-2.6.0/src'
> pkgbuild: make[3]: *** [all-recursive] Error 1
> pkgbuild: make[3]: Leaving directory
> `/export/home/jdsuser/packages/BUILD/sylpheed-2.6.0/src'
> pkgbuild: make[2]: *** [all] Error 2
> pkgbuild: make[2]: Leaving directory
> `/export/home/jdsuser/packages/BUILD/sylpheed-2.6.0/src'
> pkgbuild: make[1]: *** [all-recursive] Error 1
> pkgbuild: make[1]: Leaving directory
> `/export/home/jdsuser/packages/BUILD/sylpheed-2.6.0'
> pkgbuild: make: *** [all] Error 2
> pkgbuild: Bad exit status 

This build error doesn't have much to do with the original thread.
Here Sylpheed is built with Enchant support instead of with ASpell. 
What version of GtkSpell is used here? 
As written before, it's GtkSpell >= 2.0.13 where the Enchant patches
have been merged.


More information about the Sylpheed mailing list