Bug #69993 [NEW]: test for gmp.h needs to test w/o include

From: Date: Sat, 04 Jul 2015 01:23:42 +0000
Subject: Bug #69993 [NEW]: test for gmp.h needs to test w/o include
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-194114@lists.php.net to get a copy of this message
From:             mah at everybody dot org
Operating system: Debian
PHP version:      7.0.0alpha2
Package:          GNU MP related
Bug Type:         Bug
Bug description:test for gmp.h needs to test w/o include

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 bug report at https://bugs.php.net/bug.php?id=69993&edit=1
-- 
Try a snapshot (PHP 5.4):   https://bugs.php.net/fix.php?id=69993&r=trysnapshot54
Try a snapshot (PHP 5.5):   https://bugs.php.net/fix.php?id=69993&r=trysnapshot55
Try a snapshot (trunk):     https://bugs.php.net/fix.php?id=69993&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=69993&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=69993&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=69993&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=69993&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=69993&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=69993&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=69993&r=notwrong
Not enough info:            https://bugs.php.net/fix.php?id=69993&r=notenoughinfo
Submitted twice:            https://bugs.php.net/fix.php?id=69993&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=69993&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=69993&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=69993&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=69993&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=69993&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=69993&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=69993&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=69993&r=mysqlcfg



Thread (10 messages)

« previous php.bugs (#194114) next »