On Tue, Sep 18, 2012 at 10:23 AM, Patrick Ohly <patrick.o...@intel.com> wrote: > On Tue, 2012-09-18 at 07:43 +0100, Peter Robinson wrote: >> Hi Patrick, >> >> I've not investigated this closely but trying to build on F-16 I'm >> getting the error below. It looks like it might be depending on a >> newer release of glib2 or gtk3 that's not being enforced in the >> configure check, or not failing back to an older function. >> >> Builds fine on F-17+ >> >> Peter >> >> gcc -DHAVE_CONFIG_H -I. -I. -I. -I./src/dbus/glib -I./src/dbus/glib >> -I/builddir/build/BUILD/syncevolution-1.3/src/build-synthesis/src >> -DGSEAL_ENABLE -pthread -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 >> -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 >> -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/include/dbus-1.0 -I/usr/lib/dbus-1.0/include >> -I/usr/include/unique-1.0 -I/usr/include/gtk-2.0 >> -I/usr/lib/gtk-2.0/include -pthread -I/usr/include/dbus-1.0 >> -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 >> -I/usr/lib/glib-2.0/include >> -DGLADEDIR=\""/usr/share/syncevolution/"\" >> -DTHEMEDIR=\""/usr/share/syncevolution/"\" >> -DLIBEXECDIR=\"/usr/libexec\" >> -DSYNCEVOLUTION_LOCALEDIR=\"/usr/share/locale\" -Wall >> -Wno-unknown-pragmas -Wno-deprecated-declarations -O2 -g -pipe -Wall >> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector >> --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom >> -fasynchronous-unwind-tables -c -o >> src/gtk3-ui/src_gtk3_ui_sync_ui-sync-ui.o `test -f >> 'src/gtk3-ui/sync-ui.c' || echo './'`src/gtk3-ui/sync-ui.c >> src/gtk3-ui/sync-ui.c:30:33: fatal error: gio/gdesktopappinfo.h: No >> such file or directory > > It could also be a missing pkg-config check. According to the GIO docs, > that header file is in gio-unix-2.0, which configure did not check for > explicitly. Does the following patch help?
Yes, that fixes the build on F16, no idea why it wasn't an issue on the newer releases. Peter > diff --git a/configure.ac b/configure.ac > index ba3bbee..c74a7b2 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -574,7 +574,7 @@ if test $enable_gui != "no"; then > AC_PATH_PROG(DBUS_BINDING_TOOL, dbus-binding-tool) > AC_PATH_PROG(GLIB_GENMARSHAL, glib-genmarshal) > > - gui_modules="$gtk_version glib-2.0 dbus-glib-1 >= 0.60 gio-2.0" > + gui_modules="$gtk_version glib-2.0 dbus-glib-1 >= 0.60 gio-2.0 > gio-unix-2.0" > if test $enable_gui = "moblin"; then > AC_DEFINE(USE_MOBLIN_UX, 1, [Use Moblin UI widgets]) > fi > > -- > Best Regards, Patrick Ohly > > The content of this message is my personal opinion only and although > I am an employee of Intel, the statements I make here in no way > represent Intel's position on the issue, nor am I authorized to speak > on behalf of Intel on this matter. > > _______________________________________________ SyncEvolution mailing list SyncEvolution@syncevolution.org http://lists.syncevolution.org/listinfo/syncevolution