[fxruby-users] install.rb:655:in `command': system("make") failed (RuntimeError) (GatoLinux)
davidm at astro.berkeley.edu
Tue Feb 17 14:25:19 EST 2009
On Feb 17, 2009, at 7:57 , GatoLinux wrote:
> I am using ruby 1.8.4 (2005-12-24).
> I took this code from the file ruby.h in Ruby's release: ruby-1.9.1-p0
It seems likely that the underlying structures/macros are not
compatible between 1.8.4 and 1.9.1. Here's what I added to my ruby.h
file to get fxruby building with Ruby 1.8.5...
#define RARRAY_LEN(a) (RARRAY(a)->len)
#define RARRAY_PTR(a) (RARRAY(a)->ptr)
#define RSTRING_LEN(s) (RSTRING(s)->len)
#define RSTRING_PTR(s) (RSTRING(s)->ptr)
Hope this helps,
More information about the fxruby-users