Ive been trying to get aterm working since I rebuilt my install. The ebuild finishes merging successfully, but no aterm binary is actually installed, this actually goes back the the aterm binary failing to link properly. Perhaps it should die if there is an error in making, but anyway. This is the error (i will attache the entire build log next) gcc -Wl,-z,now -o aterm command.o graphics.o grkelot.o main.o menubar.o misc.o netdisp.o rmemset.o screen.o scrollbar2.o utmp.o xdefaults.o pixmap.o ximage_utils.o thai.o -L/usr/X11R6/lib -lSM -lICE -lXpm -lX11 screen.o(.text+0x59d1): In function `selection_paste': : undefined reference to `_XA_UTF8_STRING' screen.o(.text+0x59e5): In function `selection_paste': : undefined reference to `XmuInternAtom' screen.o(.text+0x60da): In function `selection_make': : undefined reference to `_XA_CLIPBOARD' screen.o(.text+0x60f0): In function `selection_make': : undefined reference to `XmuInternAtom' collect2: ld returned 1 exit status Aterm did work before I rebuilt, the only two things I can think of are CFLAGS="-march=athlon64" and USE="nptl" (toolchain this is why you are cc'd for nptl in glibc, is this likely?) emerge info: Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-nitro3 i686) ================================================================= System uname: 2.6.9-nitro3 i686 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.6.7 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Nov 12 2004, 15:49:30)] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.8.5-r2, 1.6.3, 1.9.3, 1.5, 1.7.9 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10 virtual/os-headers: 2.6.8.1-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon64 -fomit-frame-pointer -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon64 -fomit-frame-pointer -O2 -pipe" DISTDIR="/work/distfiles" FEATURES="autoconfig ccache cvs distlocks sandbox sfperms" GENTOO_MIRRORS="http://mirror.aarnet.edu.au/pub/gentoo http://open-systems.ufl.edu/mirrors/gentoo http://gentoo.seren.com/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/work/portage" PORTDIR_OVERLAY="/work/overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acpi alsa avi bitmap-fonts cdr crypt cups dga dvd encode evo f77 fam fbcon flac foomaticdb fortran gdbm gif gphoto2 gtk gtk2 imagemagick imlib java jpeg junit kde libg++ libwww mad mikmod motif mozilla mpeg ncurses nptl oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl spell ssl svga tcltk tcpd tiff truetype usb x86 xml xml2 xmms xv zlib"
Created attachment 45713 [details] Build process output This is the output of emerge x11-terms/aterm &> /tmp/aterm.log
Could you please try adding: sed -i -re 's#LIBS = (.*)#LIBS = \1 -Xmu#' ${S}/{,src}/Makefile just before emake in src_compile() in the ebuild to see if this changes anything for you?
Thanks, sed -i -re 's#^XLIB = (.*)#XLIB = \1 -lXmu#' src/Makefile works for me
Nice :) Changes commited to CVS.
Works here :) thanks