#50990 [Opn]: gmp extension doesn't compile with gmp 5.0.1
| From: | pajoye@php.net | Date: | Thu, 18 Feb 2010 22:52:47 +0000 |
| Subject: | #50990 [Opn]: gmp extension doesn't compile with gmp 5.0.1 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-147835@lists.php.net to get a copy of this message | ||
ID: 50990
Updated by: pajoye@php.net
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:
@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.
Previous Comments:
------------------------------------------------------------------------
[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
------------------------------------------------------------------------
[2010-02-10 09:31:31] pajoye@php.net
I would suggest to go with MPIR instead. GMP 5.x breaks ABI badly and
is also not compatible with PHP, from a license point of view.
------------------------------------------------------------------------
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