Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 282807 - x11-wm/compiz-0.8.2-r2 failes to compile because gconf/gconf-client.h not found
Summary: x11-wm/compiz-0.8.2-r2 failes to compile because gconf/gconf-client.h not found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Desktop-Effects herd
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-26 14:46 UTC by Steffen Hau
Modified: 2009-08-29 12:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steffen Hau 2009-08-26 14:46:45 UTC
compiz-0.8.2-r2 does not compile, because it's not able to find gconf-client.h. The pkgconfig for gconf reports in cflags section, that the includes can be found in /usr/include/gconf/2/gconf/. This path is correctly added to the GCONF_CFLAGS variable, which is not used in any Makefile. If I manually add this to COMPILE variable, compiz compiles fine.

Here is the exact error message:
i686-pc-linux-gnu-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/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 -I/usr/include/startup-notification-1.0 -DMETACITY_THEME_DIR=\"/usr/share/themes\" -DLOCALEDIR=\"/usr/share/locale\" -march=core2 -O2 -pipe -fomit-frame-pointer -mfpmath=sse -msse3 -Wall -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
In file included from /usr/include/gtk-2.0/gtk/gtk.h:228,
                 from /usr/include/gnome-desktop-2.0/libgnome/gnome-desktop-item.h:35,
                 from /usr/include/gnome-window-settings-2.0/gnome-window-manager.h:31,
                 from compiz-window-manager.h:6,
                 from compiz-window-manager.c:33:
