[sylpheed:33227] Re: Sylpheed Compile Problem

Georg Klein georg.klein at gmx.info
Sat Oct 3 23:31:01 JST 2009


Hello,

On Sat, 3 Oct 2009 15:33:49 +0200
Georg Klein <georg.klein at gmx.info> wrote:

> Hello,
> 
> On Fri, 02 Oct 2009 17:23:16 -0700
> Aric Gregson <aorchid at mac.com> wrote:
> 
> > Hello,
> > 
> > I am hoping to get Sylpheed build with spellcheck again so that I
> > can use it. I have had difficulty since the move to enchant. I am
> > building on Solaris, build 121 of SXCE.
> > 
> > These are the configure arguments:
> > 
> > ./configure --prefix=%{_prefix}          \
> >              --bindir=%{_bindir}         \
> >              --mandir=%{_mandir}         \
> >              --libdir=%{_libdir}         \
> >              --datadir=%{_datadir}       \
> >              --libexecdir=%{_libexecdir} \
> >              --sysconfdir=%{_sysconfdir} \
> >              --enable-shared             \
> >              --enable-jpilot             \
> >              --enable-ldap               \
> >              --disable-static
> > 
> > and it fails here:
> > 
> > pkgbuild: ld: warning: file ../libsylph/.libs/libsylph-0.so: linked
> > to /export/home/jdsuser/packages/BUILD/sylpheed-2.7.1/libsylph/.libs/libsylph-0.so: 
> > attempted multiple inclusion of file
> > 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 .libs/sylpheed
> > pkgbuild: make[4]: *** [sylpheed] Error 1
> > pkgbuild: make[4]: Leaving directory 
> > `/export/home/jdsuser/packages/BUILD/sylpheed-2.7.1/src'
> > pkgbuild: make[3]: *** [all-recursive] Error 1
> > pkgbuild: make[3]: Leaving directory 
> > `/export/home/jdsuser/packages/BUILD/sylpheed-2.7.1/src'
> > pkgbuild: make[2]: *** [all] Error 2
> > pkgbuild: make[2]: Leaving directory 
> > `/export/home/jdsuser/packages/BUILD/sylpheed-2.7.1/src'
> > pkgbuild: make[1]: *** [all-recursive] Error 1
> > pkgbuild: make[1]: Leaving directory 
> > `/export/home/jdsuser/packages/BUILD/sylpheed-2.7.1'
> > pkgbuild: make: *** [all] Error 2
> > pkgbuild: Bad exit status from 
> > /var/tmp/pkgbuild-jdsuser/pkgbuild-tmp-2.5983 (%build)
> > --- command output ends --- finished at Fri Oct  2 17:19:46 PDT 2009
> > 
> > Any ideas would be greatly appreciated.
> 
> Unfortunately no idea for the moment: I am (or have been) fighting
> this problem on all versions of opensolaris.
> 
> The only way to build sylpheed successfully on opensolaris was to pass
> the '--disable-gtkspell' option to configure. So for the moment it
> seems that to go without spelling is the only way to have sylpheed on
> opensolaris.

your mail made me look for the problem again - and I got it fixed (at
least on b101b and on b123, where I could test it.

I used the environment variable LIBS and let it point
to /usr/lib/libenchant,so:

# export LIBS="/usr/lib/libenchant.so"
# ./configure

and now I have sylpheed on opensolaris with spell checking enabled.

Hope that helps,  Georg

-- 
Georg Klein <georg.klein at gmx.info>


More information about the Sylpheed mailing list