tags 562027 + patch retitle 562027 compiz: FTBFS: compiz-window-manager.c:30:32: error: gconf/gconf-client.h: No such file or directory thanks
Hi, On Tue, Dec 22, 2009 at 09:31:41AM +0900, Nobuhiro Iwamatsu wrote: > make[4]: Entering directory `/home/iwamatsu/compiz/compiz-0.8.2/gtk/gnome' > /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H > -I. -I../.. -D_REENTRANT -I/usr/include/gnome-window-settings-2.0 > -I/usr/include/gtk-2.0 -I/usr/include/gnome-desktop-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/pixman-1 > -I/usr/include/freetype2 -I/usr/include/directfb > -I/usr/include/libpng12 -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -I/usr/include/startup-notification-1.0 > -DMETACITY_THEME_DIR=\""/usr/share/themes"\" > -DLOCALEDIR="\"/usr/share/locale"\" -Wall -g -O2 -Wpointer-arith > -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations > -Wnested-externs -D_FORTIFY_SOURCE=2 -MT compiz-window-manager.lo -MD > -MP -MF .deps/compiz-window-manager.Tpo -c -o compiz-window-manager.lo > compiz-window-manager.c > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -D_REENTRANT > -I/usr/include/gnome-window-settings-2.0 -I/usr/include/gtk-2.0 > -I/usr/include/gnome-desktop-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/pixman-1 -I/usr/include/freetype2 > -I/usr/include/directfb -I/usr/include/libpng12 > -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include > -I/usr/include/startup-notification-1.0 > -DMETACITY_THEME_DIR=\"/usr/share/themes\" > -DLOCALEDIR=\"/usr/share/locale\" -Wall -g -O2 -Wpointer-arith > -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations > -Wnested-externs -D_FORTIFY_SOURCE=2 -MT compiz-window-manager.lo -MD > -MP -MF .deps/compiz-window-manager.Tpo -c compiz-window-manager.c > -fPIC -DPIC -o .libs/compiz-window-manager.o > compiz-window-manager.c:30:32: error: gconf/gconf-client.h: No such > file or directory The patch attached to this E-mail fixes this build issue but using GCONF_CFLAGS and GCONF_LIBS when building this module. In the past, the necessary build options were included, I suppose, by gtk or similar. Please note that the patch modifies some Makefile.am, i.e., it requires a rebuild of the appropriate Makefile.in (using automake; which is done automatically by the build system). Please also note that I did not test the resulting binary, since I do not use compiz myself. HTH, Sebastian -- Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/ Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety. -- Benjamin Franklin
--- a/gtk/gnome/Makefile.am +++ b/gtk/gnome/Makefile.am @@ -2,7 +2,8 @@ if USE_GNOME libcompiz_la_LDFLAGS = -export-dynamic -avoid-version -rpath $(moduledir) -libcompiz_la_LIBADD = @GNOME_WINDOW_SETTINGS_LIBS@ +libcompiz_la_LIBADD = @GNOME_WINDOW_SETTINGS_LIBS@ @GCONF_LIBS@ +libcompiz_la_CFLAGS = @GCONF_CFLAGS@ libcompiz_la_SOURCES = \ compiz-window-manager.c \ compiz-window-manager.h
signature.asc
Description: Digital signature