[sylpheed:32733] Re: Error compiling 2.6beta2

mike mykey at mykey.de
Thu Nov 20 10:54:13 JST 2008


This has been covered in the lists before:

 'A cheap work-around is to include <gtk.h> in all four files, where this
build error occurs.'

#include <gtk/gtk.h>

I found a patch for sylpheed 2.5.0rc2 for ubuntu intrepid somewhere on the net
- find it attached.

hope this helps
mykey 

On Thu, 20 Nov 2008 01:50:59 +0200
John Shane <jslists at mtwafrica.org> wrote:

> My attempts to compile 2.6beta2 on an Xubuntu 8.10 Intrepid system
> die with the following errors.  Can anyone point me in the direction
> of a solution?  Many thanks, John
> 
> if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Sylpheed\" -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12     -I/usr/local/include -I../libsylph -DLOCALEDIR=\""/usr/local/share/locale"\" -DMANUALDIR=\""/usr/local/share/sylpheed/manual"\" -DFAQDIR=\""/usr/local/share/sylpheed/faq"\" -DTARGET_ALIAS=\""i686-pc-linux-gnu"\" -DSYSCONFDIR=\""/usr/local/etc"\"   -g -O2   -I/usr/include/gtkspell-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12   -MT prefs_display_items.o -MD -MP -MF ".deps/prefs_display_items.Tpo" \
> 	  -c -o prefs_display_items.o `test -f 'prefs_display_items.c' || echo './'`prefs_display_items.c; \
> 	then mv -f ".deps/prefs_display_items.Tpo" ".deps/prefs_display_items.Po"; \
> 	else rm -f ".deps/prefs_display_items.Tpo"; exit 1; \
> 	fi
> In file included from /usr/include/gtk-2.0/gtk/gtk.h:222,
>                  from /usr/include/gtk-2.0/gtk/gtksignal.h:32,
>                  from /usr/include/gtk-2.0/gtk/gtkclist.h:34,
>                  from prefs_display_items.c:33:
> /usr/include/gtk-2.0/gtk/gtkctree.h:110: error: expected specifier-qualifier-list before ‘GtkCList’
> /usr/include/gtk-2.0/gtk/gtkctree.h:127: error: expected specifier-qualifier-list before ‘GtkCListClass’
> /usr/include/gtk-2.0/gtk/gtkctree.h:149: error: expected specifier-qualifier-list before ‘GtkCListRow’
> /usr/include/gtk-2.0/gtk/gtkctree.h:342: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gtk_ctree_node_get_cell_type’
> make[4]: *** [prefs_display_items.o] Error 1
> make[4]: Leaving directory `/home/jshane/Downloads/Sylpheed/sylpheed-2.6.0beta2/src'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/home/jshane/Downloads/Sylpheed/sylpheed-2.6.0beta2/src'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/home/jshane/Downloads/Sylpheed/sylpheed-2.6.0beta2/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/jshane/Downloads/Sylpheed/sylpheed-2.6.0beta2'
> make: *** [all] Error 2
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: sylpheed_build_patch.txt
Url: http://www.sraoss.jp/pipermail/sylpheed/attachments/20081120/032b39a2/attachment.txt 


More information about the Sylpheed mailing list