1) Add gmp to USE flags. 2) emerge mod_php a) watch emerge blow up with following error: /var/tmp/portage/mod_php-4.3.11/work/php-4.3.11/ext/gmp/gmp.c: In function `convert_to_gmp': /var/tmp/portage/mod_php-4.3.11/work/php-4.3.11/ext/gmp/gmp.c:254: error: `tsrm_ls' undeclared (first use in this function) /var/tmp/portage/mod_php-4.3.11/work/php-4.3.11/ext/gmp/gmp.c:254: error: (Each undeclared identifier is reported only once /var/tmp/portage/mod_php-4.3.11/work/php-4.3.11/ext/gmp/gmp.c:254: error: for each function it appears in.) make: *** [ext/gmp/gmp.lo] Error 1 According to: http://bugs.php.net/bug.php?id=32567 It's fixed in php CVS. Unfortunately, I don't have the time now or I'd post a diff with the cvs changes.
Created attachment 56068 [details, diff] gmp.c.patch Fixes: http://bugs.php.net/bug.php?id=32567
*** Bug 88864 has been marked as a duplicate of this bug. ***
Christian's patch solves the problem on all of my boxen with the problem
patch fix the prob - can we include this one plz mod_php-4.3.11 is stable and NOT working bug is 3 weeks old :(
The patch is now applied by the PHP 4.3.11 ebuilds.