Bug 50964 - alsa-patch-bay 1.0.0 fails to find gtkmm
Bug#: 50964 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: eradicator@gentoo.org Reported By: ai2097@users.sourceforge.net
Component: Applications
URL: 
Summary: alsa-patch-bay 1.0.0 fails to find gtkmm
Keywords:  
Status Whiteboard: 
Opened: 2004-05-13 11:49 0000
Description:   Opened: 2004-05-13 11:49 0000
alsa-patch-bay claims to need >=gtkmm-2.0, and when it is emerged, gtkmm-2.4 is
installed accordingly. However, when alsa-patch-bay starts to build, the
configure script fails:

###
checking for pkg-config... /usr/bin/pkg-config
checking for gtkmm-2.0 >= 2.0.0... Package gtkmm-2.0 was not found in the
pkg-config search path.
Perhaps you should add the directory containing `gtkmm-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtkmm-2.0' found
configure: error: either FLTK >= 1.1 or GTKmm >= 2.0.0 is needed

!!! ERROR: media-sound/alsa-patch-bay-1.0.0 failed.
!!! Function src_compile, Line 31, Exitcode 1
!!! ./configure failed
###

Reproducible: Always
Steps to Reproduce:
1. Start without gtkmm installed
2. emerge alsa-patch-bay #"=alsa-patch-bay-1.0.0"

Actual Results:  
The build failed during the configuration, as previously described.

Expected Results:  
The build should find the newer version of gtkmm, OR depend explicitly on
gtkmm-2.0. In either case, the build should complete successfully.

Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040420-r0,
2.6.5-gentoo)
=================================================================
System uname: 2.6.5-gentoo i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.11
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium3 -fomit-frame-pointer -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -fomit-frame-pointer -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/root/portage_overlay/"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acpi alsa apache2 avi berkdb bonobo crypt cscope cups curl dga doc
dvd encode esd fbcon flash foomaticdb gdbm gif gnome gpm gstreamer gtk gtk2
gtkhtml guile imlib java jikes jpeg libg++ libwww mad maildir mikmod mmx motif
mpeg ncurses nls offensive oggvorbis pam pcmcia pdflib perl png pnp python
quicktime readline scanner sdl slang slp spell sse ssl svga tcltk tcpd tetex
tiff truetype unicode usb wmf wxwindows x86 xml2 xmms xosd xv zlib"

------- Comment #1 From Anders Rune Jensen (RETIRED) 2004-05-28 04:03:52 0000 -------
gtkmm-2.4 is not backwards compatible with gtkmm-2.2 and 2.0. The following
change of one line in the ebuild should tell emerge to install an older version
of gtkmm:

DEPEND="!fltk? =dev-cpp/gtkmm-2.2*

------- Comment #2 From Jeremy Huddleston (RETIRED) 2004-06-14 23:50:42 0000 -------
fixed in portage. thanks.