qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Gabbard <gabb...@adobe.com>
Subject Building the ruby client on Mac OS X
Date Mon, 03 Aug 2009 13:13:32 GMT
FYI... I wanted to use the Ruby client library on Mac OS X (10.4) but had an issue building
the sasl Ruby extension included. The issue was the lack of malloc.h in the stndard include
paths on Mac OS X. But since malloc is included in stdlib, an easy warkaround was to change
the malloc.h include in ext/sasl/sasl.c to...

#if !defined(__APPLE__)
#include <malloc.h>

After doing so, the sasl library built and installed correctly and the Ruby sample and tests
ran fine, taking to a remote broker.

Rob Gabbard
Senior Computer Scientist
Adobe Systems Incorporated

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message