#50990 [Com]: gmp extension doesn't compile with gmp 5.0.1
| From: | susan dot smith dot dev at gmail dot com | Date: | Fri, 19 Feb 2010 08:26:59 +0000 |
| Subject: | #50990 [Com]: gmp extension doesn't compile with gmp 5.0.1 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-147845@lists.php.net to get a copy of this message | ||
ID: 50990
Comment by: susan dot smith dot dev at gmail dot com
Reported By: php-bugs-2010 at ryandesign dot com
Status: Open
Bug Type: GNU MP related
Operating System: Mac OS X 10.6.2
PHP Version: 5.3.2RC1
New Comment:
@ pajoye at php dot net
I should probably ignore your comment, simply...
Was I not polite? Why?
Did I say that someone choice are "madness"? Or I simply said that
different libraries give different support to different systems? Users
should be free to make their own choice, shouldn't they?
Some PHP users asked for a very small compatibility issue, and someone
here suggested them to change the library they are using... This is not
respect for users choices, is it?
I suggested a very simple change. With it, PHP will be compatible with
old GMP versions, with the last GMP version, with old MPIR versions and
with the last MPIR version. You may say that suggesting such a small
change is not polite, maybe... but it solved the problems to the users.
Is there someone that is using this ticket for propaganda? Instead of
using it for bug-tracking? Read the entire thread and guess who :-)
I suggest to close this discussion this way: verify if the suggested
change breaks anything, apply it, and close the ticket. Sorry if you
feel this last suggestion as not polite.
I'll not answer any more, the bug was solved.
Previous Comments:
------------------------------------------------------------------------
[2010-02-18 22:52:46] pajoye@php.net
@susan dot smith dot dev at gmail dot com
Please stay pollite.
MPIR has more maintainers, more open and active. Yes, GMP is still
under development, but that's about it. Now about lgpl v3, we are
certainly not on the same line.
------------------------------------------------------------------------
[2010-02-18 18:11:43] vikingjs at mac dot com
Thanks, Susan - that substitution (in gmp.c on line 1362 for those
following at home) got me over this hurdle as well.
------------------------------------------------------------------------
[2010-02-17 15:52:57] susan dot smith dot dev at gmail dot com
Don't be silly! MPIR gives better support for Windows, not for "modern
architecture", on POSIX systems GMP (http://gmplib.org/) is usually
better... and LGPL v3 is as compatible with the licence of PHP as LGPL
v2 is.
I solved replacing the outdated __GMP_BITS_PER_MP_LIMB defined constant
with GMP_LIMB_BITS. The latter is present in all previous versions, and
MPIR define it too.
------------------------------------------------------------------------
[2010-02-10 10:56:33] pajoye@php.net
ZF depends on the gmp php extension, which can be built against MPIR
instead of gmplib. See http://www.mpir.org/. It is a rock solid
gmp
compatible library with much better support for modern architecture and
optimizations, without the (l)gpl v3 license madness.
------------------------------------------------------------------------
[2010-02-10 10:23:47] juri dot saltbacka at gmail dot com
It is important because ZendFramework depends on GMP. At least on Mac
OS
X
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/50990
--
Edit this bug report at http://bugs.php.net/?id=50990&edit=1