I removed esound from my system. I recompiled control-center-2.19.90 from gnome-experimental without the esd flag. However, configure script fails. checking for X11/extensions/XKB.h... yes checking for LIBSLAB... yes checking for CAPPLET... yes checking for GNOMECC... yes checking for GNOME_SETTINGS_DAEMON... configure: error: Package requirements (gtk+-2.0 gconf-2.0 libgnomeui-2.0 esound gnome-desktop-2.0 libglade-2.0) were not met: No package 'esound' 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 GNOME_SETTINGS_DAEMON_CFLAGS and GNOME_SETTINGS_DAEMON_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. !!! ERROR in gnome-base/control-center-2.19.90: !!! In econf at line 1619 !!! econf failed The script is called with: ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-schemas-install --disable-update-mimedb --disable-scrollkeeper --enable-vfs-methods --enable-gstreamer=0.10 --disable-esd --enable-alsa --enable-hal --disable-aboutme --build=i686-pc-linux-gnu Reproducible: Always Steps to Reproduce:
Yes. Libgnome has esound in it's .pc file. You also need to re-emerge libgnome from the overlay.
(In reply to comment #1) > Yes. Libgnome has esound in it's .pc file. You also need to re-emerge > libgnome from the overlay. > Why are you talking about libgnome? $ paludis --query libgnome * gnome-base/libgnome gentoo: 2.14.1 2.16.0 2.18.0 {:0} installed: 2.19.1* {:0} gnome: 2.19.1 {:0} Homepage: http://www.gnome.org/ Description: Essential Gnome Libraries License: ( LGPL-2 ) Source origin: gnome-base/libgnome-2.19.1::gnome Installed time: Thu Aug 23 20:32:20 2007 Use flags: (-debug) (-doc) (-esd) $ pkg-config --libs libgnome-2.0 -pthread -lgnome-2 -lpopt -lbonobo-2 -lbonobo-activation -lgmodule-2.0 -ldl -lORBit-2 -lgthread-2.0 -lrt -lgobject-2.0 -lglib-2.0 No deps on esound here. It seems that control-center requires esound in order to build correctly. I have modified the configure script a bit in order to make it pass the tests. However, control-center still fails with this error: sound-properties-capplet.c:46:21: error: gst/gst.h: No such file or directory In file included from sound-properties-capplet.c:56: mixer-support.h:26:34: error: gst/interfaces/mixer.h: No such file or directory In file included from sound-properties-capplet.c:56: mixer-support.h:43: error: expected ')' before '*' token
Created attachment 129367 [details, diff] Patch against configure (dirty test) This is the patch of the dirty test I made (remove esound lib)
Because libgnome installs a .pc file, and pkg-config --lib libgnome will result in -lesound being added to linker lines, causing failure. libgnome in the overlay was broken. I fixed it, and now it has an esd use flag. Re-emerge libgnome without esd. Also, update your control-center in the overlay. It's fixed for -esd too. I did lots of overlay fixes without bumps.
(In reply to comment #4) > Because libgnome installs a .pc file, and pkg-config --lib libgnome will result > in -lesound being added to linker lines, causing failure. libgnome in the > overlay was broken. I fixed it, and now it has an esd use flag. Re-emerge > libgnome without esd. > > Also, update your control-center in the overlay. It's fixed for -esd too. I > did lots of overlay fixes without bumps. > Sorry but I write this again: $ pkg-config --libs libgnome-2.0 -pthread -lgnome-2 -lpopt -lbonobo-2 -lbonobo-activation -lgmodule-2.0 -ldl -lORBit-2 -lgthread-2.0 -lrt -lgobject-2.0 -lglib-2.0 Here is a kind of console logs showing what I do: # paludis --sync gnome Sync gnome Checked out revision 1598. Sync gnome completed # paludis --uninstall esound # paludis --install --preserve-world libgnome control-center Building target list... Building dependency list... These packages will be installed: * gnome-base/libgnome-2.19.1::gnome {:0} [R] -debug -doc -esd * gnome-base/control-center-2.19.90::gnome {:2} [R] alsa -debug -eds -esd hal Total: 2 packages (2 rebuilds) [Everything is fine until this error happens] ... checking for LIBSLAB... yes checking for CAPPLET... yes checking for GNOMECC... yes checking for GNOME_SETTINGS_DAEMON... configure: error: Package requirements (gtk+-2.0 gconf-2.0 libgnomeui-2.0 esound gnome-desktop-2.0 libglade-2.0) were not met: No package 'esound' 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 GNOME_SETTINGS_DAEMON_CFLAGS and GNOME_SETTINGS_DAEMON_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. !!! ERROR in gnome-base/control-center-2.19.90: !!! In econf at line 1619 !!! econf failed I'm sorry, I never used GNU tools myself but could you explain me how the above line can't fail when esound is not installed? This is from the configure script of control-center. ($PKG_CONFIG --exists --print-errors "gtk+-2.0 gconf-2.0 libgnomeui-2.0 esound gnome-desktop-2.0 libglade-2.0") 2>&5 It is referring to esound which is NOT installed. Thank you.
Hmm... I could swear I had re-installed control-center since I removed esd, but apparently I was mistaken. Fixed. Sync and try again.
Hi Daniel, I can confirm that this bug is fixed :) Thank you