[...] Making all in xfce4-session make[2]: Entering directory `/tmp/xfce4-session-4.2.0/xfce4-session' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DORBIT2=1 -pthread -I/usr/local/include/gconf/2 -I/usr/local/include/orbit-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/local/include/xfce4 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/X11R6/include -I/usr/local/include/xfce4 -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include -I/usr/local/include/pango-1.0 -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/atk-1.0 -DLIBDIR=\"/usr/local/lib\" -DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" -DSYSCONFDIR=\"/usr/local/etc\" -DXFSM_SHUTDOWN_HELPER=\"/usr/local/libexec/xfsm-shutdown-helper\" -s -O3 -march=i686 -MT xfce4_session-xfsm-compat-gnome.o -MD -MP -MF ".deps/xfce4_session-xfsm-compat-gnome.Tpo" -c -o xfce4_session-xfsm-compat-gnome.o `test -f 'xfsm-compat-gnome.c' || echo './'`xfsm-compat-gnome.c; \ then mv -f ".deps/xfce4_session-xfsm-compat-gnome.Tpo" ".deps/xfce4_session-xfsm-compat-gnome.Po"; else rm -f ".deps/xfce4_session-xfsm-compat-gnome.Tpo"; exit 1; fi xfsm-compat-gnome.c:56:31: libgnome/libgnome.h: No such file or directory make[2]: *** [xfce4_session-xfsm-compat-gnome.o] Error 1 make[2]: Leaving directory `/tmp/xfce4-session-4.2.0/xfce4-session' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/xfce4-session-4.2.0' make: *** [all] Error 2 Reproducible: Always Steps to Reproduce:
Run configure with --disable-gconf or install libgnome devel files.
But I have it installed ! It is at /usr/local/include/libgnome-2.0/libgnome/libgnome.h
But, looking at the compiler command, I don't see the required -I/usr/local/include/libgnome-2.0 flag. I guess I know whats wrong. Please run export CFLAGS="$CFLAGS -I/usr/local/include/libgnome-2.0" prior to ./configure, and tell me if that fixes the problem.
Yes and no... Now I have : [...] Making all in xfce4-session make[2]: Entering directory `/tmp/xfce4-session-4.2.0/xfce4-session' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DORBIT2=1 -pthread -I/usr/local/include/gconf/2 -I/usr/local/include/orbit-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/local/include/xfce4 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/X11R6/include -I/usr/local/include/xfce4 -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include -I/usr/local/include/pango-1.0 -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/atk-1.0 -DLIBDIR=\"/usr/local/lib\" -DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" -DSYSCONFDIR=\"/usr/local/etc\" -DXFSM_SHUTDOWN_HELPER=\"/usr/local/libexec/xfsm-shutdown-helper\" -s -O3 -march=i686 -I/usr/local/include/libgnome-2.0 -I/usr/local/include/libgnome-2.0 -MT xfce4_session-xfsm-compat-gnome.o -MD -MP -MF ".deps/xfce4_session-xfsm-compat-gnome.Tpo" -c -o xfce4_session-xfsm-compat-gnome.o `test -f 'xfsm-compat-gnome.c' || echo './'`xfsm-compat-gnome.c; \ then mv -f ".deps/xfce4_session-xfsm-compat-gnome.Tpo" ".deps/xfce4_session-xfsm-compat-gnome.Po"; else rm -f ".deps/xfce4_session-xfsm-compat-gnome.Tpo"; exit 1; fi In file included from /usr/local/include/libgnome-2.0/libgnome/libgnome.h:30, from xfsm-compat-gnome.c:56: /usr/local/include/libgnome-2.0/libgnome/gnome-i18n.h:38:32: bonobo/bonobo-i18n.h: No such file or directory In file included from /usr/local/include/libgnome-2.0/libgnome/libgnome.h:38, from xfsm-compat-gnome.c:56: /usr/local/include/libgnome-2.0/libgnome/gnome-macros.h:31:34: bonobo/bonobo-macros.h: No such file or directory make[2]: *** [xfce4_session-xfsm-compat-gnome.o] Error 1 make[2]: Leaving directory `/tmp/xfce4-session-4.2.0/xfce4-session' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/xfce4-session-4.2.0' make: *** [all] Error 2
K, found the problem, the configure check isn't correct. I'll fix it in CVS. As a quick fix, use --disable-gconf when running configure, so you can build xfce4-session successfully.