Various configure problems resulting from several USE flags. for example, when "readline" flag is enabled: .... checking for readline in -lreadline... no configure: error: readline library not found !!! ERROR: dev-php/mod_php-5.0.2 failed. !!! Function econf, Line 362, Exitcode 1 !!! econf failed I have the latest version of the readline ebuild installed, so not sure what's going on. Then with the readline flag disabled: .... checking for XMLRPC-EPI support... yes checking libexpat dir for XMLRPC-EPI... no checking iconv dir for XMLRPC-EPI... no checking for iconv... no checking for libiconv... no configure: error: iconv not found, in order to build xmlrpc you need the iconv library !!! ERROR: dev-php/mod_php-5.0.2 failed. !!! Function econf, Line 362, Exitcode 1 !!! econf failed Reproducible: Always Steps to Reproduce: 1. emerge mod_php Portage 2.0.50-r11 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.2-r9, 2.6.8-gentoo-r7) ================================================================= System uname: 2.6.8-gentoo-r7 i686 AMD Athlon(tm) XP 2000+ Gentoo Base System version 1.4.3.13 distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" 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="-O3 -march=athlon-xp -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distcc sandbox" GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ http://adelie.polymtl.ca/ http://mirror.tucdemonic.org/gentoo/" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X acpi acpi4linux apache2 bitmap-fonts bzlib calendar crypt cups curl curlwrappers dba encode esd f77 gd gdbm gif gnome gpm gtk gtk2 imagemagick imlib java jpeg junit ldap libg++ libwww lzw-tiff mad mdb mikmod mime ming mmx motif mozilla moznocompose moznoirc moznomail mpeg msn mssql mysql ncurses odbc oggvorbis opengl pam pdflib perl php png postgres python qt quicktime readline samba sapdb sdl session simplexml slang soap spell spl ssl svg svga tcpd tidy tiff tokenizer truetype type1 usb vhosts vnc x86 xml2 xmlrpc xprint xsl xv zlib"
USE="-sapdb -odbc -readline" seems to have fixed the problem... I have a feeling the ebuild with these flags need some additional non-obvious dependencies.
post up your config.log from when mod_php fails to compile.
no response from user.