[sylpheed:36196] Re: Compilation errors - openSUSE 12.3/13.1

HAYASHI Kentaro kenhys at gmail.com
Sat Oct 11 15:39:51 JST 2014


Hi,

Here is the workaround to build libsylph.

Just include glib.h instead of glibconfig.h.


% diff -u libsylph-1.1.0.orig/libsylph/defs.h libsylph-1.1.0/libsylph/defs.h
--- libsylph-1.1.0.orig/libsylph/defs.h 2006-09-22 13:10:24.000000000 +0900
+++ libsylph-1.1.0/libsylph/defs.h      2014-10-11 15:36:37.576417451 +0900
@@ -24,7 +24,7 @@
 #  include "config.h"
 #endif

-#include <glibconfig.h>
+#include <glib.h>

 #ifdef G_OS_WIN32
 #  include <glib/gwin32.h>


Regards.


On Sat, Oct 11, 2014 at 7:18 AM, Roger Pryor <rjpryor at infoserve.net> wrote:

> Hi:
>
> I am unable to build libsylph-1.1.0 or sylpheed 3.4.2
>
> libsylph-1-1.0 fails with the error:
>
> /usr/include/glib-2.0/glib/gmacros.h:32:2: error: #error "Only <glib.h>
> can be inculded directly."
>
> sylpheed 3.4.2 builds but crashes - errors are:
>
> Warning plugon.c:199 signal 'inc-mail-start' not found
> Warning plugin.c:199 signal 'inc-mail-finished' not found
> undefined symbol; ro_human_readable_buf
>
> This sitiuation exists on both openSUSE 13.1 and and newly installed
> version 12.3.   It was working well under 12.3 prior to the reinstallation.
> I tried copying libsylph from the old installation's /usr/lib64 and
> sylpheed from the old /usr/local/bin.  This did not work either.
>
> Any assistance would be appreciayed
>
> --------------------------------------------------------------------------
> Roger Pryor
> Vancouver, B.C., Canada
>



-- 
HAYASHI Kentaro <kenhys at gmail.com>


More information about the Sylpheed mailing list