I'm trying to compile games-emulation/gens and it needs to link with 32bit gtk+. The configure process ends in the following error: ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --prefix=/usr/games --libdir=/usr/games/lib64 --datadir=/usr/share/games --sysconfdir=/etc/games --localstatedir=/var/games checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3 checking whether x86_64-pc-linux-gnu-gcc and cc understand -c and -o together... yes checking for library containing strerror... none required checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for pkg-config... /usr/bin/pkg-config checking for GTK+ - version >= 2.4.0... *** 'pkg-config --modversion gtk+-2.0' returned 2.20.1, but GTK+ (2.18.9) *** was found! If pkg-config was correct, then it is best *** to remove the old version of GTK+. You may also be able to fix the error *** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing *** /etc/ld.so.conf. Make sure you have run ldconfig if that is *** required on your system. *** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH *** to point to the correct configuration files no configure: error: *** GTK+ version 2.4.0 not found!
This looks like different versions between the on-system header files (/usr/include) which report the 2.20.1 version and the linked libraries /usr/lib32. Maybe FHS should introduce /usr/include{32,64} or we should get multilib started. We already had this on lipng update (bug 319205), if I'm right.
In bug 321991. We need updated emul- pkgs for GTK+-2.20 (and unrelated to this bug, but also OpenSSL 1.0.0a)
+*emul-linux-x86-gtklibs-20100915 (15 Sep 2010) + + 15 Sep 2010; Pacho Ramos <pacho@gentoo.org> + -emul-linux-x86-gtklibs-20100220-r2.ebuild, + -emul-linux-x86-gtklibs-20100409-r1.ebuild, + +emul-linux-x86-gtklibs-20100915.ebuild: + Version bump, remove old.