This is the fail message I get: Build complete. (It is safe to ignore warnings about tempnam and tmpnam). >>> Install turck-mmcache-2.4.6 into /var/tmp/portage/turck-mmcache-2.4.6/image/ category dev-php * No PHP ini files found for this extension !!! ERROR: dev-php/turck-mmcache-2.4.6 failed. !!! Function php-ext-base_buildinilist, Line 68, Exitcode 0 !!! No PHP ini files found for this extension Reproducible: Always Steps to Reproduce: 1. emerge php 5.0.2 2. emerge mod_php 5.0.2 3. emerge turck-mmcache-2.4.6 Actual Results: Got the error message above Expected Results: clean install I'm running an Athlon-XP machine. emerge info output: System uname: 2.6.8-gentoo-r6 i686 AMD Athlon(tm) XP 2100+ Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /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="-O3 -march=athlon-xp -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo/ http://gentoo.llarian.net/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="apache2 apm arts avi berkdb bitmap-fonts crypt cups encode f77 foomaticdb gd gif gpm imap imlib jpeg libg++ libwww mad maildir mikmod motif mpeg mysql ncurses nls oggvorbis oss pam pdflib perl php png posix postgres python quicktime readline sdl slang spell spl ssl svga tcpd tokenizer truetype usb vhosts x86 xml2 xmms xprint xv zlib"
Created attachment 43202 [details, diff] Patch to php-ext-base.eclass Dirty hack to fix the eclass so that Turck mmcache can install.
I did some checking since the same problem just happened to me. Turns out that the eclass is hardcoded for PHP4 and earlier, and won't work for PHP5 ini files. The patch will add PHP5 to the list. Usage: patch -p0 php-ext-base.eclass php5.diff Note: The eclass lives in '/usr/portage/eclass/'
Two months down the line, and this is still unfixed :(. Thanks MikeL, your patch did it for me.
*** Bug 77502 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of 64696 ***