[sylpheed:32784] Re: FTBFS on ubuntu jaunty

Michael Schwendt mschwendt at gmail.com
Tue Dec 9 06:13:06 JST 2008


On Mon, 8 Dec 2008 21:10:33 +0100, Laurent wrote:

> Hi,
> 
> sylpheed 2.6.0~rc0 FTBFS on jaunty:
> 
>  cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I.. -I/usr/include -DG_LOG_DOMAIN=\"LibSylph\" -DSYSCONFDIR=\"/etc\" -g -O2 -g -Wall -O2 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_REENTRANT -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/directfb -I/usr/include/libpng12 -c account.c  -fPIC -DPIC -o .libs/account.o
> In file included from session.h:32,
>                  from smtp.h:30,
>                  from prefs_account.h:32,
>                  from folder.h:122,
>                  from account.c:31:
> socket.h:49: error: redeclaration of enumerator 'SOCK_NONBLOCK'
> /usr/include/bits/socket.h:71: error: previous definition of 'SOCK_NONBLOCK' was here
> make[3]: *** [account.lo] Error 1
> make[3]: Leaving directory `/tmp/buildd/sylpheed-2.6.0~rc0/build-tree/sylpheed-2.6.0rc/libsylph'
> 

Has been reported before and is fixed in Sylpheed svn.
If you want it fixed in Ubuntu, fetch the patch from Fedora, or svn,
or simply rename SOCK_NONBLOCK in Sylpheed's libsylph. svn renames it
to SYL_SOCK_NONBLOCK


More information about the Sylpheed mailing list