While trying to emerge openoffice-ximian, I get this: [...] checking for dmake... no checking which zlib to use... external checking for zlib.h... configure: error: zlib not found. install zlib But I have zlib installed, and zlib.h is inside /usr/include. Anything I can test? Reproducible: Always Steps to Reproduce: 1. 2. 3.
Please provide the output of "emerge info". Also you could try to remove zlib and remerge it, then try again to emerge openoffice-ximian and see if that helps. Most likely this is some old cruft lying around on your harddisk. btw: Which version of zlib do you have installed?
evanescence# emerge info Portage 2.0.51-r2 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.4.20041006-r0, 2.6.9-rc4-love1 i686) ================================================================= System uname: 2.6.9-rc4-love1 i686 AMD Athlon(tm) XP Gentoo Base System version 1.5.3 distcc 2.18 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -fomit-frame-pointer -march=athlon-xp -ftracer -pipe -fforce-addr -fomit-frame-pointer -falign-functions=4 -maccumulate-outgoing-args -fPIC -DPIC" CHOST="i686-pc-linux-gnu" COMPILER="" 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 -fvisibility-inlines-hidden -fomit-frame-pointer -march=athlon-xp -ftracer -pipe -fforce-addr -fomit-frame-pointer -falign-functions=4 -maccumulate-outgoing-args -fPIC -DPIC" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs candy ccache distlocks sandbox" GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage-bmg" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X aalib acpi alsa apache2 avi berkdb bitmap-fonts cdr crypt cups encode esd f77 ffmpeg flash foomaticdb gcj gdbm gif gphoto2 gpm gstreamer gtk gtk2 imlib java jpeg kde ldap libg++ libwww lirc mad mikmod mmx motif mpeg mysql nas ncurses nls nptl oggvorbis opengl oss pam pda pdflib perl png python qt quicktime readline samba sdl slang spell sse ssl svga tcltk tcpd tiff truetype x86 xinerama xml2 xmms xosd xprint xv xvid zlib video_cards_radeon" I have unmerged zlib and reemerged it. Then emerged openoffice-ximian newly, but no luck. Latest version installed: 1.2.1-r3
This problem is most probably due to the -fvisibility-inlines-hidden CXXFLAGS, which can not be recognized by gcc 3.3.x. I know because I wasted half a day and finally trace down this stupid little mistake from config.log :)
I still cannot believe this was the problem, seriously. I'll close the bug right now. Thanks a lot!!