ruby bindings fail to build with ruby 1.8.7 because rb_alloc_func_t does not exist in this version of ruby. This happens due to commit 448a02373df95dafc0d4b3e4db0e77c96a09074d Olaf