Bug #69993 [Opn->Fbk]: test for gmp.h needs to test w/o include

From: Date: Sat, 04 Jul 2015 10:26:41 +0000
Subject: Bug #69993 [Opn->Fbk]: test for gmp.h needs to test w/o include
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-194120@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=69993&edit=1

 ID:                 69993
 Updated by:         kalle@php.net
 Reported by:        mah at everybody dot org
 Summary:            test for gmp.h needs to test w/o include
-Status:             Open
+Status:             Feedback
 Type:               Bug
 Package:            GNU MP related
 Operating System:   Debian
 PHP Version:        7.0.0alpha2
 Block user comment: N
 Private report:     N



Previous Comments:
------------------------------------------------------------------------
[2015-07-04 10:24:13] kalle@php.net

Hi, is this also the case for older versions, like 5.6?

------------------------------------------------------------------------
[2015-07-04 01:23:41] mah at everybody dot org

Description:
------------
The test for gmp.h only tests $i/include/gmp.h exists.  Instead it should test for that OR $i/gmp.h.

Failure to do so results in issues like this one: http://stackoverflow.com/questions/19894168/build-php5-3-8-on-ubuntu-get-error-configure-error-unable-to-locate-gmp-h

I was going to compile php7 and ran into the same problem.  Attached patch fixes this.



------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=69993&edit=1


Thread (10 messages)

« previous php.bugs (#194120) next »