[zeromq-dev] Build problems with trunk on OS X 10.5

Brian Granger ellisonbg at gmail.com
Mon Feb 15 19:34:40 CET 2010

On Mon, Feb 15, 2010 at 10:31 AM, Martin Sustrik <sustrik at fastmq.com> wrote:
> Brian Granger wrote:
>> Yep, this solves the problem and I can build the Python bindings
>> against trunk now.  Do you want to push this fix yourself?
> Brian, can you check one more thing? It seems that OSX supports
> AI_NUMERICHOST and AI_PASSIVE (and actually it supports AI_NUMBERICSERV from
> version 10.6 onwards):

I am still running 10.5 on all my machines, so I can't test this.
10.5 is still pretty common
so we definitely want logic for it.



> //  Restrict hostname/service to literals to avoid any DNS lookups or
> //  service-name irregularity due to indeterminate socktype.
> #if defined ZMQ_HAVE_OSX
>   req.ai_flags = AI_PASSIVE | AI_NUMERICHOST;
> #else
> #endif
> Martin

Brian E. Granger, Ph.D.
Assistant Professor of Physics
Cal Poly State University, San Luis Obispo
bgranger at calpoly.edu
ellisonbg at gmail.com

More information about the zeromq-dev mailing list