Bug #70449 [Asn->Csd]: PHP won't compile on 10.4 and 10.5 because of missing constants

From: Date: Mon, 07 Sep 2015 15:29:05 +0000
Subject: Bug #70449 [Asn->Csd]: PHP won't compile on 10.4 and 10.5 because of missing constants
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-195855@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=70449&edit=1 ID: 70449 Updated by: bwoebi@php.net Reported by: willem+php at dvelp dot nl Summary: PHP won't compile on 10.4 and 10.5 because of missing constants -Status: Assigned +Status: Closed Type: Bug Package: Compile Failure Operating System: OSX 10.5 PHP Version: 7.0.0RC2 Assigned To: bwoebi Block user comment: N Private report: N New Comment: Automatic comment on behalf of bobwei9@hotmail.com Revision: http://git.php.net/?p=php-src.git;a=commit;h=51272f4217b5961438cf89ac03dc3ab097db8af5 Log: Fixed bug #70449 (PHP won't compile on 10.4 and 10.5 because of missing constants) Previous Comments: ------------------------------------------------------------------------ [2015-09-07 12:56:57] willem+php at dvelp dot nl 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 this bug report at https://bugs.php.net/bug.php?id=70449&edit=1

« previous php.bugs (#195855) next »