Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 53455 - xterm-1.91 missing dependency on Xaw3d
Summary: xterm-1.91 missing dependency on Xaw3d
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
: 53570 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-06-09 15:15 UTC by Paul Taylor
Modified: 2004-10-20 12:34 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Taylor 2004-06-09 15:15:59 UTC
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"
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2004-06-09 17:35:54 UTC
Seemant can you check this out please?
Comment 2 Sven 2004-06-09 18:16:13 UTC
i can confirm this, but i'm using X.Org-X11 on amd64.
Comment 3 Lee Trager 2004-06-09 18:37:49 UTC
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.
Comment 4 Seemant Kulleen (RETIRED) gentoo-dev 2004-06-09 18:38:25 UTC
Has any of you actually got "Xaw3d" in your USE string?
Comment 5 Seemant Kulleen (RETIRED) gentoo-dev 2004-06-09 18:56:38 UTC
ok, fixed the ebuild to obey the use/configure combination properly. Sorry about this -- seems to be a bug in xterm's configure script.
Comment 6 Seemant Kulleen (RETIRED) gentoo-dev 2004-06-09 18:59:14 UTC
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 :)
Comment 7 Mr. Bones. (RETIRED) gentoo-dev 2004-06-09 22:22:19 UTC
*** Bug 53480 has been marked as a duplicate of this bug. ***
Comment 8 Mr. Bones. (RETIRED) gentoo-dev 2004-06-10 13:04:49 UTC
*** Bug 53570 has been marked as a duplicate of this bug. ***
Comment 9 Thomas Dickey 2004-06-10 14:58:45 UTC
ok (the configure script change is relatively minor)
Comment 10 Eric Brown 2004-10-20 12:34:11 UTC
someone in #gentoo reproduced this bug on xterm 196, solution was USE=Xaw3d