#48786: php70 @7.0.0RC2: error: "AI_NUMERICSERV" undeclared (first use in this function) --------------------------------+--------------------------- Reporter: willem+macports@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: tiger leopard Port: php70 | --------------------------------+--------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => ryandesign@… * port: PHP70 => php70 Old description:
PHP 70 won't build on OSX Leopard (10.5) because it's missing a constant ``AI_NUMERICSERV``.
{{{ 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) }}}
A similar fix was applied here: https://trac.macports.org/ticket/41916
It would be nice to include a patch or send one upstream to make the improvements of PHP 7.0 available on older systems.
New description: PHP 70 won't build on OSX Leopard (10.5) because it's missing a constant ``AI_NUMERICSERV``. {{{ 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) }}} A similar fix was applied here: #41916 It would be nice to include a patch or send one upstream to make the improvements of PHP 7.0 available on older systems. -- Comment: Since this is not a MacPorts-specific problem, it needs to be [https://bugs.php.net reported to the developers of PHP]. I could do it for you, but I would just be acting as a middleman; it might be more efficient for you to report the problem to them, since you're the one experiencing it. -- Ticket URL: <https://trac.macports.org/ticket/48786#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X