[sylpheed:35600] Re: configure sylpheed with sylfilter

Globe Trotter itsme_410 at yahoo.com
Sun Mar 3 04:04:03 JST 2013



--- On Sat, 3/2/13, Ricardo Mones <mones at debian.org> wrote:

> From: Ricardo Mones <mones at debian.org>
> Subject: [sylpheed:35599] Re: configure sylpheed with sylfilter
> To: sylpheed at sraoss.jp
> Date: Saturday, March 2, 2013, 1:46 PM
> On Sat, 2 Mar 2013 09:18:36 -0800
> (PST)
> Globe Trotter <itsme_410 at yahoo.com>
> wrote:
> 
> > is it possible to compile sylpheed with sylfilter, or
> is it meant to
> > be a separate standalone application? i ask this
> question because the
> > news page at http://sylpheed.sraoss.jp/en/news.html only says 
> 
> > 
> > Win32: SylFilter is now also included in the installer
> (since
> > 3.2beta6).
> > 
> > but there is no information on other OS's. does
> sylfilter have to be
> > installed separately, what do I have to do to get it
> working with
> > sylpheed which uses syfilter as the default?
> 
>   http://sylpheed.sraoss.jp/sylfilter/

Hi Ricardo,

Thank you very much again for your help! I am not sure how to use it though.

I tried compiling sylfilter but have the following problems:

./configure --with-libsylph=builtin --with-libsylph-dir=libsylph --enable-sqlite=yes 


make

gives an error:

......
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I.. -I/usr/local/include -DG_LOG_DOMAIN=
\"SylFilter\" -DSYSCONFDIR=\"/usr/local/etc\" -DLOCALEDIR=
\"/usr/local/share/locale\" -g -O2 -MT procmsg.lo -MD -MP
-MF .deps/procmsg.Tpo -c procmsg.c  -fPIC -DPIC -o .libs/procmsg.o In
file included from /usr/lib64/glib-2.0/include/glibconfig.h:9:0, from
defs.h:13, from procmsg.c:6: /usr/include/glib-2.0/glib/gmacros.h:32:2:
error: #error "Only <glib.h> can be included directly." make[2]: ***
[procmsg.lo] Error 1 make[2]: Leaving directory
`/home/my/Downloads/sylfilter-0.7/libsylph' make[1]: ***
[all-recursive] Error 1 make[1]: Leaving directory
`/home/my/Downloads/sylfilter-0.7' make: *** [all] Error 2

which I resolve by editing 

defs.h to replace #include<glibconfig.h> with #include<glib.h>


Even then, I get the following error:

textcontent-filter.c:20:32: fatal error: sylph/procheader.h: No such file or directory
compilation terminated.
make[3]: *** [textcontent-filter.lo] Error 1


But I am using libsylph=builtin so I am not sure why it goes into sylph instead of libsylph to search for that particular procheader.h.

Any help again?

Thanks!






More information about the Sylpheed mailing list