hi!
earlier someone asked how to get quickfix running with ruby 1.9
i managed to get it working with a bit of patching.
QuickfixRuby.cpp seems not to be fully updated with the RSTRING_LEN and
RSTRING_PTR changes. apply the patch at the bottom.
i dont know if this is already in trunk?
the more detailed hacklog to get it working:
http://log.koechlin.info/2008/10/14/installing-quickfix-with-ruby-19-on-os-x-154/
cheers
y
--- patch for QuickfixRuby.cpp
2145c2145
< #include "ruby/io.h"
---
> #include "rubyio.h"
2643c2643
< printf( "%s\n", RSTRING_PTR(message) );
---
> printf( "%s\n", RSTRING(message)->ptr );
2676c2676
< printf( "%s\n", RSTRING_PTR(message) );
---
> printf( "%s\n", RSTRING(message)->ptr );
2709c2709
< printf( "%s\n", RSTRING_PTR(message) );
---
> printf( "%s\n", RSTRING(message)->ptr );
2742c2742
< printf( "%s\n", RSTRING_PTR(message) );
---
> printf( "%s\n", RSTRING(message)->ptr );
2782c2782
< printf( "%s\n", RSTRING_PTR(message) );
---
> printf( "%s\n", RSTRING(message)->ptr );
2849c2849
< printf( "%s\n", RSTRING_PTR(message) );
---
> printf( "%s\n", RSTRING(message)->ptr );
2922c2922
< printf( "%s\n", RSTRING_PTR(message) );
---
> printf( "%s\n", RSTRING(message)->ptr );
|