Emerging xforms (while trying to emerge LyX) failed, because libtiff can not be found. Here are the last lines of teh output: + gcc -o ./libflimage.so.1.0~ -shared -Wl,-soname,libflimage.so.1 image.o image_bmp.o image_combine.o image_convolve.o image_crop.o image_disp.o image_fits.o image_genesis.o image_gif.o image_gzip.o image_io_filter.o image_jpeg.o image_jquant.o image_marker.o image_png.o image_pnm.o image_postscript.o image_proc.o image_replace.o image_rotate.o image_scale.o image_sgi.o image_text.o image_tiff.o image_type.o image_warp.o image_xbm.o image_xpm.o image_xwd.o postscript.o ps_core.o ps_draw.o ps_text.o rgb_db.o matrix.o -L/usr/X11R6/lib -lXext -lX11 -L/usr/local/lib -L../lib -lforms -ljpeg -ltiff -lc /usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -ltiff collect2: ld returned 1 exit status make[1]: *** [libflimage.so.1.0] Error 1 make[1]: Leaving directory `/var/tmp/portage/xforms-1.0/work/xforms-1.0-release/image' make: *** [all] Error 2 !!! ERROR: x11-libs/xforms-1.0 failed. !!! Function src_compile, Line 36, Exitcode 2 !!! (no error message) This is the output of emerge info:Portage 2.0.50-r8 (default-amd64-2004.0, gcc-3.3.3, glibc-2.3.4.20040605-r0, 2.6.7-gentoo-r5) ================================================================= System uname: 2.6.7-gentoo-r5 x86_64 4 Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-O2 -fomit-frame-pointer -pipe -s" CHOST="x86_64-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -fomit-frame-pointer -pipe -s" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distcc sandbox userpriv usersandbox" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo/ http://gentoo.tiscali.nl/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage" USE="X alsa amd64 apm avi berkdb crypt divx4linux dvd encode gdbm gif gpm gtk gtk2 imlib java jpeg libg++ libwww live mikmod motif mpeg multilib ncurses nls nogcj oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang spell ssl tcpd tetex truetype wmf xml2 xmms xv xvid zlib" Workaround: add "tiff" to the USE variable.
New ebuild: # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-libs/xforms/xforms-1.0.ebuild,v 1.7 2004/06/24 22:09:27 agriffis Exp $ S=${WORKDIR}/${P}-release DESCRIPTION="A graphical user interface toolkit for X" HOMEPAGE="http://world.std.com/~xforms/" SRC_URI="ftp://ncmir.ucsd.edu/pub/xforms/OpenSource/${P}-release.tgz" SLOT="0" LICENSE="GPL-2" KEYWORDS="x86 ppc sparc amd64" DEPEND="virtual/x11 media-libs/tiff" IUSE="" PROVIDE="virtual/xforms" src_unpack() { unpack $A cd ${WORKDIR}/${P}-release # use custom CFLAGS sed -i -e "s:CDEBUGFLAGS =:CDEBUGFLAGS = ${CFLAGS} #:" \ -e "s:CDEBUGFLAGS =:CDEBUGFLAGS = ${CFLAGS} #:" Imakefile } src_compile() { xmkmf -a sed -i -e s/'demos$'// Makefile # use custom CFLAGS sed -i -e "s:CDEBUGFLAGS =:CDEBUGFLAGS = ${CFLAGS} #:" \ -e "s:CDEBUGFLAGS =:CDEBUGFLAGS = ${CFLAGS} #:" Makefile make || die } src_install () { make DESTDIR=${D} install || die }
Upgrading to 1.0.90 also fixed the problem.