Opened 9 years ago

Last modified 9 years ago

#48786 closed defect

php70 @7.0.0RC2: error: "AI_NUMERICSERV" undeclared (first use in this function) — at Version 1

Reported by: willem+macports@… Owned by: ryandesign@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: tiger leopard Cc:
Port: php70

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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.

Change History (1)

comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: changed from macports-tickets@… to ryandesign@…
Port: php70 added; PHP70 removed
Summary: OSX 10.5 (Leopard) support for AI_NUMERICSERVphp70 @7.0.0RC2: error: "AI_NUMERICSERV" undeclared (first use in this function)

Since this is not a MacPorts-specific problem, it needs to be 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.

Note: See TracTickets for help on using tickets.