Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 138541 - Emerge fails with "Cannot link to accessibility toolkit" for programs that depend on atk
Summary: Emerge fails with "Cannot link to accessibility toolkit" for programs that de...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-29 19:01 UTC by Nick
Modified: 2006-06-30 00:22 UTC (History)
0 users

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


Attachments
gtk+-2.8.19/config.log that emerge said to attach to bug report (log.txt,75.54 KB, text/plain)
2006-06-29 19:03 UTC, Nick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nick 2006-06-29 19:01:38 UTC
error from emerge: 
checking ATK flags... -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -latk-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0  
configure: error:
                *** Cannot link to Accessibility Toolkit. Accessibility Toolkit is required
                *** to build GTK+

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/gtk+-2.8.19/work/gtk+-2.8.19/config.log

!!! ERROR: x11-libs/gtk+-2.8.19 failed.
Call stack:
basename: too few arguments
Try `basename --help' for more information.
  , line :   Called dyn_compile
basename: too few arguments
Try `basename --help' for more information.
  , line :   Called src_compile
basename: too few arguments
Try `basename --help' for more information.
  , line :   Called econf
  , line :   Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.



This error occurs everytime I try to compile a program that depends on gtk+. I've tried re-emerging atk but that didn't fix it. This problem also affected launching of gtk apps, they would fail with a "cannot locate libatk-1.0.so.0" I found a workaround for launching the apps by copying a libatk-1.0.so.0.1114.0 and symlinking libatk-1.0.so.0 to that file. This enables me to run my gtk apps with problems but does not fix the compile errors. 

emerge --info:
Portage 2.1.1_pre1-r5 (default-linux/x86/2006.0, gcc-3.3.4, glibc-2.3.4.20040808-r0, 2.6.9-nitro4 i686)
=================================================================
System uname: 2.6.9-nitro4 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.5.3
dev-lang/python:     2.3.4
dev-lang/python:     2.3.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.8.5-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.6-r1
sys-devel/libtool:   1.5.2-r5
virtual/os-headers:  2.4.22
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe -ftracer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.2/share/config /usr/kde/3.3/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm arts avi berkdb bitmap-fonts cdr cli crypt cups dri dvd eds emboss encode esd foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imlib ipv6 isdnlog jpeg kde libg++ libwww mad mikmod motif mozilla mp3 mpeg ncurses nls nptl ogg opengl oss pam pcre pdflib perl png ppds pppd python qt qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev usb vorbis xml xml2 xmms xorg xv zlib elibc_glibc kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Nick 2006-06-29 19:03:27 UTC
Created attachment 90498 [details]
gtk+-2.8.19/config.log that emerge said to attach to bug report
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-06-30 00:22:25 UTC
Reopen after you have updated your system to current stable, fixed your install and it still fails. Your gcc/glibc is outdated, your libtool is outdated, you are using 2.4 headers w/ an unsupported flavour of 2.6 kernel, you are missing a bunch of automake versions, etc. etc. etc.