SOLVED: sylfilter compile error: #error "Only <glib.h> can be included directly."
pomidorabelisima at gmail.com
Sun Mar 3 06:17:10 UTC 2013
On 03/03/13 02:00, Ranjan Maitra wrote:
> On Sun, 3 Mar 2013 00:01:06 +0100 poma <pomidorabelisima at gmail.com>
>> On 03/02/13 20:22, Ranjan Maitra wrote:
>>> I was able to get it to "work" (i.e. compile, etc) with the following:
>>> ./configure --with-libsylph=sylpheed --with-package=sylpheed
>>> --enable-sqlite=yes --includedir=/usr/include/sylpheed
>>> make install
>>> I don't know how convenient it would be to make this into an rpm, but I
>>> thought I would post this to the ML in case someone was looking for it
>>> later. (It does require glib-devel, sylpheed-devel and sqlite-devel to
>> 'sylfilter-0.7' missing a couple 'includes' needed for
>> BUILTIN_LIBSYLPH(default), so you don't need all that stunts with
>> 'configure'. :)
>> git clone http://floss.sraoss.jp/~yamamoto/sylfilter.git
> Not sure if I am using git correctly....
> $git clone http://floss.sraoss.jp/~yamamoto/sylfilter.git
> Cloning into 'sylfilter'...
> But then, while doing:
> ./configure --with-libsylph=builtin
> ./configure --with-libsylph=sylpheed
> I get exactly the same error sequences as before. "Fixed" with the same
> commands as before.
> What am I doing wrong?
Patch "sylfilter-0.7-includes.diff" is for "sylfilter-0.7.tar.gz"
exclusively for BUILTIN_LIBSYLPH(--with-libsylph=builtin) which is
default, so "./configure" is adequate. ;)
Patch(attach) "sylfilter-20120116git90da63d-includes.diff" is for the
recent "sylfilter" git;
git clone http://floss.sraoss.jp/~yamamoto/sylfilter.git
git apply --stat ../sylfilter-20120116git90da63d-includes.diff
git apply --check ../sylfilter-20120116git90da63d-includes.diff
git apply ../sylfilter-20120116git90da63d-includes.diff
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1517 bytes
Desc: not available
More information about the users