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

Martin Sustrik sustrik at fastmq.com
Mon Feb 15 19:31:21 CET 2010


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):

//  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
    req.ai_flags = AI_PASSIVE | AI_NUMERICHOST | AI_NUMERICSERV;
#endif

Martin



More information about the zeromq-dev mailing list