Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 88795 - mod_php 4.3.11 fails to build with gmp enabled
Summary: mod_php 4.3.11 fails to build with gmp enabled
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: PHP Bugs
URL: http://bugs.php.net/bug.php?id=32567
Whiteboard:
Keywords:
: 88864 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-04-11 18:54 UTC by Andy Wang
Modified: 2005-05-06 02:10 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
gmp.c.patch (gmp.c.patch,925 bytes, patch)
2005-04-12 01:30 UTC, Christian Hartmann
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andy Wang 2005-04-11 18:54:24 UTC
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.
Comment 1 Christian Hartmann 2005-04-12 01:30:04 UTC
Created attachment 56068 [details, diff]
gmp.c.patch

Fixes:
http://bugs.php.net/bug.php?id=32567
Comment 2 Daniel Webert 2005-04-12 09:11:57 UTC
*** Bug 88864 has been marked as a duplicate of this bug. ***
Comment 3 Benjamin Smee (strerror) (RETIRED) gentoo-dev 2005-04-18 03:56:35 UTC
Christian's patch solves the problem on all of my boxen with the problem
Comment 4 Daniel Webert 2005-05-05 07:36:44 UTC
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 :(
Comment 5 Sebastian Bergmann (RETIRED) gentoo-dev 2005-05-06 02:10:56 UTC
The patch is now applied by the PHP 4.3.11 ebuilds.