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>
#endif

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

Reply via email to