I noticed a little flaw in one of the packages. I installed dev-php5/pecl-apc and it told me: * The apc.php file shipped with this release of PECL-APC was * installed into /usr/share/php5/apc/. After some investigation i notices that this wasn't true, i searched, and it was extracted here instead: >>> /usr/share/apc/ >>> /usr/share/apc/apc.php
Certainly not here... Make sure you don't have any stale eclasses from overlays anywhere.
I did have a overlay, but it was only containing some audio packages (xmms2). I commented the overlay dir, emerge syncronized, emerge dev-php5/pecl-apc again, and it placed it the same place. Is there some more information i can provide you with to spot the problem?
Please, apply the following patch to /usr/portage/eclass/depend.php.eclass and try again: <snip> --- depend.php.eclass.orig 2006-08-07 09:36:43.000000000 +0200 +++ depend.php.eclass 2006-08-22 10:52:24.000000000 +0200 @@ -50,6 +50,7 @@ PHPCGI="/usr/${libdir}/php4/bin/php-cgi" PHP_PKG="`best_version =dev-lang/php-4*`" PHPPREFIX="/usr/${libdir}/php4" + PHP_SHARED_CAT="php4" einfo einfo "Using ${PHP_PKG}" @@ -87,6 +88,7 @@ PHPCGI="/usr/${libdir}/php5/bin/php-cgi" PHP_PKG="`best_version =dev-lang/php-5*`" PHPPREFIX="/usr/${libdir}/php5" + PHP_SHARED_CAT="php5" einfo einfo "Using ${PHP_PKG}" </snip>
This is fixed in CVS now, please emerge --sync in a couple of hours to get the fix. The problem was the dev-php5/pecl-apc ebuild, it didn't use any need_php* function and thus didn't define $PHP_SHARED_CAT, resulting in the wrong placement of the file, this was now fixed. :) The dependency functions will soon need a little overhaul, but for now this works. Best regards, CHTEKK.