/usr/include/gtk-2.0/gtk/gtkitemfactory.h:47: warning: function declaration isn’t a prototype
compiz-window-manager.c:91: error: expected specifier-qualifier-list before ‘GConfClient’
compiz-window-manager.c:98: error: expected ‘)’ before ‘*’ token
compiz-window-manager.c: In function ‘compiz_change_settings’:
compiz-window-manager.c:137: warning: implicit declaration of function ‘gconf_client_set_string’
compiz-window-manager.c:137: warning: nested extern declaration of ‘gconf_client_set_string’
compiz-window-manager.c:137: error: ‘CompizWindowManagerPrivate’ has no member named ‘gconf’
compiz-window-manager.c:142: warning: implicit declaration of function ‘gconf_client_set_bool’
compiz-window-manager.c:142: warning: nested extern declaration of ‘gconf_client_set_bool’
compiz-window-manager.c:142: error: ‘CompizWindowManagerPrivate’ has no member named ‘gconf’
compiz-window-manager.c:148: error: ‘CompizWindowManagerPrivate’ has no member named ‘gconf’
compiz-window-manager.c:153: warning: implicit declaration of function ‘gconf_client_set_int’
compiz-window-manager.c:153: warning: nested extern declaration of ‘gconf_client_set_int’
compiz-window-manager.c:153: error: ‘CompizWindowManagerPrivate’ has no member named ‘gconf’
compiz-window-manager.c:162: error: ‘CompizWindowManagerPrivate’ has no member named ‘gconf’
compiz-window-manager.c:169: error: ‘CompizWindowManagerPrivate’ has no member named ‘gconf’
compiz-window-manager.c:189: error: ‘CompizWindowManagerPrivate’ has no member named ‘gconf’
compiz-window-manager.c: In function ‘compiz_get_settings’:
compiz-window-manager.c:211: warning: implicit declaration of function ‘gconf_client_get_string’
compiz-window-manager.c:211: warning: nested extern declaration of ‘gconf_client_get_string’
compiz-window-manager.c:211: error: ‘CompizWindowManagerPrivate’ has no member named ‘gconf’
compiz-window-manager.c:213: warning: assignment makes pointer from integer without a cast
compiz-window-manager.c:218: error: ‘CompizWindowManagerPrivate’ has no member named ‘font’
compiz-window-manager.c:219: error: ‘CompizWindowManagerPrivate’ has no member named ‘font’
compiz-window-manager.c:221: error: ‘CompizWindowManagerPrivate’ has no member named ‘font’
compiz-window-manager.c:223: error: ‘CompizWindowManagerPrivate’ has no member named ‘font’
compiz-window-manager.c:231: warning: implicit declaration of function ‘gconf_client_get_bool’
compiz-window-manager.c:231: warning: nested extern declaration of ‘gconf_client_get_bool’
compiz-window-manager.c:231: error: ‘CompizWindowManagerPrivate’ has no member named ‘gconf’
compiz-window-manager.c:239: error: ‘CompizWindowManagerPrivate’ has no member named ‘gconf’
compiz-window-manager.c:249: warning: implicit declaration of function ‘gconf_client_get_int’
compiz-window-manager.c:249: warning: nested extern declaration of ‘gconf_client_get_int’
compiz-window-manager.c:249: error: ‘CompizWindowManagerPrivate’ has no member named ‘gconf’
compiz-window-manager.c:261: error: ‘CompizWindowManagerPrivate’ has no member named ‘gconf’
compiz-window-manager.c:263: warning: assignment makes pointer from integer without a cast
compiz-window-manager.c:281: error: ‘CompizWindowManagerPrivate’ has no member named ‘mouse_modifier’
compiz-window-manager.c:282: error: ‘CompizWindowManagerPrivate’ has no member named ‘mouse_modifier’
compiz-window-manager.c:284: error: ‘CompizWindowManagerPrivate’ has no member named ‘mouse_modifier’
compiz-window-manager.c:288: error: ‘CompizWindowManagerPrivate’ has no member named ‘mouse_modifier’
compiz-window-manager.c:297: error: ‘CompizWindowManagerPrivate’ has no member named ‘gconf’
compiz-window-manager.c:299: warning: assignment makes pointer from integer without a cast
compiz-window-manager.c:304: error: ‘CompizWindowManagerPrivate’ has no member named ‘theme’
compiz-window-manager.c:305: error: ‘CompizWindowManagerPrivate’ has no member named ‘theme’
compiz-window-manager.c:306: error: ‘CompizWindowManagerPrivate’ has no member named ‘theme’
compiz-window-manager.c:317: error: ‘CompizWindowManagerPrivate’ has no member named ‘gconf’
compiz-window-manager.c:319: warning: assignment makes pointer from integer without a cast
compiz-window-manager.c: In function ‘compiz_window_manager_init’:
compiz-window-manager.c:456: error: ‘CompizWindowManagerPrivate’ has no member named ‘gconf’
compiz-window-manager.c:456: warning: implicit declaration of function ‘gconf_client_get_default’
compiz-window-manager.c:456: warning: nested extern declaration of ‘gconf_client_get_default’
compiz-window-manager.c:457: error: ‘CompizWindowManagerPrivate’ has no member named ‘mouse_modifier’
compiz-window-manager.c:458: error: ‘CompizWindowManagerPrivate’ has no member named ‘font’
compiz-window-manager.c:459: error: ‘CompizWindowManagerPrivate’ has no member named ‘theme’
compiz-window-manager.c:461: warning: implicit declaration of function ‘gconf_client_add_dir’
compiz-window-manager.c:461: warning: nested extern declaration of ‘gconf_client_add_dir’
compiz-window-manager.c:461: error: ‘CompizWindowManagerPrivate’ has no member named ‘gconf’
compiz-window-manager.c:463: error: ‘GCONF_CLIENT_PRELOAD_ONELEVEL’ undeclared (first use in this function)
compiz-window-manager.c:463: error: (Each undeclared identifier is reported only once
compiz-window-manager.c:463: error: for each function it appears in.)
compiz-window-manager.c:466: error: ‘CompizWindowManagerPrivate’ has no member named ‘gconf’
compiz-window-manager.c:472: error: ‘CompizWindowManagerPrivate’ has no member named ‘gconf’
compiz-window-manager.c:472: error: ‘value_changed’ undeclared (first use in this function)
compiz-window-manager.c: In function ‘compiz_window_manager_finalize’:
compiz-window-manager.c:488: error: ‘CompizWindowManagerPrivate’ has no member named ‘gconf’
compiz-window-manager.c:488: error: ‘value_changed’ undeclared (first use in this function)
compiz-window-manager.c:492: error: ‘CompizWindowManagerPrivate’ has no member named ‘mouse_modifier’
compiz-window-manager.c:493: error: ‘CompizWindowManagerPrivate’ has no member named ‘mouse_modifier’
compiz-window-manager.c:495: error: ‘CompizWindowManagerPrivate’ has no member named ‘font’
compiz-window-manager.c:496: error: ‘CompizWindowManagerPrivate’ has no member named ‘font’
compiz-window-manager.c:498: error: ‘CompizWindowManagerPrivate’ has no member named ‘theme’
compiz-window-manager.c:499: error: ‘CompizWindowManagerPrivate’ has no member named ‘theme’
compiz-window-manager.c:501: error: ‘CompizWindowManagerPrivate’ has no member named ‘gconf’
make[3]: *** [compiz-window-manager.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/x11-wm/compiz-0.8.2-r2/work/compiz-0.8.2/gtk/gnome'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-wm/compiz-0.8.2-r2/work/compiz-0.8.2/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-wm/compiz-0.8.2-r2/work/compiz-0.8.2'
make: *** [all] Error 2



Reproducible: Always

Steps to Reproduce:
1. compile compiz-0.8.2-r2 with gconf-2.26.2-r1
2.
3.

Actual Results:  
compiz failes to compile
Comment 1 Romain Perier (RETIRED) gentoo-dev 2009-08-29 12:29:38 UTC
+*compiz-0.8.2-r3 (29 Aug 2009)
+
+  29 Aug 2009; Romain Perier <mrpouet@gentoo.org>
+  -compiz-0.6.2-r1.ebuild, -compiz-0.8.2.ebuild, -compiz-0.8.2-r1.ebuild,
+  -compiz-0.8.2-r2.ebuild, +compiz-0.8.2-r3.ebuild,
+  +files/compiz-0.8.2-gtk-gnome-missing-gconf-flags.patch, files/compiz-manager,
+  metadata.xml:
+  Fix libGL.so.1.2 path in compiz-manager (bug #274762), update KDE4
+  dependencies (bug #277016), fix missing gconf flags in gnome plugin (bug
+  #282807), fix QA warnings, Drop old revisions.

Fixed into the main tree, thanks for reporting ;)