GNOME Bugzilla – Bug 655056
Can't build gnome-settings-daemon due to missing dependency on upower
Last modified: 2011-07-22 23:30:43 UTC
Apparently, gnome-settings-daemon needs upower-glib, but upower is not installed. checking pkg-config is at least version 0.16... yes checking for GNOME_DESKTOP... yes checking for COLORD... yes checking for LIBCANBERRA... yes checking for LCMS... yes checking for LIBNOTIFY... yes checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for XINPUT... yes checking for XFIXES... yes checking for FONTCONFIG... yes checking for XF86MiscQueryExtension in -lXxf86misc... yes checking for X11/extensions/xf86misc.h... yes checking X11/extensions/XKB.h usability... yes checking X11/extensions/XKB.h presence... yes checking for X11/extensions/XKB.h... yes checking for LIBGNOMEKBDUI... yes checking for GIOUNIX... yes checking for UPOWER... no configure: error: Package requirements (upower-glib >= 0.9.1) were not met: No package 'upower-glib' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables UPOWER_CFLAGS and UPOWER_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. *** Error during phase configure of gnome-settings-daemon: ########## Error running ./autogen.sh --prefix /opt/gnome2 --libdir '/opt/gnome2/lib64' --disable-gconf-bridge --disable-pulse --disable-packagekit --disable-gudev --disable-smartcard-support --disable-polkit --disable-cups *** [12/42] $ jhbuild list gnome-settings-daemon | grep upower | wc -l 0 $ After having upower installed, gnome-settings-daemon built fine.
Created attachment 192382 [details] [review] [3.x] Fixed build of gnome-settings-daemon by depending on upower
Review of attachment 192382 [details] [review]: Looks right for 3.2. I don't think we want to touch 3.0, though.