Upgrading to xterm-1.91 fails because it can't find the Xaw3d libraries; emerging Xaw3d first resolves the dependency. Reproducible: Always Steps to Reproduce: 1. emerge -u xterm Actual Results: [snip] checking for X11/Xaw3d/SimpleMenu.h... no checking for X11/Xaw3d/SimpleMenu.h in /usr/contrib/X11R6... no checking for X11/Xaw3d/SimpleMenu.h in /usr/contrib/X11R5... no checking for X11/Xaw3d/SimpleMenu.h in /usr/lib/X11R5... no checking for X11/Xaw3d/SimpleMenu.h in /usr/local... no configure: warning: Unable to successfully find Athena header files with test program checking for XawSimpleMenuAddGlobalActions in -lXaw3d -lXmu... no checking for XawSimpleMenuAddGlobalActions in -lXaw3d -lXpm -lXmu... no checking for XawSimpleMenuAddGlobalActions in -lXaw3d_s -lXmu_s... no checking for -lXaw3d -lXmu in /usr/contrib/X11R6... no checking for -lXaw3d -lXpm -lXmu in /usr/contrib/X11R6... no checking for -lXaw3d_s -lXmu_s in /usr/contrib/X11R6... no checking for -lXaw3d -lXmu in /usr/contrib/X11R5... no checking for -lXaw3d -lXpm -lXmu in /usr/contrib/X11R5... no checking for -lXaw3d_s -lXmu_s in /usr/contrib/X11R5... no checking for -lXaw3d -lXmu in /usr/lib/X11R5... no checking for -lXaw3d -lXpm -lXmu in /usr/lib/X11R5... no checking for -lXaw3d_s -lXmu_s in /usr/lib/X11R5... no checking for -lXaw3d -lXmu in /usr/local... no checking for -lXaw3d -lXpm -lXmu in /usr/local... no checking for -lXaw3d_s -lXmu_s in /usr/local... no configure: error: Unable to successfully link Athena library (-lXaw3d) with test program !!! ERROR: x11-terms/xterm-191 failed. !!! Function econf, Line 365, Exitcode 1 !!! econf failed Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.4.0, glibc-2.3.4.20040605-r0, 2.6.5-gentoo-r1) ================================================================= System uname: 2.6.5-gentoo-r1 i686 AMD Athlon(tm) XP 1800+ Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="3dnow X acpi alsa apache2 apm arts avi berkdb cdr crypt cups dvd encode fbcon foomaticdb freetype gdbm gif gimpprint gpm gps gtk gtk2 imagemagick imlib java jpeg kde libg++ libwww mad mikmod mmx motif mozilla mpeg ncurses nptl oggvorbis opengl pam pdflib perl png ppds python quicktime readline sdk sdl slang snmp spell sse ssl svga tcpd truetype usb x86 xml2 xv zlib"
Seemant can you check this out please?
i can confirm this, but i'm using X.Org-X11 on amd64.
I get this as well. I am on x.org with the nvidia drivers p-4 2.6.6 kernel. It says "Unable to successfully link Athena library (-lXaw3d) with test program" but the athena lib is not in portage. I did a google on it and found a package here http://www.ibiblio.org/pub/Linux/libs/X/!INDEX.short.html. Id try it out but I have to study for finals.
Has any of you actually got "Xaw3d" in your USE string?
ok, fixed the ebuild to obey the use/configure combination properly. Sorry about this -- seems to be a bug in xterm's configure script.
Thomas, seems like we have a bug in xterm's configure script: it doesn't seem to matter whether you do: configure --with-Xaw3d or configure --without-Xaw3d, it always assumes you want to link with Xaw3d. If you simply don't have Xaw3d installed and don't mention Xaw3d to the configure script, it behaves fine and doesn't want to link. I've adjusted the ebuild for xterm-191 to accommodate for this behaviour, but I think 192's configure script should be a little more attentive :) Thanks :)
*** Bug 53480 has been marked as a duplicate of this bug. ***
*** Bug 53570 has been marked as a duplicate of this bug. ***
ok (the configure script change is relatively minor)
someone in #gentoo reproduced this bug on xterm 196, solution was USE=Xaw3d