Bug #70449 [NEW]: PHP won't compile on 10.4 and 10.5 because of missing constants
| From: | willem+php at dvelp dot nl | Date: | Mon, 07 Sep 2015 12:56:59 +0000 |
| Subject: | Bug #70449 [NEW]: PHP won't compile on 10.4 and 10.5 because of missing constants | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-195843@lists.php.net to get a copy of this message | ||
From: willem+php at dvelp dot nl
Operating system: OSX 10.5
PHP version: 7.0.0RC2
Package: Compile Failure
Bug Type: Bug
Bug description:PHP won't compile on 10.4 and 10.5 because of missing constants
Description:
------------
PHP 70 won't build on OSX Leopard (10.5) because it's missing a
constant
AI_NUMERICSERV.
/usr/include/netdb.h does not declare AI_NUMERICSERV, the same on
Leopard.
Snow Leopard has AI_NUMERICSERV defined as 0x00001000.
To reproduce: just compile de code on an older (< 10,6) OSX system which
will eventually yeild this error:
php70/work/php-7.0.0RC2/sapi/phpdbg/phpdbg_io.c: In function
"phpdbg_create_listenable_socket":
php70/work/php-7.0.0RC2/sapi/phpdbg/phpdbg_io.c:236: error:
"AI_NUMERICSERV" undeclared (first use in this function)
It would be nice to support older installations so they too can benefit
from the
improvements of PHP 7.0.
--
Edit bug report at https://bugs.php.net/bug.php?id=70449&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=70449&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=70449&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=70449&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=70449&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=70449&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=70449&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=70449&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=70449&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=70449&r=support
Expected behavior: https://bugs.php.net/fix.php?id=70449&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=70449&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=70449&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=70449&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=70449&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=70449&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=70449&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=70449&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=70449&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=70449&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=70449&r=mysqlcfg